Forum Discussion
bnadler
Mar 11, 2020Copper Contributor
PlayReady missing from available DRMs
I'm having issues with the Chromium Edge and PlayReady. It appears that on my PC, Edge thinks that PlayReady is not a supported DRM. When I query the browser to check for PlayReady support, Edge resp...
rceles
Mar 16, 2020Copper Contributor
@Joachim_T the same like bnadler . No PR CDM. WV working fine. Any idea? is PR only available on some scenarios?
var config = [{
"initDataTypes": ["cenc"],
"audioCapabilities": [{
"contentType": "audio/mp4;codecs=\"mp4a.40.2\""
}],
"videoCapabilities": [{
"contentType": "video/mp4;codecs=\"avc1.42E01E\""
}]
}];
undefined
try {
navigator.
requestMediaKeySystemAccess("com.microsoft.playready", config).
then(function(mediaKeySystemAccess) {
console.log('playready support ok');
}).catch(function(e) {
console.log('no playready support');
console.log(e);
});
} catch (e) {
console.log('no playready support');
console.log(e);
}
VM301:7 no playready support
VM301:8 Error: The key system specified is not supported.
at <anonymous>:3:3