mirror of
https://github.com/samsonjs/media.git
synced 2026-03-26 09:35:47 +00:00
The AsynchronousMediaCodecAdapter's queuing thread stores any exceptions
raised by MediaCodec and re-throws them on the next call to
queueInputBuffer()/queueSecureInputBuffer(). However, if MediaCodec
raises and error while queueing, it goes into a failed state and does
not announce available input buffers. If there is no input available
input buffer, the MediaCodecRenderer will never call
queueInputBuffer()/queueSecureInputBuffer(), hence playback is stalled.
This change surfaces the queueing error through the adapter's dequeueing
methods.
PiperOrigin-RevId: 508637346
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| all | ||
| common | ||
| core | ||
| dash | ||
| database | ||
| datasource | ||
| decoder | ||
| effect | ||
| extractor | ||
| hls | ||
| rtsp | ||
| smoothstreaming | ||
| transformer | ||
| ui | ||
| README.md | ||
ExoPlayer library
The ExoPlayer library is split into multiple modules. See ExoPlayer's top level README for more information about the available library modules and how to use them.