Chunks are not getting retried when coming from offline to online with a fixed quality
Description
When we select a quality other than auto, going offline and coming back online, the chunks are not getting retried. But, they are getting retried if I change the quality level. While in auto mode, the retries are happening as expected.
Sources
Please check out my codesandbox link
Steps to reproduce
- Select a specific quality level
- Go offline using Chrome Dev tools
- Let the video finish its loaded part or seek the video to a duration that is not loaded yet
- Go online
- Observe the network tab to find no chunks are getting downloaded
Results
Expected
When the player comes from offline to online, the network change should be detected and the failed chunks should be retried.
Actual
The chunks are not getting retried and the video is continuously in a loading state
videojs-http-streaming version
We are not explicitly using this package as we are getting this with the latest video-js by default
videojs version
7.13.3
Browsers
Chrome 92
Platforms
Linux
Other Plugins
- videojs-contrib-quality-levels: "2.0.9",
- videojs-http-source-selector: "1.1.6"
Can you try enabling experimentalBufferBasedABR and seeing whether it makes things work?
@gkatsev It's happening even when I enable experimentalBufferBasedABR. I have added it in the code sandbox example too. Please check that out.
@gkatsev I tried to set the recently merged maxRetriesPlaylist to a number and in this case, the chunks are not getting retried even in auto mode. They are getting called when I tried to seek the video. But surprisingly, the downloaded chunks are not getting contributed to the loaded segments in the video. Hence, the video isn't getting played after the loaded segments get completed until I change the rendition manually.
(or)
If there is a way to trigger them manually, we are happy to adapt to it for now.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I can also reproduce the issue too with a fixed quality, even with the experimentalBufferBasedABR to true. It works in auto mode, though.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Bump still relevant