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-BETAhttps://sdkdocs.roku.com/display/sdkdoc ... idevineDRMPlease let me know if I am missing something here and help me out solving this issue.