[Live-devel] RTSP - session not timing out

Ross Finlayson finlayson at live555.com
Tue Apr 18 02:18:36 PDT 2006


>The session should, however, have timed out since no more RTCP RRs are being
>send. Can this behaviour be somehow configured?

Yes, pass a non-zero "reclamationTestSeconds" parameter to 
"RTSPServer::createNew()".  This will cause the server to reclaim any 
sessions if no RTSP commands - or RTCP "RR" packets - are received 
within the specified number of seconds.

A reasonable value of "reclamationTestSeconds" is 45.

(Note, BTW, that the Amino set-top box does *not* send RTCP packets, 
because it is requesting and being sent a raw-UDP stream rather than 
RTP.  However, in place of RTCP "RR" packets, the Amino box will 
periodically issue RTSP "GET_PARAMETER" commands instead.)

Note also that you can't currently use the "reclamationTestSecond" 
feature for multicast streams, or for unicast on demand streams where 
"reuseFirstSource" is set to True.


	Ross Finlayson
	Live Networks, Inc. (LIVE555.COM)
	<http://www.live555.com/>



More information about the live-devel mailing list