bufferStalledError on iOS 18.0.1 when looping video #6890
Labels
Browser issue
If there is an underlying issue with the browser that hls.js is running on, this tag should be used.
browser: Safari
Bug
Needs Triage
If there is a suspected stream issue, apply this label to triage if it is something we should fix.
What version of Hls.js are you using?
1.5.15
What browser (including version) are you using?
Mobile Safari 18.0.1
What OS (including version) are you using?
iOS 18.0.1
Test stream
https://hlsjs.video-dev.org/demo/?src=https%3A%2F%2Fvz-dfb04804-1a1.b-cdn.net%2Fe769e9cc-2c93-4179-911f-64d0b88fc0ba%2Fplaylist.m3u8&demoConfig=eyJlbmFibGVTdHJlYW1pbmciOnRydWUsImF1dG9SZWNvdmVyRXJyb3IiOnRydWUsInN0b3BPblN0YWxsIjpmYWxzZSwiZHVtcGZNUDQiOmZhbHNlLCJsZXZlbENhcHBpbmciOi0xLCJsaW1pdE1ldHJpY3MiOi0xfQ==
Configuration
Additional player setup steps
Player needs to have loop enabled
Checklist
Steps to reproduce
In the demo page I managed to get this done by adding the "loop" attribute to the video element manually by connecting my iPhone to a Mac. I didn't see any toggle or option in the page for it.
Alternatively you can reproduce it by playing the video here: https://iframe.mediadelivery.net/embed/183266/e769e9cc-2c93-4179-911f-64d0b88fc0ba?autoplay=false&loop=true&muted=true&preload=false
Expected behaviour
Video should loop from the start
What actually happened?
Video stops on the last frame and there is bufferStalledError in the console. Code is also stuck on some loop based on console logs.
This happens almost every time on the first loop, but sometimes it might take two or more loops.
In the canary version (https://hlsjs-dev.video-dev.org/demo) this happens much more rarely for some reason, but I observed it happen.
Console output
Chrome media internals output
No response
The text was updated successfully, but these errors were encountered: