[Live-devel] Hooking into LivenessCommand
Craig Matsuura
cmatsuura at vivint.com
Tue Nov 19 16:46:43 PST 2013
I want to integrate the capability into my app and not look at logs. My app is a proxy server that I can add and remove camera dynamically. So looking at log messages is not ideal. I did sub class the base environment and override the logging to capture to log else where besides stderr. So it could be done. Are the logs guaranteed to stay the same?
Thanks,
Craig
Sent from my Verizon Wireless 4G LTE DROID
Ross Finlayson <finlayson at live555.com> wrote:
On Nov 19, 2013, at 3:37 PM, Craig Matsuura <cmatsuura at vivint.com<mailto:cmatsuura at vivint.com>> wrote:
I'm looking at using the liveness to indicate to my app if the cameras
are online, I was going to sub-class ProxyRTSPClient and override
continueAfterLivenessCommand, but it is not virtual. Is there a better
way to hook the continueAfterLivenessCommand, so I can determine if the
connection to the camera is still live or online state of the cameras
I'm connecting too?
You don't need to modify any code at all. Just run the "LIVE555 Proxy Server" with the "-V" (verbose output) option. You'll then see quite clearly if/when the RTSP "OPTIONS" command (sent periodically by the proxy to the back-end server) is being replied to.
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/20131119/b568bafd/attachment.html>
More information about the live-devel
mailing list