media/library
andrewlewis 9c36773602 Fix playback of postrolls with multiple ads
At the point of starting to play a postroll, source info refreshes for future
postroll ads in the same ad group would cause a seek that incorrectly identified
the media period to play as the content media period. Fix the logic in
getAdGroupIndexForPositionUs to address this.

Also handle empty postroll ad breaks by resetting the expected ad group index
when we send content complete.

Issue: #4710
Issue: #4681

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=210071054
2018-08-24 16:02:38 +01:00
..
all Migrate ExoPlayer Gradle build files. 2018-03-02 09:20:02 +00:00
core Fix playback of postrolls with multiple ads 2018-08-24 16:02:38 +01:00
dash Add response headers to LoadEventInfo. 2018-08-24 15:55:01 +01:00
hls Add support for variable substition in HLS 2018-08-24 16:01:08 +01:00
smoothstreaming Add response headers to LoadEventInfo. 2018-08-24 15:55:01 +01:00
ui Fix controller ui toggling when using SphericalSurfaceView 2018-08-24 15:56:28 +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.