Skip to content

HLS demo stalls on first segment and doesn't continue playing on ChromeOS #7657

@APinsof-cainc

Description

@APinsof-cainc

What version of Hls.js are you using?

v1.6.14

What browser (including version) are you using?

Chrome 137

What OS (including version) are you using?

ChromeOS version: Version 137.0.7151.137 (Official Build) (64-bit)

Test stream

No response

Configuration

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

Additional player setup steps

We hit same issues on ChromeOS v132. Interestingly, when testing on ChromeOS v141 there were no issues. Also, when rolling back to older HLS version there are no issues (0.14.17). So some conflict with newer HLS ABR logic and MediaSource API in these older versions of ChromeOS.

I explored bypassing issue by setting startLevel=0 and disabling autoLevel for these specific versions but same issue occurs.

We would like to use latest HLS but this is a blocking issue for us so please fix! Thanks.

Checklist

Steps to reproduce

  1. Play video on sandbox demo.

Expected behaviour

Should continue playing until video completes.

What actually happened?

Stalls at 13 seconds and doesn't continue playing
Image

Console output

Warning -> gap-controller.ts:520 [warn] > [gap-controller]: Playback stalling at @13.025343 due to low buffer ({"len":76.97519,"start":0.023222,"end":90.000533,"buffered":[{"start":0.023222,"end":90.000533}],"bufferedIndex":0})
Error -> main.js:745 Error event: {type: 'mediaError', details: 'bufferStalledError', fatal: false, error: Error: Playback stalling at @13.025343 due to low buffer ({"len":76.97519,"start":0.023222,"end":90…, buffer: 76.97519, …}

Chrome media internals output

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugNeeds TriageIf there is a suspected stream issue, apply this label to triage if it is something we should fix.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions