VTT captions not loading/displaying immediately on iPhone, despite being within a visible timeframe #6918
Labels
Bug
Confirmed
Bug report confirmed or reproduced.
Suggested-Workaround
Works in latest
The issue reported has already been fixed and works as expected in the latest release
Milestone
What do you want to do with Hls.js?
Opening as a question as I'm not sure if this is a bug or simply something I can configure.
Reproducible on this demo page: https://hlsjs.video-dev.org/demo/?src=https%3A%2F%2Fmtoczko.github.io%2Fhls-test-streams%2Ftest-group%2Fplaylist.m3u8&demoConfig=eyJlbmFibGVTdHJlYW1pbmciOnRydWUsImF1dG9SZWNvdmVyRXJyb3IiOnRydWUsInN0b3BPblN0YWxsIjpmYWxzZSwiZHVtcGZNUDQiOmZhbHNlLCJsZXZlbENhcHBpbmciOi0xLCJsaW1pdE1ldHJpY3MiOi0xfQ==
With the above stream, it has a VTT playlist configured to continuously show a caption of '1080p' for a couple of seconds every second. On Chrome, if I enable captions, it will immediately request the playlist.m3u8 file, the next few .vtt files and then start showing captions.
On iOS, it loads the playlist.m3u8 file however doesn't request the .vtt files until after the next .ts file is requested, which could be a few seconds. Therefore the captions don't show until after a few seconds. Ideally it would mirror the behaviour on Chrome.
Is this something I can configure? A browser restraint? A bug?
Thanks!
What have you tried so far?
No response
The text was updated successfully, but these errors were encountered: