My name is Gitesh,
I'm currently developping a website to stream video's in Asp .Net 5(c#).
Azure Media Services is my chosen platform to host the video's from.
Azure Media Player is the player I use on the website to render the video's.
I have got the playback of unprotected videos running, but I'm struggeling to get the playback of a DRM encoded video running. Via the Azure Media Services Explorer tool I have configured DRM on one particular asset.
When I playback the video via the Azure Media Services Explorer tool with the Azure Media Player, Its working fine with Bearer token.But when I try to playback the video from my website(I am sending Bearer Token as authToken on FrontEnd.), it is diplaying "Unable to decrypt the encrypted video source (0x20500006)". I see in chrome developer tools (console window) then getting below error.
Failed to load resource: the server responded with a status of 401 (Unauthorized).