Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
dugsinclair
Reel Rookie

PlayReady w Dash

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
  
  ]]>
0 Kudos
2 REPLIES 2
dugsinclair
Reel Rookie

Re: PlayReady w Dash

Here is the error msg I am getting:

LOG - VideoView - ERROR - Code 9, Message: buffer:loop:drm.prdy.licag.http.error:DRM exception: Http error 500:extra:clip_id:0:source:buffer:loop:drm.prdy.licag.http.error

0 Kudos
Irbaaz49
Newbie

Re: PlayReady w Dash Error buffer:loop:playready:DRM exception: Unsupported content header version.:

Hey did the error resolved , am getting same error 

0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.