Exclusively use AndroidEncoder#signalEndOfStream