DRM with hls.js?
Does currently hls.js support DRM? If so, can you point an example of how to implement this? I know M(PEG)-DASH does that using dash.js but I'm not sure about HLS. Thanks in advance
Hi @rafa8626 , did you implemented DRM on playing HLS?
No I didn't I tried to look in the documentation but no luck; @mangui is there a way it any example to achieve this?
adding EME support to hls.js should not be a huge deal, providing that you use fmp4 and that you have a pssh in your initsegment once that is the case you just need to mimic the logic explained here: https://www.html5rocks.com/en/tutorials/eme/basics and follow the Clear Key example
related to https://github.com/video-dev/hls.js/issues/510
Thanks @mangui I'll check these links
@mangui @rafa8626 @matheusrufca Is there a sample code which plays drm widevine using hls.js
@piyush2dev check the demo URL it has an example with it