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: 
ko2
Reel Rookie

How to I add my Widevine DRM protection link to my direct publisher JSON feed?

This is what I put in the json feed

}, {
"id": "CYC",
"title": "CYC",
"shortDescription": "Christian Youth Channel – CYC aka Coptic Youth Channel, is a television and internet based English Coptic Orthodox Channel. CYC is the first English Coptic Christian channel, dedicated to Christians all around the world to spread the teachings and love of Jesus Christ.",
"thumbnail":https://lh3.googleusercontent.com/C9AuxcJcrJGMVnma1-6KR8skK257CPxJXh8qyyXAkkDg_VeOebsw3tx-9U2ux0_To9...",
"genres": ["thriller"],
"tags": ["faith-based", "religious"],
"releaseDate": "2022-06-23",
"content": {
"dateAdded": "2022-06-23T14:14:54.431Z",
"captions": [],
"duration": 86400,
"adBreaks": ["00:00:00", "00:00:00"],
"videos": [{
"url": "https://github.com/CODERX24/tv/raw/master/CYC.mpd",
"quality": "HD",
"videoType": "DASH"
}]

what is the script to add the widevine link to this stream

I read this and I am still confused

https://developer.roku.com/docs/specs/media/content-protection.md

 

0 Kudos
2 REPLIES 2
renojim
Community Streaming Expert

Re: How to I add my Widevine DRM protection link to my direct publisher JSON feed?

You might have better luck in https://community.roku.com/t5/Roku-Direct-Publisher/bd-p/roku-direct-publisher

Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos
Baradanikto
Roku Guru

Re: How to I add my Widevine DRM protection link to my direct publisher JSON feed?

The current Roku JSON schema that is used to validate your feed file does not support what you are asking.  The link you posted is for channels developed with the SDK.

FREE Windows desktop software for converting Direct Publisher channels to SceneGraph (SDK), for creating BIF (Trick Play) files, Roku (MRSS, JSON) feed files, and FireTV feed files @ GitHub/rrirower.
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.