# Wowza AES-128 internal doesn't work

**URL:** <https://community.wowza.com/t/wowza-aes-128-internal-doesnt-work/51649>\
**Category:** Wowza Streaming Engine\
**Created:** [July 23, 2018, 3:18am UTC](https://community.wowza.com/t/wowza-aes-128-internal-doesnt-work/51649 "2018-07-23T03:18:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kostas\_Koutos](https://avatars.discourse-cdn.com/v4/letter/k/edb3f5/32.png) [@Kostas\_Koutos](https://community.wowza.com/u/Kostas_Koutos)\
**Post date:** [July 23, 2018, 3:18am UTC](https://community.wowza.com/t/wowza-aes-128-internal-doesnt-work/51649/1 "2018-07-23T03:18:21Z")

</div>

Hello,

I followed all the steps from this URL to setup aes-128:

[https://www.wowza.com/docs/how-to-use-the-internal-method-of-aes-128-encryption-to-secure-live-or-vod-streams-sent-to-apple-ios-devices-moduleencryptionhandlercupertinostreaming](https://www.wowza.com/docs/how-to-use-the-internal-method-of-aes-128-encryption-to-secure-live-or-vod-streams-sent-to-apple-ios-devices-moduleencryptionhandlercupertinostreaming)

Also i used Eclipse to build the module but i am getting Unknown video and audio codec from the player.

Additionally i downloaded the removed modules jar file from here but i had the same issue:

[https://www.wowza.com/docs/utility-modules-for-wowza-streaming-engine-media-server-software](https://www.wowza.com/docs/utility-modules-for-wowza-streaming-engine-media-server-software)

My m3u8 manifest looks like this:

```auto
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:BANDWIDTH=248000,NAME="Low",RESOLUTION=288x162
chunklist_w475766721_b248000_sleng_t64TG93_tkd293emF0b2tlbnN0YXJ0dGltZT0wJndvd3phdG9rZW5lbmR0aW1lPTE1MzIyOTMzODAmd293emF0b2tlbmhhc2g9SWhpdDJzTDNLZ2Uta01rN1ZmN0RQQXR3YUtTeThRMkcyWUVBSFR3T3U5dz0=.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=398000,NAME="Mid1",RESOLUTION=384x216
chunklist_w475766721_b398000_sleng_t64TWlkMQ==_tkd293emF0b2tlbnN0YXJ0dGltZT0wJndvd3phdG9rZW5lbmR0aW1lPTE1MzIyOTMzODAmd293emF0b2tlbmhhc2g9SWhpdDJzTDNLZ2Uta01rN1ZmN0RQQXR3YUtTeThRMkcyWUVBSFR3T3U5dz0=.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=898000,NAME="Mid2",RESOLUTION=640x360
chunklist_w475766721_b898000_sleng_t64TWlkMg==_tkd293emF0b2tlbnN0YXJ0dGltZT0wJndvd3phdG9rZW5lbmR0aW1lPTE1MzIyOTMzODAmd293emF0b2tlbmhhc2g9SWhpdDJzTDNLZ2Uta01rN1ZmN0RQQXR3YUtTeThRMkcyWUVBSFR3T3U5dz0=.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=1348000,NAME="High",RESOLUTION=768x432
chunklist_w475766721_b1348000_sleng_t64SGlnaA==_tkd293emF0b2tlbnN0YXJ0dGltZT0wJndvd3phdG9rZW5lbmR0aW1lPTE1MzIyOTMzODAmd293emF0b2tlbmhhc2g9SWhpdDJzTDNLZ2Uta01rN1ZmN0RQQXR3YUtTeThRMkcyWUVBSFR3T3U5dz0=.m3u8

```

and the first manifest that called looks like this:

```auto
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:10
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-KEY:METHOD=AES-128,URI="http://192.168.20.51:1935/vod/_definst_/smil:bigbuckbunny/bigbuckbunny.smil/key_w475766721_b248000_sleng_t64TG93.m3u8key?wowzasessionid=475766721"
#EXTINF:10.0,
media_w475766721_b248000_sleng_t64TG93_tkd293emF0b2tlbnN0YXJ0dGltZT0wJndvd3phdG9rZW5lbmR0aW1lPTE1MzIyOTMzODAmd293emF0b2tlbmhhc2g9SWhpdDJzTDNLZ2Uta01rN1ZmN0RQQXR3YUtTeThRMkcyWUVBSFR3T3U5dz0=_0.ts
#EXTINF:10.0,

```

and this is the response from the AES URI:

```auto
curl -I http://192.168.20.51:1935/vod/_definst_/smil:bigbuckbunny/bigbuckbunny.smil/key_w475766721_b248000_sleng_t64TG93.m3u8key?wowzasessionid=475766721

HTTP/1.1 200 OK

Accept-Ranges: bytes

Access-Control-Expose-Headers: Date, Server, Content-Type, Content-Length

Server: WowzaStreamingEngine/4.7.5

Cache-Control: no-cache

Access-Control-Allow-Origin: *

Access-Control-Allow-Credentials: true

Access-Control-Allow-Methods: OPTIONS, GET, POST, HEAD

Access-Control-Allow-Headers: Content-Type, User-Agent, If-Modified-Since, Cache-Control, Range

Date: Sun, 22 Jul 2018 21:04:38 GMT

Content-Type: binary/octet-stream

Content-Length: 16

```

I don’t know what else to check, can someone help me?

Thanks

---

<div class="post-metadata">

**Author:** ![Kostas\_Koutos](https://avatars.discourse-cdn.com/v4/letter/k/edb3f5/32.png) [@Kostas\_Koutos](https://community.wowza.com/u/Kostas_Koutos)\
**Post date:** [July 25, 2018, 12:59pm UTC](https://community.wowza.com/t/wowza-aes-128-internal-doesnt-work/51649/2 "2018-07-25T12:59:34Z")

</div>

Hi again,

Do i need to transcode the mp4 files with the AES key? Or this is happening automatically with the stream pacjaging from Wowza

---

<div class="post-metadata">

**Author:** ![Huzaifa\_seo](https://avatars.discourse-cdn.com/v4/letter/h/ee7513/32.png) [@Huzaifa\_seo](https://community.wowza.com/u/Huzaifa_seo)\
**Post date:** [November 7, 2018, 8:14am UTC](https://community.wowza.com/t/wowza-aes-128-internal-doesnt-work/51649/3 "2018-11-07T08:14:48Z")

</div>

Really nice and interesting post. I was looking for this kind of information and enjoyed reading this one.

[buy essay online](https://www.mhrwriter.co.uk/buy-essay-online)
