Roku Developer Program

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

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
2 Replies
renojim
Level 10

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
0 Kudos
sudo97
Level 7

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