Forum Discussion

capagrisdesu's avatar
capagrisdesu
Copper Contributor
Apr 09, 2020

[PlayReady][Chromium Edge] Dash.js PlayReady does not run locally

Running Microsoft Edge (Windows 10) default version installed (44.17763.831.0) I can run locally (http) Playready streams from PlayReady sample found in Dash.js (https://github.com/Dash-Industry-Forum/dash.js)

I am using live-server as my local server https://www.npmjs.com/package/live-server

 

I also tested dash.js PlayReady sample with Microsoft test http streams https://testweb.playready.microsoft.com/Content/Content2X to no avail.

 

I then installed the latest stable Edge version (80.0.361) and this one uses Chromium. I can run PlayReady sample online -> https://reference.dashif.org/dash.js/latest/samples/drm/playready.html

 

When running it locally, I get errors due to:

No supported version of EME detected on this user agent! - Attempts to play encrypted content will fail

https://github.com/Dash-Industry-Forum/dash.js/blob/f47cc081ee3c8912d37029164ed1365f438827e6/src/streaming/protection/Protection.js#L157

 

DRM: KeySystem Access Denied! -- Insecure origins are not allowed

https://github.com/Dash-Industry-Forum/dash.js/blob/52d40d6b6245fc8c9a9099cc9cc15fff8735c72b/src/streaming/protection/models/ProtectionModel_21Jan2015.js#L286

 

I did tweak a property on edge://flags/

I enabled for my localhost: Insecure origins treated as secure

This leads to Edge to “Can’t open this page” due to Error code: RESULT_CODE_KILLED_BAD_MESSAGE

 

Lastly I created a https server and I installed certificates so I can load the samples using https but it still leads Edge  to “Can’t open this page” due to Error code: RESULT_CODE_KILLED_BAD_MESSAGE.

 

Any ideas? I dont see to understand what can be the cause... I don't think this behaviour is acceptable for a browser.

11 Replies

    • SpideyMan8192's avatar
      SpideyMan8192
      Copper Contributor

      Girofox Agreed. PlayReady content seems to be broken in Chromium Edge, Version 83.0.478.56. Google Chrome only supports widevine so PlayReady support was something Microsoft added to Chromium Edge. Disabling hardware acceleration in Chromium Edge disables PlayReady support and most DRM content plays correctly by falling back to widevine. DRM just doesn't work properly for some users in Chromium Edge unless you disable hardware acceleration.

       

      I've also tried the Canary Builds of Chromium Edge, Version 85.0.558.0, and PlayReady support is equally broken. Disabling hardware acceleration corrects the DRM playback issues in the canary builds as well by forcing Chromium Edge to use widevine and removing PlayReady.

      • Girofox's avatar
        Girofox
        Copper Contributor
        It is very weird, because Netflix works on Edge with more than 1080p, on Chrome (Videwine) Netflix streams with much lower quality. So sometimes Playready seems to work but is very broken. On old Edge everything concerning Playready works.
  • capagrisdesu Thanks for reaching out, and welcome to the MS Edge Insider's community! If you haven't yet, can you please submit detailed feedback and diagnostic data through the browser?

     

    And in the meantime: josh_bodner, does this seem related to the issue you found with playing protected PlayReady content?

     

    Fawkes (they/them)
    Project & Community Manager - Microsoft Edge

Resources