media/library
ibaker 99d3773eb9 Throw from (pre)acquireSession if the DrmSessionManager isn't prepared
Currently acquireSession() fails with an NPE from
checkNotNull(exoMediaDrm). A follow-up change will result in exoMediaDrm
sometimes being non-null while prepareCount==0 (and in this case we
still want acquireSession() to fail).

preacquireSession() doesn't currently fail in a way the caller can
observe - the same NPE is thrown, but asynchronously and it doesn't
propagate out of the background thread. Throwing directly seems
preferable since it's a clear bug to be trying to preacquire sessions
from an unprepared/released manager.

PiperOrigin-RevId: 375906450
2021-06-06 23:34:32 +01:00
..
all Include RTSP module in gradle project 2021-05-10 23:50:13 +01:00
common Add year to MediaMetadata. 2021-06-06 23:34:25 +01:00
core Throw from (pre)acquireSession if the DrmSessionManager isn't prepared 2021-06-06 23:34:32 +01:00
dash Merge pull request #8894 from cdongieux:fix/issue-8847 2021-05-12 13:01:18 +01:00
extractor Merge pull request #8860 from KeiMurayamaS:dev-v2-add-mpegh-parser 2021-06-06 23:15:12 +01:00
hls Fix issue where getFirstSampleIndex was called on spliced in chunks. 2021-06-06 23:30:59 +01:00
rtsp Define the default RTSP character set. 2021-06-06 23:29:53 +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 Merge pull request #8943 from dlafayet:embeddedstyle2 2021-06-06 23:34:17 +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.