Wowza AES-128 internal doesn't work

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

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

My m3u8 manifest looks like this:

#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:

#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:

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

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

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

buy essay online