Forum Discussion

sudo97's avatar
sudo97
Visitor
8 years ago

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?

3 Replies

  • renojim's avatar
    renojim
    Community Streaming Expert
    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
  • "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.
    • BC_dev's avatar
      BC_dev
      Newbie

      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.