# IMediaStreamNameAliasProvider2 and AES

**URL:** https://community.wowza.com/t/imediastreamnamealiasprovider2-and-aes/48990
**Category:** Wowza Developer Dojo
**Created:** [June 14, 2017, 3:46pm UTC](https://community.wowza.com/t/imediastreamnamealiasprovider2-and-aes/48990 "2017-06-14T15:46:15Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Matt](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@Matt](https://community.wowza.com/u/Matt)
#### Post date: [June 14, 2017, 3:46pm UTC](https://community.wowza.com/t/imediastreamnamealiasprovider2-and-aes/48990/1 "2017-06-14T15:46:15Z")

</div>

Hey Guys,

Bit of a tricky one here and I’m not having any luck finding a solution.

Basically, I have a bit of an odd situation. I have an application where I run a transcode profile on the audio in and I prefix the name of this stream like $StreamName\_fix. I then have an IMediaStreamNameAliasProvider2 module that takes any incoming stream names and appends the \_Fix after it to make sure that by default it plays the transcoded stream, rather than the original.

This seems to be working fine. However, I also have AES encryption enabled. It seems once this module is in place, it’s asking for the AES key for the transcoded stream, but keeps giving a 404 error. I’m wondering if this is because it’s creating a session for the original stream name, but not the AES segment?

Probably not very likely… but has anyone been in a similar situation? Or alternatively, can suggest a better way to ensure the transcoded stream replaces the original stream somehow?

Many thanks,

Matt

---

<div class="post-metadata">

### Author: ![Matt](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@Matt](https://community.wowza.com/u/Matt)
#### Post date: [June 14, 2017, 3:49pm UTC](https://community.wowza.com/t/imediastreamnamealiasprovider2-and-aes/48990/2 "2017-06-14T15:49:48Z")

</div>

The logs are throwing this out - 2017-06-14 15:35:21 UTC comment server WARN 200 - HTTPStreamerAdapterCupertinoStreamer.onEncKey: LiveStreamPacketizer not found [app/_definst_/123123\_t/key\_w2082103073.m3u8key?wowzasessionid=208203073&token=Ijv7pWgMBiiEKxNMtCVEwcQ370Fef2F%2FASk%3D]: cupertinostreamingpacketizer
