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: 
sudo97
Visitor

AES-128 drmParams

According to this article https://sdkdocs.roku.com/display/sdkdoc/Content+Protection AES-128 is supported by Roku such as other technologies. The article provides several examples for Adobe Access, PlayReady what exactly should be put in drmParams object. But it doesn't tell what params should I config for AES-128, which I need very hard. Any suggestions?
0 Kudos
3 REPLIES 3
renojim
Community Streaming Expert

Re: AES-128 drmParams

I'm no expert, but I don't think AES-128 qualifies as DRM, so nothing goes in drmParams.  For HLS, the key URI appears in the m3u8 playlist and is protected by cookies or some other method.  The playlist entry would look something like this:
#EXT-X-KEY:METHOD=AES-128,URI="https://someip.com/somefile.key",IV=0x00000000000000000000000000012345


Search the web for HLS and AES-128 for more information.

-JT
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
sudo97
Visitor

Re: AES-128 drmParams

"renojim" wrote:
I'm no expert, but I don't think AES-128 qualifies as DRM, so nothing goes in drmParams.  For HLS, the key URI appears in the m3u8 playlist and is protected by cookies or some other method.  The playlist entry would look something like this:
#EXT-X-KEY:METHOD=AES-128,URI="https://someip.com/somefile.key",IV=0x00000000000000000000000000012345


Search the web for HLS and AES-128 for more information.

-JT

I could probably getToString throur roUrlTransfer my m3u8, then add proper token inside the string and store it as file in the tmp, then pass it to video-node. But I hope Video-node itself could do it better for me.
0 Kudos
BC_dev
Newbie

Re: AES-128 drmParams (season 45, episode 874)

Hey @sudo97, sorry for coming back to this 6 years later, but did you manage to sort it out? I'm also trying to play AES-128 encrypted streams but still no success.

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.