0
votes

I have created a Azure Media Service WhichEncode, Encrpts and creates the delivery policy for asset. I am generating the URL which is perfect but doesnt play with Azure Media Player. I get error, can anyone help on this. This is the error I get When try to  play my encrypted Video

Edit: I tried uploading and manually apply content protection and then playing media from azure itself. which also returns the similar error. enter image description here

1
can you post a URL that reproduces the issue? What browser is this occurring on? Also what type of encryption are you using? - sraje
I am using AES-128 Encryption as provided by Azure Media Service. I can't share you the Url, as i am not allowed but am sure you can recreate the scenario. Let me know if i have to add the steps. - shekhar Kumar
do you get the same error with this video: ampdemo.azureedge.net/… - sraje
pleas email [email protected] so I can get more details on your scenario and help figure out what the issue is. - sraje
sraje that url is working fine, but not mine :( i have sent you the Url please have a look before this expires. - shekhar Kumar

1 Answers

0
votes

I hate to answer my question, but finally I figured it out the issue. Here I did to fix this Issue.

  1. First I checked and made sure that Streaming Endpoint is running. enter image description here
  2. I was Using HLS And Smoothing protocol, seems these requires the flash support in the browser. You can a piece of code in your method where you are creating delivery policy "CreateAssetDeliveryPolicy". enter image description here

  3. The above changes now will be enough to get URL to play on any browser, but if you are writing your own code for playing those encoded videos then please make sure about format. It's really not necessary but I had to enforced the encoding format to Dash. enter image description here

  4. if you still face an issue in playing video, then make sure that manifest protocol(http/https) is same as the protocol(http/https) with which you are requesting.