> Using testOnDemandRTSPServer as rtsp server. > Sometimes, client lose connection with server because of bad wifi. > > Now, we know server have a timeout 65 sec to keep this connection alive. > But, we want to drop this client as soon as possible. > > So, do you know there is a way to know rtsp session is down and shutdown > proper client?
In general, no, because the OS can keep a TCP connection (and thus socket) alive for a long time after it last heard from the remote endpoint. However, if you wish you can, of course, reduce the 65 second timeout by changing the “reclamationSeconds” parameter in “RTSPServer::createNew()”. Ross Finlayson Live Networks, Inc. http://www.live555.com/ _______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel