Add experimental method to turn-off async flush
When operating the MediaCodec in asynchronous mode, after a MediaCodec.flush(), we start MediaCodec in the callback thread, which might trigger errors in some platforms. This change adds an experimental flag to move the call to MediaCodec.start() back to the playback thread. PiperOrigin-RevId: 407801013
Showing
with
101 additions
and
52 deletions
Please
register
or
sign in
to comment