-
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
Play Opus audio #4527
Comments
Note: Firefox now supports both "opus" and "Opus" Here's the open issue for chromium. In the meantime, wouldn't it be better to check for both "opus" and "Opus" when checking for support? Removing the spec accurate codec ID entirely is not a good idea. Another thing to note is that bento4 outputs "Opus" as the codec. |
Thanks @BlakeB415, Added back "Opus" to the list of audio codecs so that HLS.js recognizes it as an audio codec: b8d8e09 Browsers will still need to fix case sensitivity issues with |
Is your feature request related to a problem? Please describe.
I want to play a video (fMP4 paylist) which has audio track encoded with Opus codec.
I need to specify that in CODECS parameter, but there is no way to make it work:
opus
is rejected by hls.js becausesampleEntryCodesISO
has keyOpus
but notopus
Opus
is rejected by Chrome and Firefox because these browsers violate specsLowercase
opus
works with some players (bitmovin, castr.io) whileOpus
does not.Describe the solution you'd like
It seems to be less evil to accept lowercase
opus
codec as de-facto standard.Additional context
Sample playlists + segments https://gist.github.com/stolen/c7f9ced139fb38b5759ff3a73d7a6717
PR with proposed solution #4526
The text was updated successfully, but these errors were encountered: