[Live-devel] Is there a better command to use other than OPTION for keep-alive?
Craig Matsuura
cmatsuura at vivint.com
Wed Nov 20 08:15:34 PST 2013
I see that the OPTION command is used for keeping a stream alive. I
there a better command that can be used that can also indicate the
stream is still running? If an OPTION is send on or outside the timeout
of the camera the stream stops but what is the indication that it has
stopped?
I see that the ProxyServerMediaSession.cpp method
ProxyRTSPClient::scheduleLivenessCommand has the following comment:
// Choose a random time from [delayMax/2,delayMax) seconds:
If delayMax is choosen, and a camera reports timeout=XX, should XX ever
be used? With latency in some systems sending an OPTION command, or
very slow wifi you could get outside this window I believe?
I think a delayMax should never be used, but something less than the max?
Thanks,
Craig
More information about the live-devel
mailing list