media/library/core/src/test
tonihei 7907f4e047 Make usage of live minDurationForQualityIncrease more consistent
We have two ways to choose the minDurationForQualityIncreaseMs value in
AdaptiveTrackSelection: use the configured value for non-live or when
enough buffered data is available, or use a fraction of the available
duration to allow switching when playing close to the live edge.

The decision point when to use which value isn't quite consistent because
we compare against availableDurationUs before making the adjustments. This
means there is range of values where no up-switching is possible despite
perfect buffering. Fix this by choosing the minimum of both values.

Issue: google/ExoPlayer#9784

#minor-release

PiperOrigin-RevId: 428474332
2022-02-17 11:41:01 +00:00
..
java/com/google/android/exoplayer2 Make usage of live minDurationForQualityIncrease more consistent 2022-02-17 11:41:01 +00:00
AndroidManifest.xml Use versioned manifest in all Robolectric tests. 2019-05-21 13:51:43 +01:00