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

Enabling 4K playback with HEVC + Widevine based on Chrome version #4708

Open
testeur-990 opened this issue Mar 3, 2025 · 1 comment
Open

Comments

@testeur-990
Copy link

testeur-990 commented Mar 3, 2025

Hello ,
We would like to enable 4K playback with HEVC + Widevine on browsers, but only when it is supported, based on the Chrome version.

After checking the Dash.js source code, I noticed that the player filters out tracks when the codec is not supported. Given this behavior, I would like to clarify:

  • Does Dash.js already handle this case, especially considering that HEVC might not be supported in clear but could be supported when combined with Widevine?
    If not, what would be the best way to implement this logic?

Thank you in advance !

@dsilhavy
Copy link
Collaborator

dsilhavy commented Mar 4, 2025

Hello , We would like to enable 4K playback with HEVC + Widevine on browsers, but only when it is supported, based on the Chrome version.

After checking the Dash.js source code, I noticed that the player filters out tracks when the codec is not supported. Given this behavior, I would like to clarify:

  • Does Dash.js already handle this case, especially considering that HEVC might not be supported in clear but could be supported when combined with Widevine?
    If not, what would be the best way to implement this logic?

Thank you in advance !

With v5 we use the Media Capabilities API to check codec/DRM support. See also

navigator.mediaCapabilities.decodingInfo(configuration)

If the device supports the Media Capabilities API dash.js checks for HEVC + Widevine if required. Otherwise we can not verify it prior to playback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants