Step by step instructions for Re-streaming and RTSP stream through Wowza Pro.
-
Download and install Wowza Media Server Pro (version: Wowza Pro 1.7.0 or greater is required)
-
Download and install the most recent patch to get RTSP/RTP interleaving feature: https://www.wowza.com/devbuild.html
-
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>
-
Add following properties to MediaCaster/Properties container (there are several containers, be sure to add to correct container)
<Property> <Name>forceInterleaved</Name> <Value>true</Value> <Type>Boolean</Type> </Property>
-
Startup the Wowza Pro server
-
To play the stream, double click [install-dir]/examples/LiveVideoStreaming/client/live.html enter the following information and click the Play button:
[b]Server[/b] to [b]rtmp://[server-ip-address]/rtplive[/b] [b]Stream[/b] to [b][noparse]rtsp://[encoder-ip-address][/noparse][/b] (Example: [noparse]rtsp://192.168.1.8:554[/noparse])
Where [server-ip-address] is the ip address of the server running Wowza Pro and [encoder-ip-address] is the ip address of the RTSP device.
Note: Some cameras do not support RTSP/RTP interleaving (sending the RTP packet data over the RTSP TCP connection) If this is the case then set the forceInterleaved property above to false, restart Wowza Media Server and try to play the stream.
Note: Some cameras do not send RTCP packets. If you see the warning log message:
Edit [install-dir]/rtplive/Application.xml and change the RTP/AVSyncMethod to systemclock.
Note: If you are re-streaming an H.264 stream from an Axis Communications camera such as the following models (which natively support H.264): M1011(-W), M1031-W, P3301(-V), Q1755, Q6032 the RTSP url take the form:
where [camera-ip-address] is the ip adress of the Axis camera.
Note: By default Wowza Pro streams using UDP on ports 6970 - 9999 and TCP port 554. This can be a problem if you are streaming to a Wowza Pro server or Oscar that is behind a firewall on which these ports are blocked. To resolve this issue, you need to open up the UDP port range 6970 - 9999 and TCP port 554 on any firewalls between the Oscar encoder and Wowza Pro. You may also need to adjust the [oscar-ip-address] if the Oscar is behind a router that has provided a NAT address for the device.
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: There is an issue when re-streaming an RTSP/RTP stream that is hosted by Quicktime Streaming Server (Darwin, QTSS) that after 2 minutes of streaming the stream will be dropped by QTSS. This is caused by the fact that Wowza Pro does not send RTCP Receiver Report packets back to QTSS. This causes QTSS to timeout and disconnect the stream based on the rtp_timeout value defined in streamingserver.xml. The current workaround for this issue is to set the rtp_timeout property in QTSS to 0 (zero) which will disable this timeout feature. We are investigating supporting RTCP RR packets in a future release of Wowza Pro.
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.
See this post for troubleshooting tips:
Troubleshooting live streaming issues
Charlie
HI,
I managed to stream video from a rtsp stream, but I can not get audio … my test is: www.meway.it/clienti/genius
With vlc I can receive audio and video from the address rtsp://212.103.211.83:554/geniustv_live
I hope you can help me!