[Live-devel] Server liveness

Ross Finlayson finlayson at live555.com
Sat Feb 18 09:08:54 PST 2012


> I was wondering if there is a way for the clients to check if the server is still alive.

Yes, you could listen for RTCP "SR" packets (that the server sends frequently), and close the client's connection if such packets (and, of course, regular data) doesn't arrive within a certain period of time (e.g., within 30 seconds).

Note the function "RTCPInstance::setSRHandler()" (in "liveMedia/include/RCTP.hh").

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120219/5886670e/attachment.html>


More information about the live-devel mailing list