:)
My goal is to host videos with Widevine and PlayReady DRM protection to prevent screen capture like Netflix. Only authorized users should be able to receive licenses to watch the videos.
I'm struggling to get started.
What I've tried:
- play the "PlayReady (dynamic/SWT)" sample on https://ampdemo.azureedge.net/ but the video is removed or something
- read Microsoft docs, but there is no simple step-by-step guide on how to create a DRM protected video on Azure portal and try it out in the Azure Media Player
- I tried creating a content key policy with DRM encryption and no tokens, this I could play in the Azure Media Player on the demo site, but it was possible to perform a screen capture
I'd say I understand the big picture as shown in this diagram from Microsoft docs:
Can someone please help me to get started?
It's a complex subject indeed. Which language are you using? We have some basic streaming with DRM samples in our .NET samples. It shows how to do basic encryption, license settings, content key policy and how to generate a test JWT token. In real production, you would need to build the auth flow to generate the proper JWT token needed for your clients.
https://github.com/Azure-Samples/media-services-v3-dotnet-tutorials/tree/master/AMSV3Tutorials/EncryptWithDRM
I also recently updated the Node/Typescript DRM sample in this branch https://github.com/Azure-Samples/media-services-v3-node-tutorials/tree/updatedNodeSDK/AMSv3Samples/StreamFilesWithDRMSample
You do need to have some knowledge of the Widevine and or PlayReady SDKs though - that is where all of the settings and values for the license come from.