Use Wowza Streaming Engine™ media server software to stream video-on-demand (VOD) content to a wide variety of player technologies.
You can configure VOD streaming applications by using Wowza Streaming Engine Manager or by editing Application.xml. Both methods produce the same result; using Wowza Streaming Engine Manager is recommended.
Configure a VOD application in Wowza Streaming Engine Manager
The easiest way to set up a VOD streaming application is to use Wowza Streaming Engine Manager. This task uses the application vod to play the sample.mp4 video file. Both the application and the video are included in the default Wowza Streaming Engine installation. You can also follow this procedure to create a new vod streaming application.
Wowza Streaming Engine Manager works on most web browsers that support HTML5 and Cascading Style Sheets level 3 (CSS 3). We recommend Google Chrome.
- Make sure Wowza Streaming Engine Manager is running. See Start and stop Wowza Streaming Engine.
- Click the Applications tab at the top of the page.
- Configure the vod application:
In the Applications contents panel, click vod, and then click Edit. (If you want to create a new on-demand streaming application, click Add Application in the contents panel, click VOD Single server, name the application, and click Add.)
Select all of the Playback Types, and then click Save.
Note: A "Saved!" alert appears after each configuration change. However, wait until all changes are complete before you restart.
- Configure playback authentication:
In the contents panel, click Playback Security, and then click Edit.
On the Playback Security page, select No client restrictions, and then click Save.
- Click Restart Now.
Configure a VOD application in XML
Configuring the VOD application in XML is an alternative to configuring it in Wowza Streaming Engine Manager. Here's how to configure the vod application by editing the Application.xml configuration file.
Note: Wowza Media Server™ software doesn't support Wowza Streaming Engine Manager, so you must edit Application.xml if you're running Wowza Media Server.
- Create the folder [install-dir]/applications/vod.
- Create the folder [install-dir]/conf/vod and copy [install-dir]/conf/Application.xml to this new folder.
- Edit the newly copied Application.xml file and confirm or set the following properties:
- Set the Streams/StreamType property to:
- Set the HTTPStreamers property to:
- Set the RTP/Authentication/PlayMethod to:
- Set the Streams/StreamType property to:
- Restart Wowza Streaming Engine or Wowza Media Server.
In Wowza Streaming Engine Manager, click Test Players in the upper-right corner of the vod application page.
The Test Players window is preconfigured to stream the sample.mp4 video file over various streaming formats.
Each tab in the Test Players window either hosts a test player that you can use to play the video file, or provides instructions for playing the video file. For example, to use the Adobe HDS protocol to play the sample.mp4 video file, click the Adobe HDS tab, and then click Start.
- Server – Enter [wowza-ip-address]
- Application – Enter vod
- Media File Name – Enter mp4:sample.mp4
The test players are also online on our Video Test Players webpage.
Tip: To play your own VOD file, copy it to [install-dir]/content and use its file name the Media File Name field of the Test Players window.
You can also use example players installed at [install-dir]/examples/ to test your streaming applications. For more information see the following articles:
- Play streams with the Adobe RTMP example player in Wowza Streaming Engine
- Play streams with Adobe HDS example player in Wowza Streaming Engine
- Play streams with the Silverlight example player in Wowza Streaming Engine
- Play streams with the MPEG-DASH example player in Wowza Streaming Engine
- Play Wowza Streaming Engine streams on Apple iOS devices
- Play Wowza Streaming Engine streams on RTSP/RTP players
Configure adaptive bitrate streaming
Adaptive bitrate streaming requires multiple files that are encoded to a variety of bitrates. For the player to switch properly between bitrates, keyframes must be aligned across the files. You also must create a Synchronized Multimedia Integration Language (SMIL) file that links the files for playback. For details, see Stream adaptive bitrate content with Wowza Streaming Engine.
Check your UDP port
If you're delivering streams for playback over RTSP/RTP, be sure that UDP ports 0-65535 are open and properly mapped to your Wowza Streaming Engine server.
Note: To configure Wowza Streaming Engine for RTSP/RTP streaming, follow the instructions in Troubleshoot RTSP/RTP playback.
Force MPEG-TS output
When streaming out RTSP/RTP, you can force the output to MPEG-TS, which is required by many set-top boxes. For more information, see Generate and control MPEG-TS output for set-top boxes.
Change the AAC packetization method
Wowza Streaming Engine can use the mpeg4-generic or mp4a-latm (3gpp) packetization method to output AAC audio. The default packetization method is mpeg4-generic, but you can switch it.
Change the AAC packetization method in Wowza Streaming Engine Manager
- Click the Applications tab and then click the name of your VOD application in the contents panel.
- On the Properties tab of the VOD application page, click Custom in the Quick Links bar or scroll to the bottom of the page.
Note: Access to the Properties tab is limited to administrators with advanced permissions. For more information, see Manage credentials.
- In the Custom area, click Edit.
- Click Add Custom Property, specify the following settings in the Add Custom Property dialog box, and then click Add:
- Path – Select /Root/Application/RTP
- Name – Enter audioPacketizerAAC
- Type – Select String
- Value – Enter com.wowza.wms.rtp.packetizer.RTPPacketizerMPEG4LATM
- Click Save, and then restart the application to apply the changes.
Change the AAC packetization method in XML
- Use a text editor to open the [install-dir]/conf/[application]/Application.xml file for your VOD application and add the following property to the <RTP>/<Properties> container. Be sure to add it to the correct <Properties> container in Application.xml, as there are several in the file.
<Property> <Name>audioPacketizerAAC</Name> <Value>com.wowza.wms.rtp.packetizer.RTPPacketizerMPEG4LATM</Value> </Property>
- Restart Wowza Streaming Engine to apply the changes.