-
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
Clear Key/CDM SAMPLE-AES fMP4 through Widevine #2901
Comments
Hello @calmbryan! At this point, there isn't a clear path (pardon the pun) to use Clear Key with hls.js. We don't implement the So, if you wanted to implement this yourself, you would need to change the EMEController in hls.js to request key systems for The spec for implementation can be found here; https://www.w3.org/TR/encrypted-media/#clear-key Of course, if you were to implement this, would love a pull request with the implementation! Sorry, this likely wasn't the news you wanted to hear. |
Thanks @itsjamie! I will try to make it work in my project at first and then a PR is possible. |
The feature/v1.0.0 branch would be the best branch to work from for your PR. There is not a solidified config for DRM config changes proposed. I had an alternative approach for v1 that I proposed that has been scratched in favour of maintaining the CDM implementations inside hls.js EME controller. For ClearKey you should be able to add support to the EME core controller without many top level config changes. |
Thanks! I will take a look for the related conversation. I am thinking that an overall config proposal is helpful if we add different DRMs. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This issue has been automatically closed because it has not had recent activity. If this issue is still valid, please ping a maintainer and ask them to label it accordingly. |
What do you want to do with Hls.js?
I want to use Clear Key to play sample-aes
cbcs
encrypted video through Widevine. How can I use Clear Key to decrypt that through hls.js? Can you provide an example?I noticed that we can config a
widevineLicenseUrl
, but if we use Clear Key do I need to config that? Thanks in advance!The text was updated successfully, but these errors were encountered: