media/library/core/src/main
bachinger e2cf266b1c Set the next live ad in ad group to avoid rebuffering
To avoid the `MediaPeriodQueue`to discard the reading period, we can set the next ad of an ad group early and then (possibly) only change it's duration once we receive the actual duration. This way we avoid a rebuffering as a result of the reading period being discarded.

The change also takes care to properly set ad break and their durations when we join the live stream at the moment when an ad is playing.

PiperOrigin-RevId: 423163467
2022-01-25 19:17:42 +00:00
..
java/com/google/android/exoplayer2 Set the next live ad in ad group to avoid rebuffering 2022-01-25 19:17:42 +00:00
javadoc/com/google/android/exoplayer2/doc-files Update Timeline Javadoc to include brief mention of ad groups 2017-07-21 11:14:38 +01:00
res Move translated strings for download notification to lib-exoplayer 2021-10-20 13:39:38 +01:00
AndroidManifest.xml Add empty sdk-version node to all AndroidManifest.xml files 2021-09-21 14:17:33 +01:00