[Live-devel] Detecting when a RTSP server has gone offline

Robin Imrie robin.imrie at dotorigin.com
Mon Jan 16 02:21:55 PST 2017


I did solve this just as you suggested I don't remember coming across the checkSessionTimeoutBrokenServer() function I will have a look at that soon to see if what I have missed.

Robin 

-----Original Message-----
From: live-devel [mailto:live-devel-bounces at ns.live555.com] On Behalf Of Ross Finlayson
Sent: 14 January 2017 04:58
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] Detecting when a RTSP server has gone offline


> On Dec 21, 2016, at 9:07 PM, Robin Imrie <robin.imrie at dotorigin.com> wrote:
> 
> I have adapted the testRTSPClient application so I can see the data received from my RSTP server which sends SOAP packets when various events occur (no audio or video data). These data packets are not continuous. However when I unplug it from the network there isn’t any notification that the server is now unavailable.
>  
> Do I need to periodically send keep alive messages?

I’m not quite sure what you’re asking, but - if you wish - you could modify your “testRTSPClient” application to periodically send an “OPTIONS” command to the server.  Look at how “openRTSP” implements the ‘-K’ option; specifically, note the “checkSessionTimeoutBrokenServer()” function in “playCommon.cpp”.


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


_______________________________________________
live-devel mailing list
live-devel at lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com ______________________________________________________________________

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________



More information about the live-devel mailing list