media/library
ibaker 623597addb De-duplicate DRM acquire & release events by EventDispatcher
When we add DRM pre-acquire support to SampleQueue, we'll dispatch
twice the number of acquire and release events. This is slightly
confusing, since there's the same number of
DrmSessionManager#acquireSession() calls.

We can mitigate this by only dispatching each acquire and release
event to at most one EventDispatcher.

This also changes the events fired when playing a stream with both audio
and video encrypted with the same keys (even without pre-acquisition).

Before: The EventDispatcher would see 2 aquires, 1 key load and 2
release events.

After: The EventDispatcher will see 1 acquire, 1 key load and 1 release.
PiperOrigin-RevId: 358804502
2021-02-23 12:29:43 +00:00
..
all Add Transformer "Getting started" page 2021-02-03 15:03:16 +00:00
common De-duplicate DRM acquire & release events by EventDispatcher 2021-02-23 12:29:43 +00:00
core De-duplicate DRM acquire & release events by EventDispatcher 2021-02-23 12:29:43 +00:00
dash Fix available end time calculation for multi-period DASH live streams 2021-02-12 16:39:56 +00:00
extractor Revert logic to decide whether meta atom is full 2021-02-12 19:55:47 +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 Move Spherical UI components to the UI module 2021-02-19 10:55:46 +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.