media/library/common/src/main/java/com/google/android/exoplayer2
andrewlewis dc813eca41 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:38:33 +01:00
..
audio Move max encoded audio rates to format utils 2020-03-10 10:16:00 +00:00
decoder Fix stuck ad playbacks with DRM-protected content 2020-04-07 13:38:33 +01:00
drm Make DrmInitData.SchemeData.uuid public 2020-02-13 15:46:22 +00:00
metadata Remove ByteBufferBackingArray suppression from metadata decoders 2020-03-10 10:16:25 +00:00
upstream Clarify DataSpec.httpRequestHeaders documentation 2020-03-19 00:47:49 +00:00
util add clearTrackTypes and playClearContentWithoutKey to DrmConfiguration 2020-04-06 13:26:29 +01:00
video Fix typo 2020-03-10 10:15:52 +00:00
C.java Add WifiLock management to SimpleExoPlayer. 2020-02-27 17:16:29 +00:00
ExoPlayerLibraryInfo.java Bump version to 2.11.4 2020-03-30 19:21:09 +01:00
Format.java Format.Builder: Finish migration 2020-02-28 18:43:04 +00:00
package-info.java Split out extractor and common modules 2020-01-24 18:15:19 +00:00
ParserException.java Split out extractor and common modules 2020-01-24 18:15:19 +00:00