Roku Developer Program

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

DRM PlayReady - persistent license is worked ?

Device: Roku Ultra 4660X

Application Type: BrightScript SceneGraph

I try to play video stream with drm protection playready and persitant license.

Video is playing, I've been see request to license server and after replay/restart application roku stb again sent request to license server but in `customdata` type is persistent. Roku STB can store persistant license in nand storage and reuse for same streams?

Simple example for to use drm properties for configuration roVideo node:

contentToPlay = createObject("roSGNode", "ContentNode")
contentToPlay.url = "http://..../index.mpd"
contentToPlay.StreamFormat = "dash"
contentToPlay.drmParams = {
    keySystem: "playready"
    encodingType: "PlayReadyLicenseAcquisitionUrl"
    licenseServerURL: "http://license-server/%%%customdata"
}
m.player.content = contentToPlay
Tags (2)
0 Kudos