Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
vishalpatil
Level 7

Can not play video using Widevine DRM with DASH Streaming URL

Hi All,

We are implementing one video Roku channel and in that, we want to use the Widevine DRM with DASH Streaming URL to play the video.
I followed the documentation given by Roku development forum but it is not working.

My current code is:
videoContent = createObject("roSGNode", "ContentNode")
videoContent.StreamFormat = "dash"
videoContent.Url = 'provided dash streaming url
' for widevide DRM
drmParams = {
        keySystem: "Widevine",
        licenseServerURL: 'provided our licenseServerURL
    }
videoContent.drmParams = drmParams

HttpAgent = CreateObject("roHttpAgent")
HttpAgent.AddHeader("Authorization",AuthorizationTokenString)
m.VideoPlayer.setHttpAgent(HttpAgent)

m.VideoPlayer.content = videoContent
m.VideoPlayer.control = "play"

I referred the following link to find out the way.
https://sdkdocs.roku.com/display/sdkdoc ... evine-BETA
https://sdkdocs.roku.com/display/sdkdoc ... idevineDRM

Please let me know if I am missing something here and help me out solving this issue.
0 Kudos
3 Replies
haridhanani
Level 7

Re: Can not play video using Widevine DRM with DASH Streaming URL

did you figure our Wide vine DRM implementation ?
0 Kudos
jasonwright
Level 7

Re: Can not play video using Widevine DRM with DASH Streaming URL

Also struggling with the same issue. Widevine DASH playback won't work, did you find a solution?
0 Kudos

Re: Can not play video using Widevine DRM with DASH Streaming URL

"jasonwright" wrote:
Also struggling with the same issue. Widevine DASH playback won't work, did you find a solution?

Hi
Just wondering if you were able to get it working? If so, what was the solution?
Andy
0 Kudos