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

#minor-release

PiperOrigin-RevId: 385580741
2021-07-20 08:54:04 +01:00
..
all Include RTSP module in gradle project 2021-05-10 23:41:50 +01:00
common Split some MediaMetadataTest cases into TextInformationFrameTest. 2021-07-20 08:52:38 +01:00
core Avoid DefaultDrmSessionManager releasing too many session references 2021-07-20 08:54:04 +01:00
dash Add RepresentationHolder.selectedBaseUrl and use it for new chunks 2021-07-16 11:24:21 +01:00
extractor Check for TS synchronization before parsing packet from random position 2021-07-16 11:22:55 +01:00
hls Make customization of fallback selection more flexible 2021-07-09 09:04:43 +01:00
rtsp Make network-based DataSource implementations use ErrorCode. 2021-07-14 12:19:49 +01:00
smoothstreaming Make customization of fallback selection more flexible 2021-07-09 09:04:43 +01:00
transformer Remove ExoPlaybackException factory method that doesn't take errorCode 2021-07-09 09:10:19 +01:00
ui Deprecate ControlDispatcher in the UI 2021-07-20 08:38:13 +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.