Step by step instructions for using a native RTP encoder (an encoder without RTSP announce capabilties) with Wowza Pro (Flash Player version 9.0.115.0 or greater is required).
-
Download and install Wowza Media Server Pro (version: Wowza Pro 1.7.0 or greater)
-
Create a new Wowza Pro application for streaming (may already exist if examples installed)
-
Create the folder [install-dir]/applications/rtplive
-
Create the folder [install-dir]/conf/rtplive
-
Copy the file [install-dir]/conf/Application.xml into this new folder [install-dir]/conf/rtplive
-
Edit the newly copied Application.xml and make the following changes:
-
Change Streams/StreamType to rtp-live
-
Add following properties to Streams/Properties container (there are several containers, be sure to add to correct container)
<Property> <Name>sortPackets</Name> <Value>true</Value> <Type>Boolean</Type> </Property> <Property> <Name>sortBufferSize</Name> <Value>500</Value> <Type>Integer</Type> </Property>
-
Startup the Wowza Pro server
-
From the encoder generate a Session Description Protocol (SDP) file that describes the native stream (consult your encoders documentation for instructions on how to do this) use the filename myStream.sdp
-
Copy the SDP file into the [install-dir]/content folder
-
To play the stream, double click [install-dir]/examples/LiveVideoStreaming/client/live.html, set Server to rtmp://[server-ip-address]/rtplive and Stream to myStream.sdp and click the Play button
[install-dir]
Windows (default): C:\Program Files\Wowza Media Systems\Wowza Media Server Pro [version]
Mac OS X: /Library/WowzaMediaServerPro
Linux: /usr/local/WowzaMediaServerPro
**Note:**The Session Description Protocol (SDP) information can also be made available to Wowza Pro through a URL. Using this method the stream name is rtplive:[SDP URL]. For example if the SDP information is hosted at the web address:
http://192.168.1.7/rtp/myStream.sdp
Use the stream name:
rtplive:http://192.168.1.7/rtp/myStream.sdp
Note: Many players will not accept stream names that look like urls. You can use the stream name alias package to create an alias for the stream name url. This package can also be used to secure Wowza Pro so that it will only be able to restream urls that you specify. This package can be downloaded from here: StreamNameAlias.
Note: Configure the encoder to send the stream to the Wowza Pro server’s ip address. If the Wowza Pro server is behind a router that uses NAT (network address translation) send it to the routers external ip address and be sure to map the UDP port to the correct internal ip address. Be sure that the time-to-live value on the encoder is high enough so that the stream is able to reach the server running Wowza Pro (time-to-live explained)
Note: If you experience problems getting either the audio or video to play through Flash, double check the version number of the Flash player (Flash player version 9.0.115.0 or above is required). If you still have problems, turn on Wowza Pro debug logging (edit [install-dir]/conf/log4j.properties and change the log4j.rootCategory on the first line from INFO to DEBUG), try the encoder several more times, zip up and send your [install-dir]/logs folder along with screen shots of the encoder setup screens and the LiveVideoStreaming player screen and send a detailed description of your problem to support@wowza.com.
Charlie