Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 11

Example of configuring a hls stream with AES-128

I encrypted our HLS Stream in AES-128. Here I found my m3u8 is below.


Here I directly set a key to m3u8 file from the server-side is running fine. 123.key is running on my server-side. I tried to set 123.key is locally(static) or some other server using the encoding key field using this documentation. But I don't know how to set a static key in Roku Video player to configuring AES-128. It's required to change the path to URI from the m3u8 file?. I don't know what should I do. Is there any solution available.

0 Kudos
Community Streaming Expert

Re: Example of configuring a hls stream with AES-128

I don't think the HLS spec allows for a static key.  Have you tried copying 123.key to tmp:/ and setting the URI appropriately:


 I have no way to test this, but it's worth a try.



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
Level 11

Re: Example of configuring a hls stream with AES-128

Here I test with two scenarios 1. with a tmp:/123.key. Roku Doesn't allow to permission to access Local keys. 2. I create a simple server to provide a key( to access an m3u8 Is working I don't know how?

0 Kudos