My video content is DRM protected via PlayReady. I am not able to get it to play. Can someone verify my code looks correct for PlayReady?
Im tried it on multiple versions of Roku. In most cases its just a black screen.
sub init()
metrics = CreateObject("roDeviceInfo")
print "test"
print metrics.GetModel()
print metrics.GetDrmInfo()
m.top.setFocus(true)
setVideo()
end sub
function setVideo() as void
videoContent = createObject("RoSGNode", "ContentNode")
videoContent.url = "https://movie.mpd"
videoContent.title = "Test Video"
videoContent.streamformat = "dash"
videoContent.encodingType = "PlayReadyLicenseAcquisitionAndChallenge"
videoContent.encodingKey = "https://pr-keyos.licensekeyserver.com/core/rightsmanager.asmx" + "%%%" + "PEtle...."
m.video = m.top.findNode("musicvideos")
m.video.content = videoContent
m.video.control = "play"
end function
]]>