media/libraries/exoplayer/src/main
tianyifeng d952a06214 Fix a bug in retaining streams when preload a PreloadMediaPeriod again
The `PreloadMediaPeriod.selectTracksForPreloading` can be called for multiple times at the preloading stage (before the period is being played). For example, when the period resumes preloading. This change fix the assertion failure in `ProgressiveMediaPeriod.selectTracks` caused by the wrong implementation of `PreloadMediaPeriod.selectTracksForPreloading` when it is trying to retain the previously preloaded streams.

Also the `TrackSelectorResult` parameter is changed to a list of `ExoTrackSelection`. We should compare the selections only rather than considering the `RendererConfiguration` in the `TrackSelectorResult` to decide whether to retain the streams, as for preloading case the renderers haven't consumed the samples yet.

PiperOrigin-RevId: 609126868
2024-02-21 14:41:33 -08:00
..
java/androidx/media3/exoplayer Fix a bug in retaining streams when preload a PreloadMediaPeriod again 2024-02-21 14:41:33 -08:00
res Update translations 2023-03-01 17:22:55 +00:00
AndroidManifest.xml Update to androidx.media3 2021-10-27 09:12:46 +01:00