-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Description
What version of Hls.js are you using?
1.6.15
What browser (including version) are you using?
Safari
What OS (including version) are you using?
iOS 26.2 (iPhone)
Test stream
Demo test stream for example: Big Buck Bunny - adaptive qualities
Configuration
{
autoStartLoad: false
}Additional player setup steps
No response
Checklist
- The issue observed is not already reported by searching on Github under https://github.com/video-dev/hls.js/issues
- The issue occurs in the stable client (latest release) on https://hlsjs.video-dev.org/demo and not just on my page
- The issue occurs in the latest client (main branch) on https://hlsjs-dev.video-dev.org/demo and not just on my page
- The stream has correct Access-Control-Allow-Origin headers (CORS)
- There are no network errors such as 404s in the browser console when trying to play the stream
Steps to reproduce
- Open the latest official hls.js demo page.
In the hls.js configuration, set:
autoStartLoad: false
-
Scroll to the Playback section and click/touch the “Start Loading” button.
-
The video should play without any problems.
-
Now, let's close the Safari app and remove it from the background. I want Safari to be launched with no previous state in memory.
-
Relaunched Safari should open the latest official hls.js demo page.
-
Scroll to the Playback section and click/touch the “Start Loading” button.
-
Instead of loading media segments, playback fails with a fatal:
bufferAppendError
Additional observations
After the error occurs, reloading the page once makes playback work correctly.
However, if Safari is fully terminated (removed from app switcher / memory) and the demo page is opened again:
the issue reproduces consistently.
The problem appears only after a cold Safari start.
Expected behaviour
The video player should play the example video without any problems.
What actually happened?
The video player is frozen, and I see two errors in console output:
Buffer appending error
Buffer append error
Console output
I don't have anyChrome media internals output
Metadata
Metadata
Assignees
Labels
Type
Projects
Status