[英]Azure Media Services Widevine and PlayReady DRM Error: Unable to decrypt encrypted video source 0x20500004
I am trying to upload a video file and stream it with DRM using Azure Media Services, So far I managed to upload the file, get a streaming URL and get a token but when trying to play it on http://ampdemo.azureedge.net/ I am getting an error I am trying to upload a video file and stream it with DRM using Azure Media Services, So far I managed to upload the file, get a streaming URL and get a token but when trying to play it on http://ampdemo.azureedge.净/我收到一个错误
Unable to decrypt encrypted video source 0x20500004
Been searching for a couple of hours now for what might cause the issue but haven't found anything that helped.现在已经搜索了几个小时来寻找可能导致问题的原因,但没有找到任何帮助。 I used this repo (and changed the keys to my own)
我使用了这个 repo(并将密钥更改为我自己的)
https://github.com/Azure-Samples/media-services-v3-node-tutorials/blob/main/StreamFilesWithDRMSample/index.ts https://github.com/Azure-Samples/media-services-v3-node-tutorials/blob/main/StreamFilesWithDRMSample/index.ts
In addition, I created a content key policy named CommonEncryptionCencDrmContentKeyPolicy with license type PlayReady and Restriction type token此外,我创建了一个名为 CommonEncryptionCencDrmContentKeyPolicy 的内容密钥策略,其许可证类型为 PlayReady 和限制类型令牌
Can anyone help and share what am I missing here?任何人都可以帮助并分享我在这里缺少什么吗?
Thanks!谢谢!
Make sure you are using https:// for everything.... don't mix http: on any URLs That's usually the issue.确保您对所有内容都使用 https:// .... 不要在任何 URL 上混合 http: 这通常是问题所在。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.