-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Selecting initial audio track fails on some manifests #5430
Comments
Hi @agajassi and @dsparacio, Thanks for the issue and bug report. Can you please share more details about the streams that reproduce this issue. I am not able to reproduce it using the Elephants Dream stream in the demo player. I understand the problem, but this seems to only be an issue when changing variants ( |
Was able to repro using "Group-id: subtitle and audio": https://mtoczko.github.io/hls-test-streams/test-group/playlist.m3u8. |
What version of Hls.js are you using?
v1.4.0
What browser (including version) are you using?
Chrome
What OS (including version) are you using?
MacOS Big Sur
Test stream
No response
Configuration
Additional player setup steps
If STABLE-RENDITION-ID attribute of audio tracks is
undefined
thenselectInitialTrack()
fails to select a specified audio track. This appears to be a regression. Possibly a side effect of content steering feature work that went in to v1.4.0.In version 1.3.5 this issue is not reproducible. Only in v1.4.0.
Maybe we can add a guard for
undefined
in the second if statement offindTrackId()
function in the audio-track-controller?Checklist
Steps to reproduce
Expected behaviour
Audio track should switch to the specified track.
What actually happened?
Audio track does not switch.
Console output
The text was updated successfully, but these errors were encountered: