mirror of
https://github.com/androidx/media.git
synced 2025-05-16 12:09:50 +08:00

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
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.