media/library/core
andrewlewis c37f757854 Allow playback for ads buffered to end
`ImaAdsLoader` only loads ad media URLs once playback of the preceding ad (if
any) has started, and this behavior is likely to be similar for other ad loader
implementations due to limits on how long before an ad plays it is meant to be
loaded. This is problematic for very short ads followed by an ad because the ad
will load to the end but load control may not allow playback to start due to
the total buffered duration being low.

Fix this by allowing playback to start regardless of load control if we are
waiting for an ad media period to prepare.

An alternative fix would be to fake the ad progress in the `ImaAdsLoader` to
trigger loading the next ad, but this would only allow one ad to load ahead (so
the problem would remain for two short ads in a row followed by another ad).

Issue: #8492
PiperOrigin-RevId: 353600088
2021-01-25 15:36:39 +00:00
..
src Allow playback for ads buffered to end 2021-01-25 15:36:39 +00:00
build.gradle Switch to an 'api' dependency on Guava 2020-10-17 01:34:15 +01:00
proguard-rules.txt Add remaining proguard config tests. 2020-11-27 11:08:34 +00:00
README.md Use new exoplayer.dev domain everywhere. 2019-04-16 15:25:27 +01:00

ExoPlayer core library module

The core of the ExoPlayer library.

  • Javadoc: Note that this Javadoc is combined with that of other modules.