Skip to content

HDCP support? #4277

Answered by dsilhavy
brendanAx asked this question in Q&A
Discussion options

You must be logged in to vote

There is nothing special that dash.js is doing with regard to HDCP. If a certain HDCP level is not supported or the device does not fulfill the criteria, you will get an output-restricted event

// Listen for 'keystatuseschange' event to check if license has been successfully received and stored
mediaPlayer.on(dashjs.MediaPlayer.events.KEY_STATUSES_CHANGED, function (e) {
    console.log('[DASHJS-PROTECTION-PLUGIN] KEY_STATUSES_CHANGED: ', e);
    e.data.session.keyStatuses.forEach(function (status, keyId) {
        console.log('[DASHJS-PROTECTION-PLUGIN] status = ' + status + ' for session ' + sessionToken.s…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by brendanAx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants