media/library
ibaker d48d59bda1 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

PiperOrigin-RevId: 356951124
2021-02-12 17:19:03 +00:00
..
all Add Transformer "Getting started" page 2021-02-04 00:31:46 +00:00
common Handle loading the same ad more than once 2021-02-12 17:17:40 +00:00
core Propagate DRM config when creating ad media sources 2021-02-12 17:19:03 +00:00
dash Replace non-inclusively named constant 2021-01-25 17:38:26 +00:00
extractor Fix parsing of Vorbis codec private 2021-02-01 22:54:38 +00:00
hls Suppress SwitchIntDef warning where it makes sense 2021-02-04 00:32:03 +00:00
smoothstreaming Split mutations method out of TrackSelection 2021-01-25 15:37:38 +00:00
transformer Transformer: remove SpeedProvider interface from Javadoc 2021-02-12 17:15:58 +00:00
ui Move Player.getTrackSelector to ExoPlayer 2021-01-22 16:22:09 +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.