This article describes how to test AES-128 encryption for a Wowza Streaming Engine™ media server software video-on-demand stream delivered over Apple HLS to iOS-based devices. You can test AES encryption by playing a chunk (a .ts file) from the encrypted stream in VLC media player. If AES encryption is working correctly, the chunk can't be played in VLC.
- For instructions on configuring AES-128 encryption, see Secure Apple HLS with AES-128 external encryption in Wowza Streaming Engine.
- This article uses the vod application that ships with Wowza Streaming Engine and the sample video file [install-dir]/content/sample.mp4. Be sure to substitute your application name and stream name appropriately.
- In a web browser, enter the URL of an Apple streaming playlist (.m3u8) file. For example:
- Save the playlist file to your computer. The file contents will be similar to the following:
- Open the playlist file in a text editor and copy the chunklist file information. For example. chunklist_w1776170579.m3u8.
- In a web browser, append the copied chunklist file information to the base stream name URL. For example:
- Save the chunklist file to your computer.
- Open the chunklist file in a text editor and copy one of the .ts file URLs. For example, media_w1776170579_13821.ts.
- In a web browser, append the copied .ts file URL to the base stream name URL. For example:
- Save the .ts file to your computer.
- Open the saved .ts file in VLC media player. If the file is encrypted correctly, VLS won't be able to play the file and the following error message will be displayed:
No suitable decoder module:
VLC does not support the audio or video format "undf". Unfortunately there is no way for you to fix this.
- Review the contents of the playlist file to validate what encryption method information is present. For AES-128 bit encryption, the information will be similar to the following: