- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Example of configuring a hls stream with AES-128
I encrypted our HLS Stream in AES-128. Here I found my m3u8 is below.
#EXTM3U #EXT-X-TARGETDURATION:8 #EXT-X-MEDIA-SEQUENCE:16 #EXT-X-VERSION:3 #EXT-X-KEY:METHOD=AES-128,URI="123.key" #EXTINF:8, Roku00000017.ts #EXTINF:8, Roku00000018.ts #EXTINF:8, Roku00000019.ts
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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:
#EXT-X-KEY:METHOD=AES-128,URI="tmp:/123.key"
I have no way to test this, but it's worth a try.
-JT
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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(http://111.111.1.1:1111/test/123.key) to access an m3u8 Is working I don't know how?