question

amsDeveloper-1720 avatar image
0 Votes"
amsDeveloper-1720 asked JohndeuMSFT edited

Azure Media Services : Media/Video fails to decrypt on Safari/Edge browsers but works well in Chrome

So, we have been testing our Azure Media Services implementation on Google Chrome all this while (which has been working very well), and now found out that it doesn't work in Safari & Edge browsers!

It fails to decrypt the video.
Not sure what is the relationship between being able to decrypt and type of browser!

Is this a known issue?

11283-screen-shot-2020-07-03-at-03324.png


azure-media-services
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

JohndeuMSFT avatar image
1 Vote"
JohndeuMSFT answered JohndeuMSFT edited

Can you add some more details here about what content key policies you are using? Clearly you are using DRM or AES-128 encryption along with the Azure Media Player.
DRM systems change by OS and Browser.

You may want to review this article on dynamic encryption - https://docs.microsoft.com/en-us/azure/media-services/latest/content-protection-overview

Also check the compatibility matrix table here for all the DRM tech combinations available across OS and Browser combinations - https://docs.microsoft.com/en-us/azure/media-services/azure-media-player/azure-media-player-playback-technology


UPDATE: Based on your comments here and on StackOverflow - you may have been testing PlayReady on Edge for Mac OS?

Edge on Windows 10 support both Playready and Widevine Edge on Mac supports Widevine only (I believe... checking for a definitive link to that support...)

Safari on Mac of course is FairPlay only.

You can test some DRM combinations using the AMP demo page here. Don't forget you need to use HTTPS!

https://ampdemo.azureedge.net/?url=%2F%2Famssamples.streaming.mediaservices.windows.net%2F622b189f-ec39-43f2-93a2-201ac4e31ce1%2FBigBuckBunny.ism%2Fmanifest&widevine=true

· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

The encryption being used is DRM with PlayReady (CommonEncryptionCenc) & Widevine policy encryption, along with Azure Media Player.
I see that Safari only supports FairPlay, but Edge supports PlayReady. So, ideally it should work on Edge, right?

0 Votes 0 ·

Edge on Mac does not support PlayReady.
Did you mean Edge on Mac?

0 Votes 0 ·

Edge on Mac OS only supports Widevine DRM I believe. No PlayReady.

0 Votes 0 ·