Azure Media Service DRM

Sadman Sakib 51 Reputation points
2022-12-18T23:03:04.783+00:00

Hi, How can I get the authenticationToken for azure media player?

271880-screenshot-1.png

Community Center | Not monitored
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ebraheem Al-Muneyeer (MSFT) 961 Reputation points Microsoft Employee
    2022-12-23T13:15:06.667+00:00

    Hey @Sadman Sakib , thank you for reaching out!

    The authentication token would be the JWT token. When you are using DRM to protect your videos, you will be creating streaming locators with proper streaming policy stream-streaming-policy-concept and Content Key Policy drm-content-key-policy-concept. The content key policy has claims and private key that you need to configure while creating it.

    When someone is trying to view a DRM protected video, you should be generating a JWT token with same claims as the Content Key Policy, and make sure to sign the signature with the same private key. For more information you can check AMS documentation here drm-content-protection-concept it also has some good samples about how to generate the JWT token.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.