Version
Media3 1.8.0
More version details
When we upgraded from media3 1.3.1 to 1,8.0 we noticed that in some cases the player requests several playlists for different video variants (almost) simultaneously. In 1.3.1 it happens that at the point of variant change the old and the new variant playlist are requested. However, in 1.8.0 we see cases of 3 video playlists requested at the same time. This often happens when the playback is experiencing network issues and by making more requests than required makes the network problem worse.
From our analysis of what might be causing the additional playlists requests the main suspect is the call to maybeActivateForPlayback() in
DefaultHlsPlaylistTracker,getPlaylistSnapshot() which was added in media3 1.4.0.
Devices that reproduce the issue
Proprietary Android device with API level 34.
Devices that do not reproduce the issue
No response
Reproducible in the demo app?
Not tested
Reproduction steps
An HLS playback with several video variants on a network which causes playlist HTTP transactions to fail with timeouts/
Expected result
Single video playlist requested at each moment of time.
Actual result
3 different video playlists requested in parallel.
Media
There is no specific media on which it happens,
It seems to happen on any live stream given mentioned network conditions.
Version
Media3 1.8.0
More version details
When we upgraded from media3 1.3.1 to 1,8.0 we noticed that in some cases the player requests several playlists for different video variants (almost) simultaneously. In 1.3.1 it happens that at the point of variant change the old and the new variant playlist are requested. However, in 1.8.0 we see cases of 3 video playlists requested at the same time. This often happens when the playback is experiencing network issues and by making more requests than required makes the network problem worse.
From our analysis of what might be causing the additional playlists requests the main suspect is the call to maybeActivateForPlayback() in
DefaultHlsPlaylistTracker,getPlaylistSnapshot() which was added in media3 1.4.0.
Devices that reproduce the issue
Proprietary Android device with API level 34.
Devices that do not reproduce the issue
No response
Reproducible in the demo app?
Not tested
Reproduction steps
An HLS playback with several video variants on a network which causes playlist HTTP transactions to fail with timeouts/
Expected result
Single video playlist requested at each moment of time.
Actual result
3 different video playlists requested in parallel.
Media
There is no specific media on which it happens,
It seems to happen on any live stream given mentioned network conditions.