Forum Discussion

ko2's avatar
ko2
Reel Rookie
3 years ago

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_To9Y=h500",
"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