-
Hi, I'm seeking clarification on the extent to which Dash.js supports HDCP. Some details: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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 // 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.session.sessionId);
switch (status) {
case 'expired':
break;
case 'output-restricted':
break;
case 'usable':
break;
default:
}
}); |
Beta Was this translation helpful? Give feedback.
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