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: 
myanacron
Newbie

Clearkey/Widevine/Playready

Its Roku supported Clearkey?

Im already check at https://developer.roku.com/en-gb/docs/specs/media/content-protection.md but nothing mention about Clearkey. If Roku supported Clearkey, give some example to implement it like Widevine below:

Required Roku channel manifest entries:

requires_widevine_drm=1
requires_widevine_version=1.0

Configure DRM parameters in an roAssociativeArray:

drmParams = {
keySystem: "Widevine"
licenseServerURL: "<http(s)://license-server-host/path?param=value>"
}

Setup ContentNode and set to Video node:

contentNode = createObject("roSGNode", "contentNode")
contentNode.streamFormat = "dash"
contentNode.url = "wwww.myvideo.com/content.mpd"
contentNode.drmParams = drmParams

m.video.content = contentNode
0 Kudos