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

Audio codecs is not supported but it is still listed #8884

Open
vanminhquangtri opened this issue Oct 7, 2024 · 0 comments
Open

Audio codecs is not supported but it is still listed #8884

vanminhquangtri opened this issue Oct 7, 2024 · 0 comments
Labels
needs: triage This issue needs to be reviewed

Comments

@vanminhquangtri
Copy link

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

  1. Please access my sandbox on Chrome on Window
  2. Click on audio selection
  3. Choose AC3 or any other audio not AAC

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

@vanminhquangtri vanminhquangtri added the needs: triage This issue needs to be reviewed label Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs: triage This issue needs to be reviewed
Projects
None yet
Development

No branches or pull requests

1 participant