Use Wowza Streaming Engine™ media server software to stream video-on-demand (VOD) content to a wide variety of player technologies.
Video tutorial: Set up VOD streaming
See how to configure a VOD application in Wowza Streaming Engine Manager and test playback of a VOD file.
Create and configure a VOD application
The easiest way to set up a VOD streaming application is to use Wowza Streaming Engine Manager. This task uses a VOD application to play the installed sample.mp4 video file.
- In Wowza Streaming Engine Manager, click the Applications tab at the top of the page and then click Add Application.
- On the Add Application page, select the VOD Single server application type.
- In the New Application dialog box, enter a name, and then click Add.
- Click Save.
- Configure your VOD application:
- From the application's page, click Edit.
- 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.
The application runs whenever Wowza Streaming Engine is running.
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.
You can use the sample.mp4 video file as a VOD stream source (stream name) and your application to test your configuration.
To test playback, you need the playback URLs for your stream and the playback types, or streaming protocols, you want to test. You can get playback URLs from the Test Playback window in Wowza Streaming Engine Manager or by entering information about the stream on the Video Test Players webpage. For more information about playback URLs, see About playing Wowza Streaming Engine streams.
The Test Playback window generates playback URLs for each protocol based on the page you're on when you click Test Playback. You can also edit the Server (IP address or domain name), Stream or Media File Name, and Application fields to update the playback URLs for all protocols as needed.
To play your stream, enter the playback URL into your player or a mobile browser, depending on the playback type. To learn more about stream playback, see the Players and Playback articles.
You can also test playback using the Video Test Players webpage. Select the tab for the protocol you want to test and enter the playback URL above the player. Entering the server (IP address or domain name), stream name, application name, and application type (VOD or live) will also generate the playback URLs for each protocol. Click Start to play your stream, and then click Stop when you're ready to end your test.
Tip: To play your own VOD file, copy it to [install-dir]/content and use its file name as the stream name. By default, Wowza Streaming Engine streams VOD content from the [install-dir]/content folder. To specify a different storage location for a VOD application in Wowza Streaming Engine Manager, change the Content Directory value for the application. See Change where Wowza Streaming Engine stores video-on-demand content.
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 audioPacketizerAAC 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.