New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debugging DRM-encrypted MPEG-DASH stream (Playready) #1615
Comments
http://www.ppr.0pb.org/~flemoing/radiantmedia/example_radian_dash_with_DRM_playready.html plays fine for me in Edge. |
The test page doesn't work for me. I'm running Edge 25.10586.0.0/EdgeHTML 13.10586 on Windows 10. It's barfing when the video initialisation segment is appended. This isn't encrypted, but does add pssh boxes and has the encv sample description. |
I am also on Edge 25.10586.0.0/EdgeHTML 13.10586 on Windows 10 and the stream won't play (black screen with spinner and error in console). I cannot play it in IE 11 neither. @sandersaares I am surprised your version of Edge would play the stream (I was leaning towards an encryption issue rather than a playback issue). What version of Edge did you use? @bbcrddave Out of curiosity what tools are you using to check the information within the fragment boxes? If I download the first fragment and run mediainfo on it - it does report the fragment to be encrypted.
|
I was looking at the initialisation segment (sub_drm-video=782000.dash). It contains the encv sample entry (with sinf box and its children) and pssh boxes. These boxes signal to the decoder that an encrypted stream is to be expected, but the initialisation segment itself does not contain any encrypted data. I just used a simple box viewer - http://download.tsi.telecom-paristech.fr/gpac/mp4box.js/filereader.html - and interpret their contents manually. The stream fails as soon as the initialisation segment is appended, before any encrypted media is appended. Since it is a MEDIA_ERR_SRC_NOT_SUPPORTED, rather than a MEDIA_ERR_DECODE, I imagine there is something in the initialisation segment Edge doesn't like. Perhaps @sandersaares has a newer version of Edge which contains a fix for this issue? I note that both Chrome and Firefox successfully append the initialisation segment (but obviously fail to requestMediaKeySystemAccess for PlayReady). |
Thanks @bbcrddave for those information - this really helps. I will try to download a VM with latest Edge (EdgeHTML 14) to see if I can gather more information. |
Appears to work in Microsoft Edge 38.14393.0.0/EdgeHTML 14.14393. Closing as not a dash.js issue. Please reopen if you believe differently. |
Yep, I also tested with Edge 38. |
Environment
Steps to reproduce
Input manifest http://dashpr.staging.tevolution.tv/misc/vm_hd_4/sub_drm.ism/master.mpd into dash.js 2.3. You will need custom protection data.
var protectionData = {
"com.microsoft.playready": {
"serverURL": "http://pr.test.expressplay.com/playready/RightsManager.asmx?ExpressPlayToken=AQAAAxEKWuIAAABgMGpLhIKbmWmgEAiYJ6gj_ty32uETVvTKzHaazk_OxhKG13qvntHHzuA9aCXW6xbtm5Tig6B5Ido-iWm_x2oJOifzoP5Pij3mkVtnudJwNTdFmTc-YCuv_zvNWbQ2KNTViym00NArouvo_ybiTNbdI7TnGLM",
}
};
You can see it live here: http://www.ppr.0pb.org/~flemoing/radiantmedia/example_radian_dash_with_DRM_playready.html
As you may guess the stream does not play in MS Edge with DRM Playready. MPEG-DASH stream is provided by Unified Streaming Platform. DRM is provided by ExpressPlay.
The stream in clear (without DRM) works as expected. The stream with Widevine DRM works on Chrome.
I have read through the log but the only relevant info I can gather is:
[228] Video Element Error: MEDIA_ERR_SRC_NOT_SUPPORTED (0xC00D002F).
I would like to know what steps could be taken to determine the root cause of this DRM-related issue. Is there any further information I can get out of dash.js to narrow down this issue.
Observed behaviour
Stream does not play
Console output
The text was updated successfully, but these errors were encountered: