media/library
andrewlewis b82178ecb4 Make ad state immutable and store state of each ad
Before this change, the ad playback state stored the number of played ads in
each ad group. There was no way to represent that an ad had failed to load (and
it wouldn't be possible just to increment the played ad count to signal a load
error because there might be an unplayed ad before the ad that failed to load).

Represent the state of each ad (unavailable, available, skipped, played, error)
in each ad group. In a later change the player will use this information to
update its loaded MediaPeriods in response to future ads failing to load.

Also make the AdPlaybackState immutable and remove copying/duplication of its
fields in the ad timeline and period.

Issue: #3584

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=183655308
2018-02-01 14:57:45 +00:00
..
all Tweak and add READMEs + remove refs to V1 2017-08-17 22:59:34 +01:00
core Make ad state immutable and store state of each ad 2018-02-01 14:57:45 +00:00
dash Use long segment indices for DASH 2018-02-01 14:34:41 +00:00
hls Fix FilteringHlsPlaylistParser 2018-02-01 14:42:54 +00:00
smoothstreaming Make SsMediaSource reusable. 2018-02-01 14:26:54 +00:00
ui Add descriptions for strings. 2018-02-01 14:56:18 +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.