Forum Discussion

vishalpatil's avatar
7 years ago

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.

3 Replies

  • Also struggling with the same issue. Widevine DASH playback won't work, did you find a solution?
  • "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