[Live-devel] how to define that client is died?

Ashutosh Dutta adutta at research.telcordia.com
Fri Mar 30 08:21:52 PDT 2007


I have a similar question in the case of server inactivity. What happens 
to the client if it does not receive any RTP stream for sometime from 
the server? Can RTCP info be used to signal the client to behave 
accordingly?

Thanks
Ashutosh


Ross Finlayson wrote:
>> 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.


More information about the live-devel mailing list