[Live-devel] how to define that client is died?
Ross Finlayson
finlayson at live555.com
Fri Mar 30 07:45:29 PDT 2007
>Client requested video on demand. After few minutes client's network was
>disconnected (and probably will never connect again). But server
>continues send UDP packets to non-existent network and never will stop.
>How we can define that client does not exist anymore? I think RTCP can
>help in this case.
Yes. The "reclamationTestSeconds" parameter to
"RTSPServer::createNew()" is used to set a timeout in client
inactivity. The default value is 45 (seconds). Therefore, if a
RTSP/RTP client dies, then the server will stop sending to it within
45 seconds.
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
More information about the live-devel
mailing list