hls.js
hls.js copied to clipboard
How to implement ClearKey on Hls.js
What do you want to do with Hls.js?
Hello, I want to implement ClearKey in hls.js, but I don't know how to implement it, I have implemented ClearKey in this way in shaka packager:
player.configure({
drm: {
clearKeys: {
'abba271e8bcf552bbd2e86a434a9a5d9': '69eaa802a6763af979e8d1940fb88392'
}
}
});
Can anyone advise?
What have you tried so far?
No response
See https://github.com/video-dev/hls.js/blob/master/docs/API.md#drmsystems
Also note that HLS.js ClearKey support is incomplete. There is no way to specify key value pairs for the eme controller.
If you are interested in helping to complete this work, please provide (most important) test HLS assets, and see where it left off in: https://github.com/video-dev/hls.js/pull/2934
thank you for share information
Hi, @robwalch I want to complete ClearKey. Do you think I should work on the same feature/v1.0.0 branch after 3 years or create another branch from main?
Hi @TREER00T,
Maybe @botengyao would be willing to rebase #2934 or resubmit their changes. Otherwise, please branch from latest (master).
Thanks @robwalch for the heads-up.
Hi @TREER00T, feel free to take over my work and branch from the latest.
Great, so I'll grab the latest version from the master branch and go with it
Closing as a duplicate of #2934:
- #2934