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
Playback failure when order of audio tracks within each group is inconsistent in manifest. #3729
Comments
Hi @Andrewtop, Please provide a complete sample of the parent manifest as text, including the #EXT-X-STREAM-INF entries so that I am clear on how the groups are associated with each variant. The screenshot sample only shows that the MEDIA entries are not ordered. |
Adds 'name' property to audio and subtitle track switching events Resolves #3729
Hi @robwalch
|
I've created a stream that reproduces the issue and will have a PR up shortly: https://playertest.longtailvideo.com/adaptive/elephants_dream_v4/media-group-order.m3u8 |
@robwalch, that was fast! Thanks! |
Thanks @Andrewtop, Can you confirm things are looking good with your test stream using this PR build? |
I've checked stream with the build https://deploy-preview-3731--hls-js-dev.netlify.app/demo/ . The stream starts to play for some time and then freez. I've played with configuration but still sometimes I'm getting I'm not sure if it is related to this issue or not. deploy-preview-3731--hls-js-dev.netlify.app-1617879683443.log |
What version of Hls.js are you using?
v.1.0.0
What browser and OS (including versions) are you using?
Chrome Version 89.0.4389.114 (Official Build) (x86_64)
Mac OS 10.15.6
Test stream:
-no possibility to provide;
Test stream should have multiple audio groups with different audio tracks. Order of the audio tracks in the group should be different for each group in order to reproduce.
Please check the manifest example:
Configuration:
The default one from demo page should be enough.
Checklist
Steps to reproduce
Inconsistent order of the languages inside the audio group in the manifest leads to playback failure in v1.0.0 when level auto switches. Same stream works fine in 0.14.17.
Different track order in audioGroup leads to
AUDIO_TRACK_LOAD_ERROR
inselectInitialTrack
whenswitchLevel
occurs.Expected behavior
Playback starts without issues as in v0.14.17.
Actual behavior
Multiple fatal
AUDIO_TRACK_LOAD_ERROR
are triggered; Playback stops.Console output
The text was updated successfully, but these errors were encountered: