Wowza Secure Streaming for Live and VOD uses Rotation of 5-Keys AES-128

i have a task to create this for my company :

Create a module in jar library,
Wowza Secure Streaming for Live and VOD uses Rotation of 5-Keys AES-128,
for Live Streaming then rotate key every 12 minutes,
for VOD Streaming then rotate key every 10 chunks,This module works for HLS-Engine only (Wowza-Cupertino-Engine)

and the result is here

https://drive.google.com/file/d/1IA14ZwjdmED14nLTtZ97fPK-_i1iKOW2/view?usp=sharing

for VOD, it works fine,
but for Live, key url of encInfo never shown.

Would you mind reviewing my code ?

https://drive.google.com/open?id=1BEkIwEGzAaPW-M8XoQyLXXyIauTwgSL7

Hello @Diorama Yuanito, Wowza will be happy to review your code and logs through a support ticket which you can easily submit here.

Thank you for all you posted, but tech support does not review code in the forums since there is a certain procedure to follow and they need all your files and logs zipped up and sumbitted to run tests.

Ok miss Rose, thanks alot for your Information

Thanks alot miss Rose, finally we can make our module running well to gain our objectives.

Wowza team give me a clue : We should run this module in live Origin too

wss-ext-x-key.png

That’s great to hear @Diorama Yuanito and so glad you submitted a ticket so we could properly assist you. Thanks for sharing the that the solution was to run it in origin mode.