<div dir="ltr"><div>Ross,</div><div><br></div>Thanks for the code update.<div><br></div><div>Looks like sending the session id in the OPTION header solved the problem!</div><div><br></div><div>After my original post yesterday, I did determine that Axis cameras have a session time-out (default 60 sec) setting that was tearing down the session. The only thing I cannot explain is why the log file from yesterday did not have the following:</div>
<div><br></div><div><div>ProxyServerMediaSubsession["H264"]: received RTCP "BYE". (The back-end stream has ended.)</div><div>ProxyServerMediaSubsession["H264"]::~ProxyServerMediaSubsession()</div>
<div>Opening connection to 99.58.86.198, port 11034...</div></div><div><br></div><div>In tests that I ran later in the day I saw this message every time I waited 60 secs between test cycles. </div><div><br></div><div>So, it appears that the camera does send a message on time-out...and based on my observations Proxy Server handles this correctly. I'm at a loss as to why "BYE" was not received in the original case. I suppose there could have been dropped packets, loss of connectivuty...etc. </div>
<div><br></div><div>Bob</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Oct 15, 2013 at 7:29 PM, Ross Finlayson <span dir="ltr"><<a href="mailto:finlayson@live555.com" target="_blank">finlayson@live555.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Unfortunately I can't tell why the 'back-end' server (an Axis camera) is timing out the sessions. (It is apparently a bug in the cameras.)<div>
<br></div><div>However, in hope of preventing this from happening, I've now installed a new version (2013.10.16) of the "LIVE555 Streaming Media" code that now includes "Session:" header in each "OPTIONS" request (if we're currently part of a session). I'm hoping that this will either cause your back-end server (Axis camera) to keep its session alive, or - if it doesn't - at least cause the camera to return an error response for the "OPTIONS" command after it (for whatever reason) times its session out.</div>
<div><br></div><div>Please let me know if this fixes your problem. If it doesn't, then Axis will need to fix their cameras to become more standards compliant. (As always, I'm willing to help Axis (and any other network camera manufacturer) make their systems more compliant. There's at least one Axis employee on this mailing list; you know how to get hold of me :-)</div>
<div class="im"><br><br><div>
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">Ross Finlayson<br>
Live Networks, Inc.<br><a href="http://www.live555.com/" target="_blank">http://www.live555.com/</a></span></span>
</div>
<br></div></div><br>_______________________________________________<br>
live-devel mailing list<br>
<a href="mailto:live-devel@lists.live555.com">live-devel@lists.live555.com</a><br>
<a href="http://lists.live555.com/mailman/listinfo/live-devel" target="_blank">http://lists.live555.com/mailman/listinfo/live-devel</a><br></blockquote></div></div></div>