media/library
andrewlewis 07cbfb65e5 Fix stuck ad playbacks with DRM-protected content
When ClippingMediaPeriod first tried to read a buffer, if its end
position was before the end of the stream and it was buffered to its end
position, it would sometimes erroneously signal end-of-stream for
protected content because the sample queue might be waiting for DRM keys
at this point.

Work around the issue temporarily by signaling this specific case back
to ClippingMediaPeriod via the DecoderInputBuffer.

There will likely be a cleaner fix as a result of adding support for
dynamic clip end points in the future, at which point this can be
reverted.

issue:#7188
PiperOrigin-RevId: 305081757
2020-04-07 13:49:54 +01:00
..
all Use new exoplayer.dev domain everywhere. 2019-04-16 15:25:27 +01:00
core Fix stuck ad playbacks with DRM-protected content 2020-04-07 13:49:54 +01:00
dash Merge pull request #7057 from Chimerapps:dash_assetidentifier 2020-03-30 14:32:35 +01:00
hls Merge pull request #7098 from matamegger:feature/webvtt_negative_media_timestamp 2020-03-30 18:27:14 +01:00
smoothstreaming Fix SmoothStreaming 2020-02-18 12:15:13 +00:00
ui Allow developers to specify CharSequence for Notification strings 2020-03-30 18:36:10 +01:00
README.md Tweak and add READMEs + remove refs to V1 2017-08-17 22:59:34 +01:00

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.