Skip to content

DRM: Playing Encrypted Media with latest dash.js player complete media playing working example.

Created by: subhranshudas

Hi All, I am trying to setup up dash.js to play DRM content (both Widevine & PlayReady). Went through the github samples found https://github.com/Dash-Industry-Forum/dash.js/blob/master/samples/protection/getLicense.html This shows what config to pass and how to use the protectionController to initialize. Can we get a full working example from manifest URL to the video actually playing. This will actually help to understand how exactly to use dash.js to play DRM content.

BTW i found something on the web https://www.axinom.com/setting-up-a-simple-dash-js-player-for-multi-drm-playback/. But i guess thats for the old version of dash.js.

Below is the understanding i have for the DRM flow in general, which is not perfect and needs feedback- img-3961