RTP Session Properties Description

I’m trying to understand how the various timeout variables in wowza affect when/how a connection is closed between wowza and an IP Camera RTSP source.

I’ve looked at the Configuration Reference document under the MediaCasters.xml section, and found descriptions for MediaCaster/ConnectionTimeout and MediaCaster/KeepAliveTime, which make sense. However, I could not find a description for the following variables:

		<MediaCaster>
			<Name>rtp</Name>
			<Properties>
				<Property>
					<Name>streamTimeout</Name>
					<Value>12000</Value>
					<Type>Integer</Type>
				</Property>
				<Property>
					<Name>rtspConnectionTimeout</Name>
					<Value>4000</Value>
					<Type>Integer</Type>
				</Property>
				<Property>
					<Name>rtspSessionTimeout</Name>
					<Value>15000</Value>
					<Type>Integer</Type>
				</Property>
				<Property>
					<Name>sdpFileCheckFreqency</Name>
					<Value>4000</Value>
					<Type>Integer</Type>
				</Property>
				<Property>
					<Name>sdpHTTPCheckFreqency</Name>
					<Value>4000</Value>
					<Type>Integer</Type>
				</Property>
			</Properties>
		</MediaCaster>

For example how is MediaCaster/ConnectionTimeout different from MediaCaster/Properties/Property/name/rtspConnectionTimeout

Sorry if this information is easy to find. If you just want to point me to another document, that would be great.

  • streamTimeout: If set to value greater than zero Wowza will monitor the stream. If there is a break in the stream for longer than streamTimeout milliseconds it will reset the connection to the camera

  • rtspConnectionTimeout: The TCP connection timeout in milliseconds for making the initial TCP connection to the camera.

  • rtspSessionTimeout: Wowza will validate the connection to the camera by sending GET_PARAMETER messages every rtspSessionTimeout milliseconds

  • sdpFileCheckFreqency: If using SDP files (native RTP) this is a frequency Wowza will check the SDP file to see if it has updated. If it has updated it will reset the stream based on the SDP file.

  • sdpHTTPCheckFreqency: If using SDP data loaded from HTTP URL this is the frequency Wowza will request the SDP data and check against the original data and will reset the stream if it has changed.

    Charlie

Thanks Charlie. That’s very clear.

One more follow-up. What would be a reason for setting rtspConnectionTimeout and MediaCaster/ConnectionTimeout to different values - it looks like they are doing the same thing. Is it just that they operate at different layers (network/application), but for the most part they should be kept the same?