Sove
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2022
11:35 PM
Widevine DRM is not working
Hi!
I'm trying to activate widevine drm in the player as it says in the documentation (https://developer.roku.com/docs/specs/media/content-protection.md), but it still doesn't work. I have also added the lines to the manifest.
The code:
if streaming.licenseUrl <> invalid drmParams = { licenseServerURL: streaming.licenseUrl.widevine keySystem: "Widevine" } m.child[0].drmParams = drmParams end if if streaming.url <> invalid m.child[0].url = streaming.url node = CreateObject("roSGNode", "ContentNode") node.Update({children: m.child}, true) m.videoPlayer.content = node m.videoPlayer.enableUI = false m.videoPlayer.contentIsPlaylist = true m.videoPlayer.control = "play" m.videoPlayer.ObserveField("state", "OnVideoPlayerStateChange") m.videoPlayer.ObserveField("visible", "OnVideoVisibleChange") else errorPlayContent() end if
I am doing something wrong? Or am I missing something to add?
1 REPLY 1
makaiguy
Community Streaming Expert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2022
06:11 AM
Re: Widevine DRM is not working
You've posted to a forum for Roku users, where few, if any, will be able to help. The Developers forums are a couple of doors down the hall: https://community.roku.com/t5/Developers/ct-p/channel-developers
Roku Community Streaming Expert
I am not a Roku employee, only a user like you. Please, no support questions via private message -- post them publicly to the Community where others may benefit as well.
If this post solves your problem please help others find this answer by clicking "Accept as Solution.".
Ultra 4850 | Ultra 4800 | Streaming Stick 4K+ 3821 | TCL Roku TV 43S245/C107X
I am not a Roku employee, only a user like you. Please, no support questions via private message -- post them publicly to the Community where others may benefit as well.
If this post solves your problem please help others find this answer by clicking "Accept as Solution.".
Ultra 4850 | Ultra 4800 | Streaming Stick 4K+ 3821 | TCL Roku TV 43S245/C107X