media/library
andrewlewis 2546be51fe Remove some ad playback state change requirements
Ads can appear due to asynchronous ad tag requests completing after
earlier ads in a pod have loaded, so remove the requirement that the
ad count can't change. The MediaPeriodQueue should handling discarding
buffered content if an ad appears before already buffered content, so
I think this case is actually handled correctly by the core player
already.

Also remove the requirement that an ad URI can't change. This is a
defensive measure for now, but it's likely that a later fix in the IMA
SDK for an issue where loadAd is not called after preloading then
seeking before a preloaded ad plays will result in loadAd being called
more than once, and I think it's possible that the second call to
loadAd may have a different URI. Because the ad URI should only change
after an intermediate seek to another MediaPeriod, there shouldn't be
any problems with buffered data not getting discarded.

Issue: #7477
PiperOrigin-RevId: 316871371
2020-06-17 14:32:48 +01:00
..
all Use new exoplayer.dev domain everywhere. 2019-04-16 15:25:27 +01:00
common Update deprecation JavaDoc for ExoPlayer DataSpec 2020-06-17 14:31:59 +01:00
core Remove some ad playback state change requirements 2020-06-17 14:32:48 +01:00
dash Add getMediaItem() to MediaSource 2020-06-17 14:30:04 +01:00
extractor Remove support for MKV invisible flag 2020-06-17 14:31:27 +01:00
hls Create HlsMediaChunkExtractor 2020-06-17 14:31:10 +01:00
smoothstreaming Add getMediaItem() to MediaSource 2020-06-17 14:30:04 +01:00
ui Prevent shutter closing for within-window seeks to unprepared periods 2020-06-11 10:10:18 +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.