Step by step instructions for using Telestream Wirecast encoder with Wowza Pro (Flash Player version 9.0.115.0 or greater is required). There are two methods for streaming from Wirecast to Wowza Pro; RTMP and RTSP/RTP. This post provides instructions for both methods of streaming.
RTMP based streaming
-
Download and install Wowza Media Server Pro 1.7.2 or greater
-
Create a new Wowza Pro application for streaming (may already exist if examples installed)
-
Create the folder [install-dir]/applications/live
-
Create the folder [install-dir]/conf/live
-
Copy the file [install-dir]/conf/Application.xml into this new folder [install-dir]/conf/live
-
Edit the newly copied Application.xml and change Streams/StreamType to live
-
Startup the Wowza Pro server
-
Hook up webcamera to PC
-
Download and install Telestream Wirecast
-
Startup Wirecast and click the thumbnail of your web camera in the media list
-
Configure Wirecast broadcast settings
-
Select the menu item Broadcast: Broadcast Settings…
-
Change Encoder Preset drop down to any of the Flash… based presets
-
Change Destination drop down to RTMP Flash Server
-
Change Address to rtmp://[server-ip-address]/live
-
Change Stream to myStream
-
Click Save button
-
To broadcast to Wowza Pro, select the menu item Broadcast: Network Broadcast: Start All
-
To play the stream, double click the LiveVideoStreaming enter the following values and click Play:
Server: rtmp://[server-ip-address]/live Stream: myStream [i]where [server-ip-address] is the ip address of the server running Wowza Pro[/i]
RTSP/RTP based streaming
-
Download and install Wowza Media Server Pro 1.7.2 or greater
-
Create a new Wowza Pro application for streaming (may already exist if examples installed)
-
Create the folder [install-dir]/applications/live
-
Create the folder [install-dir]/conf/live
-
Copy the file [install-dir]/conf/Application.xml into this new folder [install-dir]/conf/live
-
Edit the newly copied Application.xml and make following edits:
-
Change Streams/StreamType to 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>
-
Edit the file [install-dir]/conf/rtp.password (or [install-dir]/conf/publish.password if Wowza Media Server 2) and add a username and password
Here is an example of the password file with the username charlie and password changeme
# RTP password file (format [username][space][password]) #username password charlie changeme
-
Startup the Wowza Pro server
-
Hook up webcamera to PC
-
Download and install Telestream Wirecast
-
Startup Wirecast and click the thumbnail of your web camera in the media list
-
Create a new H.264/AAC encoder preset
-
Select the menu item Window: Encoder Presets
-
From the Encoder Preset drop down menu select <New…>, enter a name for your preset and click OK
-
Change the Output Format drop down to QuickTime
-
Select the Video tab, change the Encoder drop down menu to H.264 and change and other settings as desired
-
Select the Audio tab, change the Encoder drop down menu to MPEG-4 Audio and change and other settings as desired
-
Click Save button
-
Configure broadcast settings
-
Select the menu item Broadcast: Broadcast Settings…
-
Change Encoder Preset drop down to encoder preset you created above
-
Change Destination drop down to Announce to QuickTime Streaming Server
-
Change Host Name to [server-ip-address]:1935 (where [server-ip-address] is the ip address of the server running Wowza Pro)
-
Change File Location to live/myStream.sdp (the format of this field as it relates to Wowza Pro is [application]/[application-instance]/[stream] if [application-instance] is omitted it defaults to definst)
-
Enter the Username and Password added to the conf/rtp.password file above to the appropriate fields
-
Click Save button
-
To broadcast to Wowza Pro, select the menu item Broadcast: Network Broadcast: Start All
-
To play the stream, double click the LiveVideoStreaming (previously On2 Flix Live) example player ([install-dir]/LiveVideoStreaming/client/live.html), enter the following values and click Play:
Server: rtmp://[server-ip-address]/live Stream: myStream.sdp [i]where [server-ip-address] is the ip address of the server running Wowza Pro[/i]
[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: When streaming using RTSP/RTP method, Wirecast streams using UDP on ports 6970 - 9999. This can be a problem if you are streaming to a Wowza Pro server that is behind a firewall on which these ports are blocked. To resolve this issue, open up the UDP port range 6970 - 9999 on your firewall. Another solution would be to check the box Broadcast over TCP to interleave the media traffic on TCP port 1935 but this option is currently broken in Wirecast. We are working with the Vara Software development team to get his resolved.
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