media/library/core/src/main
tonihei 577e19168d Only consider enabled tracks in ProgressiveMediaPeriod.bufferedPosition
ProgressiveMediaPeriod loads all available tracks into SampleStreams
(because it needs to read the data anyway and it allows easy activation
of tracks without reloading). However, the SampleStreams for disabled
tracks are not read and no one if waiting for them.

The buffered position is used for user-visible state (e.g. in the UI)
and to check how much data is already buffered to decide when to stop
buffering (using LoadControl). Both values benefit from only
using the actually enabled tracks to better reflect what is available
for playback at the moment.

Issue:Issue: google/ExoPlayer#10361
PiperOrigin-RevId: 458475038
2022-07-07 17:37:35 +00:00
..
java/com/google/android/exoplayer2 Only consider enabled tracks in ProgressiveMediaPeriod.bufferedPosition 2022-07-07 17:37:35 +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