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

Frag parsing error when Audio Only Master Playlist includes media playlist twice #6783

Closed
5 tasks done
Benny739 opened this issue Oct 18, 2024 · 1 comment · Fixed by #6785
Closed
5 tasks done

Frag parsing error when Audio Only Master Playlist includes media playlist twice #6783

Benny739 opened this issue Oct 18, 2024 · 1 comment · Fixed by #6785

Comments

@Benny739
Copy link

What version of Hls.js are you using?

1.5.17

What browser (including version) are you using?

Chrome

What OS (including version) are you using?

MacOs

Test stream

https://vod-qa-hdd-01.b-cdn.net/3InDYWsdUyklwEfMCl9j/90516808-a56e-4bae-8b55-f56b0e069abc/hls.m3u8

Configuration

{}

Additional player setup steps

No response

Checklist

Steps to reproduce

  1. Play the master playlist file
  2. Audio playlist gets loaded twice
  3. Frag parsing error happens which leads to bufferStalled error in some cases

The problem seems to be that the audio playlist ist included twice. According to the hls spec this should be a valid configuration and not lead to the above problems.

For more info see #6742

Reproduction:
https://hlsjs.video-dev.org/demo/?src=https%3A%2F%2Fvod-qa-hdd-01.b-cdn.net%2F3InDYWsdUyklwEfMCl9j%2F90516808-a56e-4bae-8b55-f56b0e069abc%2Fhls.m3u8&demoConfig=eyJlbmFibGVTdHJlYW1pbmciOnRydWUsImF1dG9SZWNvdmVyRXJyb3IiOmZhbHNlLCJzdG9wT25TdGFsbCI6ZmFsc2UsImR1bXBmTVA0IjpmYWxzZSwibGV2ZWxDYXBwaW5nIjotMSwibGltaXRNZXRyaWNzIjotMX0=

Expected behaviour

  1. No frag parsing error

What actually happened?

Frag parsing error

Console output

Parsing error:Found no media in msn 0 of level "https://vod-qa-hdd-01.b-cdn.net/3InDYWsdUyklwEfMCl9j/90516808-a56e-4bae-8b55-f56b0e069abc/audio-de-mp4a.40.2.m3u8"

Chrome media internals output

No response

@Benny739 Benny739 added Bug Needs Triage If there is a suspected stream issue, apply this label to triage if it is something we should fix. labels Oct 18, 2024
@robwalch robwalch added Stream Issue and removed Needs Triage If there is a suspected stream issue, apply this label to triage if it is something we should fix. labels Oct 21, 2024
@robwalch robwalch added this to the 1.6.0 milestone Oct 22, 2024
@robwalch
Copy link
Collaborator

I'm not seeing a frag parse error in dev, but I do see both audio and stream controllers loading the same playlist and requesting the same segments because HLS.js does not expect to need to deduplicate URIs for variants and media options in the multivariant playlist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants