Using Vara Software's Wirecast live encoder with Wowza Pro (RTSP/RTP)
- Download and install Wowza Media Server Pro (version: Wowza Pro 1.5.0-preview2 or greater)
- Create a new Wowza Pro application for streaming (may already exist if examples installed)
- Create the folder [install-dir]/applications/streamtest
- Create the folder [install-dir]/conf/streamtest
- Copy the file [install-dir]/conf/Application.xml into this new folder [install-dir]/conf/streamtest
- 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 Vara Software's 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
- Click the Encoder Preset: Edit... button
- 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 the Save button to save your new preset
- Configure broadcast settings
- Select the menu item Broadcast: Broadcast Settings...
- Change the Encoder Preset drop down to encoder preset you created above
- Change the 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 streamtest/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_)
- Click the Save button to save your broadcast settings
- To broadcast to Wowza Pro, select the menu item Broadcast: Start Broadcasting
Flash播放代码,
Server: rtmp://[server-ip-address]/streamtest
Stream: myStream.sdp
具体Flahs播放代码参考http://www.cnweblog.com/fly2700/archive/2008/04/11/281632.html
注意:
1、Wirecast和wowza不要放在一台服务器上,否则端口冲突
2、Flash Player version 9.0.115.0 or greater is required.