[Live-devel] Proxy Server (Back-end Session)

Bob Bischan bbischan at watchtower-security.com
Wed Oct 16 08:38:34 PDT 2013


Ross,

Thanks for the code update.

Looks like sending the session id in the OPTION header solved the problem!

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:

ProxyServerMediaSubsession["H264"]: received RTCP "BYE".  (The back-end
stream has ended.)
ProxyServerMediaSubsession["H264"]::~ProxyServerMediaSubsession()
Opening connection to 99.58.86.198, port 11034...

In tests that I ran later in the day I saw this message every time I waited
60 secs between test cycles.

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.

Bob


On Tue, Oct 15, 2013 at 7:29 PM, Ross Finlayson <finlayson at live555.com>wrote:

> 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.)
>
> 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.
>
> 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 :-)
>
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20131016/59286bde/attachment.html>


More information about the live-devel mailing list