navigator.requestMediaKeySystemAccess does not correctly implement robustness

Fixed Issue #12133118

Details

Author
Joey P.
Created
May 25, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

If a robustness value is not supported by the CDM, EME should reject the Promise. Edge and PlayReady never do.

Here’s a jsfiddle: https://jsfiddle.net/jgxzxdd9/3/

Compare Chrome’s behavior to Edge’s. In Chrome, a blank robustness value results in success and video capabilities are returned. A robustness value of “BOGUS” results in a rejected Promise:

com.widevine.alpha, "": [
{
"contentType": "video/mp4; codecs="avc1.42E01E"",
"robustness": “”
}
]
com.widevine.alpha, "BOGUS": not available

On Edge, a blank robustness value works as it should. But a robustness of “BOGUS” results in an empty capabilities array:

com.microsoft.playready, "": [
{
"contentType": "video/mp4; codecs="avc1.42E01E"",
"robustness": “”
}
]
com.microsoft.playready, "BOGUS": []

As an aside, where can I find documentation on valid EME robustness values for Edge/PlayReady? In the jsfiddle linked above, I try all of these, none of which seem to work: 3000, 2000, 1000, SL3000, SL2000, SL1000.

Copied from Description when changed from Task to Bug

Copied from Repro Steps when changed from Bug to Task

If a robustness value is not supported by the CDM, EME should reject the Promise. Edge and PlayReady never do.

Here’s a jsfiddle: https://jsfiddle.net/jgxzxdd9/3/

Compare Chrome’s behavior to Edge’s. In Chrome, a blank robustness value results in success and video capabilities are returned. A robustness value of “BOGUS” results in a rejected Promise:

com.widevine.alpha, "": [
{
"contentType": "video/mp4; codecs="avc1.42E01E"",
"robustness": “”
}
]
com.widevine.alpha, "BOGUS": not available

On Edge, a blank robustness value works as it should. But a robustness of “BOGUS” results in an empty capabilities array:

com.microsoft.playready, "": [
{
"contentType": "video/mp4; codecs="avc1.42E01E"",
"robustness": “”
}
]
com.microsoft.playready, "BOGUS": []

As an aside, where can I find documentation on valid EME robustness values for Edge/PlayReady? In the jsfiddle linked above, I try all of these, none of which seem to work: 3000, 2000, 1000, SL3000, SL2000, SL1000.

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “James M.”

      Changed Assigned To to “Venkat K.”

      Changed Assigned To from “Venkat K.” to “Nishant N.”

      Changed Assigned To from “Nishant N.” to “Shawn P.”

      Changed Assigned To from “Shawn P.” to “Gurpreet V.”

      Changed Assigned To from “Gurpreet V.” to “Angelo L.”

      Changed Steps to Reproduce

      Changed Assigned To from “Angelo L.” to “Rafael V.”

      Changed Assigned To from “Rafael V.” to “Stephen E.”

      Changed Assigned To from “Stephen E.” to “Eric B.”

      Changed Assigned To from “Eric B.” to “Stephen E.”

      Changed Assigned To from “Stephen E.” to “Marcin S.”

      Changed Status to “Confirmed”

      Changed Assigned To from “Marcin S.” to “Sam W.”

      Changed Status from “Confirmed” to “Fixed”

      Changed Assigned To to “James M.”

    You need to sign in to your Microsoft account to add a comment.

    Sign in