media/library
ibaker dbebd279c4 Avoid DefaultDrmSessionManager releasing too many session references
Before this fix, if DefaultDrmSessionManager.release() was called while
there was at least one 'external' session reference still active (i.e.
session.referenceCount > 1) then the manager will release it's reference
immediately but when the session's reference count subsequently drops to
1 (due to external references being released) the manager will schedule
a task to release its internal reference *again*.

This change fixes the problem by only scheduling the timed release if
the manager is unreleased. This ensures that the internal references
are only released once.

Issue: #9193

PiperOrigin-RevId: 385580741
2021-07-20 09:18:16 +01:00
..
all Include RTSP module in gradle project 2021-05-10 23:50:13 +01:00
common Avoid IncorrectContextUseViolation on Android 11 2021-07-20 09:18:16 +01:00
core Avoid DefaultDrmSessionManager releasing too many session references 2021-07-20 09:18:16 +01:00
dash Merge pull request #9023 from DolbyLaboratories:dev-v2-multicodecs 2021-07-16 16:12:58 +01:00
extractor Check for TS synchronization before parsing packet from random position 2021-07-20 09:18:16 +01:00
hls HLS: Fix issue where a live event doesn't transition to STATE_ENDED 2021-07-16 16:12:59 +01:00
rtsp Handle absolute URI in RtspMediaTrack. 2021-07-20 09:18:16 +01:00
smoothstreaming Re-format some javadoc 2021-04-21 18:46:00 +01:00
transformer Adds Format to MediaCodecAdapter.Configuration. 2021-04-21 09:48:46 +01:00
ui The sound, vibrate and ticker will only be played once 2021-07-16 16:12:59 +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.