media/library
ibaker de359cd6fd Propagate DRM config when creating ad media sources
The `DrmConfiguration.sessionForClearTypes` property is often used
to ensure a secure decoder is used for clear ads played in encrypted
content. This is because some devices show black frames when switching
decoders.

Before this change the DRM config isn't propagated down when
constructing the ad media source, meaning
`DrmSessionManager.DRM_UNSUPPORTED` is always used, which will
cause playback to switch from secure to clear decoder when transitioning
to an ad break (ignoring the MediaItem `sessionForClearTypes` option.

Issue: #8568

#minor-release

PiperOrigin-RevId: 356951124
2021-02-12 16:39:38 +00:00
..
all Add Transformer "Getting started" page 2021-02-03 15:03:16 +00:00
common Move MediaFormatUtil into common 2021-02-12 16:39:28 +00:00
core Propagate DRM config when creating ad media sources 2021-02-12 16:39:38 +00:00
dash Add common prefix to loader thread names 2021-02-11 12:05:06 +00:00
extractor Fix parsing of Vorbis codec private 2021-01-26 15:59:41 +00:00
hls Suppress SwitchIntDef warning where it makes sense 2021-02-04 00:24:04 +00:00
smoothstreaming Add common prefix to loader thread names 2021-02-11 12:05:06 +00:00
transformer Move MediaFormatUtil into common 2021-02-12 16:39:28 +00:00
ui Remove deprecated DownloadNotificationUtil 2021-02-09 13:59:57 +00: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.