You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the page loads, the player defaults to playing audio1 while displaying a black screen. It successfully requests .ts files from video_stream.m3u8, but the video either doesn’t play at all or plays for a few seconds before the screen turns black. The audio always works without issues, and I can switch between audio1 and audio2 smoothly.
If I remove the audio tracks from the .m3u8 file, the video plays correctly without any interruptions. This suggests there might be a conflict between the audio tracks and the video playback.
My expectation is for the video stream to play consistently while allowing me to switch between audio tracks when needed. What could be causing this issue, and how can I ensure both video and audio function properly?
videojs 8.20.0. behaviour is same in chrome/firefox
I did few tests with HLS.js comparing it to Video.JS
In HLS.js it behaves correctly. Plays video fine and switching audio is fine. In Video.JS it plays the video for few seconds but then randomly falls to black screen.
Adding react components if someone wants to make a quick test to reproduce.
lastpeony
changed the title
Video stream does not play with multiple audio tracks
HLS Video stream does not play with multiple audio tracks
Dec 6, 2024
lastpeony
changed the title
HLS Video stream does not play with multiple audio tracks
HLS Video stream does not play with multiple audio streams with audio group
Dec 6, 2024
I am trying to play video stream with audio track selection options in videojs HLS
When the page loads, the player defaults to playing audio1 while displaying a black screen. It successfully requests .ts files from video_stream.m3u8, but the video either doesn’t play at all or plays for a few seconds before the screen turns black. The audio always works without issues, and I can switch between audio1 and audio2 smoothly.
If I remove the audio tracks from the .m3u8 file, the video plays correctly without any interruptions. This suggests there might be a conflict between the audio tracks and the video playback.
My expectation is for the video stream to play consistently while allowing me to switch between audio tracks when needed. What could be causing this issue, and how can I ensure both video and audio function properly?
videojs 8.20.0. behaviour is same in chrome/firefox
I did few tests with HLS.js comparing it to Video.JS
In HLS.js it behaves correctly. Plays video fine and switching audio is fine. In Video.JS it plays the video for few seconds but then randomly falls to black screen.
Adding react components if someone wants to make a quick test to reproduce.
HLS.js:
Video.JS. I know videojs handles audio selection but anyway
The text was updated successfully, but these errors were encountered: