HLS AES-128 Encyption for VOD

Hello,

i followed

https://www.wowza.com/docs/how-to-secure-apple-hls-streaming-using-drm-encryption

and

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(ModuleEncryptionHandlerCupertinoStreaming)

in order to set up AES encryption for HLS VOD streams. I use internal Wowza key creation and delivery.

I am using IMediaStreamNameAliasProvider2 to hide actual streams from customers. This allows only requests with a specific format in order to do DB lookup in the background and serve the actual requested file.

Within a chunkfile i have the following problem:

#EXTM3U

#EXT-X-VERSION:3

#EXT-X-TARGETDURATION:2

#EXT-X-MEDIA-SEQUENCE:0

#EXT-X-KEY:METHOD=AES-128,URI=""

#EXTINF:2.0,

As you can see, the URL for the encyption key is presented as the resolved URL which should not be visible to the user (if someone looks into the chunk file) and it is again passed to the resolve logic which then failes because it is in a wrong (already resolved) format.

Is this intentional? Is there a property which needs to be set in oder to have aliases for encyption key URLs as well?

I am using WMS 4.4! Please help!

Regards,

Thomas