Wowza Community

Configuring RTSP/RTP re-streaming retry count

Hi,

When there is a problem with rtsp stream, wowza seems to retry so many times to connect to the stream and it wrote this in loop:

omment	server	WARN	200	-	RTPSessionDescriptionDataProviderBasic.getStreamInfo: RTSP/RTP re-streaming timeout.	-	-	-	233.406	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2010-09-17	10:13:34	CEST	comment	server	INFO	200	-	RTPSessionTracker.add[rtsp://192.42.172.85:554/getMedia?sessionId=5fceffce-076b-4d28-a1b8-d271721575bc]: 1	-	-	-	233.515	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2010-09-17	10:13:34	CEST	comment	server	INFO	200	-	RTPSessionDescriptionDataProviderBasicRTSPWorker.onClose	-	-	-	233.515	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2010-09-17	10:13:34	CEST	comment	server	INFO	200	-	RTPSessionTracker.remove[rtsp://192.42.172.85:554/getMedia?sessionId=5fceffce-076b-4d28-a1b8-d271721575bc]: 0:true	-	-	-	233.515	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-

is it possible to configure the maximum number of retry ?

In advance, Thanks

I don’t think so. You can change the frequency by setting the MediaCaster/Property streamTime. Edit conf/[application]/Application.xml and add the following properties to the MediaCaster/Properties container (be sure to add it to the correct container there are several Properties containers):

<Property>
	<Name>streamTimeout</Name>
	<Value>8000</Value>
	<Type>Integer</Type>
</Property>

8000 milliseconds (8 seconds) is the default.

Richard