[Live-devel] How to dectect the client is still alive oe not ?

Ross Finlayson finlayson at live555.com
Sun Feb 26 18:59:01 PST 2006


>Whether to detect this kind of situation and the Server can 
>terminate this connect by itself.

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.

>Someone knows how to modfiy the *.cpp code in liveMedia project

Nothing needs to be modified; the code already includes this 
functionality (see above).


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



More information about the live-devel mailing list