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
My stream have 4 audio with different codecs. AAC, AC-3, E-AC-3. Videos works fine player.audioTracks() to detect list all codecs and show all audio option for switch. But some of these codec are not supported in Chrome, for example, AC3, E-AC3.
This lead to problem that when user choose these un-supported codecs, player is paused until user selected the supported codecs.
I think there're 2 solutions:
1/ Please only return the list of audio with codecs is supported by client browser when we call function player.audioTracks()
2/ Return all audio, but have to have some field to indicate the codec. Before play, I will filter only the supported codecs.
Description
My stream have 4 audio with different codecs. AAC, AC-3, E-AC-3. Videos works fine player.audioTracks() to detect list all codecs and show all audio option for switch. But some of these codec are not supported in Chrome, for example, AC3, E-AC3.
This lead to problem that when user choose these un-supported codecs, player is paused until user selected the supported codecs.
I think there're 2 solutions:
1/ Please only return the list of audio with codecs is supported by client browser when we call function player.audioTracks()
2/ Return all audio, but have to have some field to indicate the codec. Before play, I will filter only the supported codecs.
Reduced test case
https://codesandbox.io/p/sandbox/videojs-player-3cvkd4
Steps to reproduce
Errors
Player is paused because audio is not supported
What version of Video.js are you using?
8.17.4
Video.js plugins used.
videojs-http-streaming
What browser(s) including version(s) does this occur with?
Chrome 129
What OS(es) and version(s) does this occur with?
Window 11 Pro
The text was updated successfully, but these errors were encountered: