[Live-devel] continueAfterOPTIONS late

Ross Finlayson finlayson at live555.com
Wed Nov 20 20:59:11 PST 2013


> If the continueAfterOPTIONS command is late (longer than the liveness 
> timeout) I assume the camera would time out and shutdown the session?  I 
> don't see anywhere in continueAfterLivenessCommand that it handles this?

Phew...
1/ The interval between two successive "OPTIONS" commands will almost never exceed the "timeout=" parameter that the server reported.  (A future release of the software will ensure that it *never* exceeds this - because the interval will be randomly chosen from "[delayMax/2,delayMax-1)" instead of the current "[delayMax/2,delayMax)".)
2/ In any case, this shouldn't matter, because - as I've said AD NAUSEAM - the proxy server will send RTCP "RR" packets far more frequently than this, and standards-compliant (i.e., correctly implemented) server will use these as an indication that the proxy server is still alive.
3/ Should the camera "time out the shutdown the session" - for any reason - then the subsequent "OPTIONS" command from the proxy server will fail, and the proxy server will then reopen the connection.  That's the PRIMARY PURPOSE of the periodic "OPTIONS" commands: To check whether the server still thinks that the session is alive.


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/20131120/e7a6db44/attachment.html>


More information about the live-devel mailing list