# Setup AES Encryption Wowza streaming to Roku

**URL:** <https://community.wowza.com/t/setup-aes-encryption-wowza-streaming-to-roku/36019>\
**Category:** Wowza Streaming Engine\
**Tags:** media-players-and-devices\
**Created:** [June 24, 2012, 5:54pm UTC](https://community.wowza.com/t/setup-aes-encryption-wowza-streaming-to-roku/36019 "2012-06-24T17:54:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mubarak\_malimar](https://avatars.discourse-cdn.com/v4/letter/m/82dd89/32.png) [@mubarak\_malimar](https://community.wowza.com/u/mubarak_malimar)\
**Post date:** [June 24, 2012, 5:54pm UTC](https://community.wowza.com/t/setup-aes-encryption-wowza-streaming-to-roku/36019/1 "2012-06-24T17:54:34Z")

</div>

Hi,

How would it be possible to encrypt Wowza HLS stream when the direct link to the media file is from and XML file that Roku loads?

Has anyone able to setup AES 128 on Wowza working with Roku?

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [June 26, 2012, 1:56pm UTC](https://community.wowza.com/t/setup-aes-encryption-wowza-streaming-to-roku/36019/2 "2012-06-26T13:56:50Z")

</div>

Is it multi-bitrate stream with smil file? If so, each stream has to be AES encrypted separately. There is nothing different to do with the smil file, it is same as without AES encryption

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [April 18, 2013, 6:21pm UTC](https://community.wowza.com/t/setup-aes-encryption-wowza-streaming-to-roku/36019/3 "2013-04-18T18:21:20Z")

</div>

If you are using the AES external methods, yes, each is a separate stream and has to be configured following the guide. The smil is consumed by the player for switching purposes, has nothing to with encryption. You can generate one file then make copies, changing the name to stream names you want to encrypt. The same external script can handle many streams with the same key. Again, if you just want to add encryption, you can use the internal method with simple configuration, no key files or external scripts.

Richard

---

<div class="post-metadata">

**Author:** ![Brian\_Osborne](https://avatars.discourse-cdn.com/v4/letter/b/ecb155/32.png) [@Brian\_Osborne](https://community.wowza.com/u/Brian_Osborne)\
**Post date:** [April 18, 2013, 12:17pm UTC](https://community.wowza.com/t/setup-aes-encryption-wowza-streaming-to-roku/36019/4 "2013-04-18T12:17:11Z")

</div>

Do you mean that each stream in the smil file needs it’s own .key file, and that we can’t create a .key file for the SMIL and have it apply to all streams in the SMIL?
