Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bufferStalled Error on Vimeo HLS Video #5328

Closed
5 tasks done
pateljoel opened this issue Mar 22, 2023 · 4 comments · Fixed by #5332 or #5354
Closed
5 tasks done

bufferStalled Error on Vimeo HLS Video #5328

pateljoel opened this issue Mar 22, 2023 · 4 comments · Fixed by #5332 or #5354

Comments

@pateljoel
Copy link

What version of Hls.js are you using?

1.3.4

What browser (including version) are you using?

Version 111.0.5563.64 (Official Build) (x86_64)

What OS (including version) are you using?

Mac OS 13.2.1

Test stream

can provide privately on request.

Configuration

{
  "debug": true,
  "enableWorker": true,
  "lowLatencyMode": true,
  "backBufferLength": 90
}

Additional player setup steps

No response

Checklist

Steps to reproduce

  1. Use Chrome
  2. Use a default URL in hls-js-dev.netlify.app (can provide privately on request)

Expected behaviour

Stream is supposed to play on video players that use hls.js.

What actually happened?

The video loads partially and stops with a bufferStalled Error.

Console output

5.885 | Media element detached
5.887 | Loading <REDACTED>
5.888 | Loading manifest and attaching video element...
5.895 | Media element attached
6.114 | 5 quality levels found
6.115 | Manifest successfully loaded
6.116 | No of audio tracks found: 1
6.119 | Audio track switching...
6.385 | Audio track switched
<... 7 minutes later>
297.834 | Buffer stalled error

Chrome media internals output

No response

@pateljoel pateljoel added Bug Needs Triage If there is a suspected stream issue, apply this label to triage if it is something we should fix. labels Mar 22, 2023
@robwalch
Copy link
Collaborator

Hi @pateljoel,

Please provide complete console log output, and a theory as to why the stall is a player and not a network issue.

Why is the issue titled Vimeo HLS? Isn't Vimeo content meant to be played with Vimeo's player on their portal or customer sites?

@pateljoel
Copy link
Author

@robwalch The console output I shared is the entire output, we use Vimeo's direct HLS links to play HLS videos on our own apps, (think electron apps)

Screenshot 2023-03-23 at 01 17 44

Is there a way I can send you the link to debug this in private to demonstrate this issue?

Thanks

@robwalch
Copy link
Collaborator

It looks like an issue where the video bitrate is lower than the audio bitrate. So as the player tries to append as much audio as video, the audio appendBuffer throws SourceBuffer full. The problem is caused by how the HLS.js manages that error in this scenario.

robwalch added a commit that referenced this issue Mar 24, 2023
@robwalch robwalch added this to the 1.4.0 milestone Mar 24, 2023
@robwalch robwalch added Confirmed and removed Needs Triage If there is a suspected stream issue, apply this label to triage if it is something we should fix. labels Mar 24, 2023
robwalch added a commit that referenced this issue Mar 24, 2023
@robwalch robwalch reopened this Mar 28, 2023
@robwalch
Copy link
Collaborator

Issue still present in v1.4.0-beta.1, related to #5349.

robwalch added a commit that referenced this issue Mar 28, 2023
…n appending state and trying to reload on IDLE

Resolves #5328
Related to #5349 / Follow up to #5350
robwalch added a commit that referenced this issue Mar 29, 2023
…n appending state and trying to reload on IDLE (#5354)

Resolves #5328
Related to #5349 / Follow up to #5350
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants