Hi Ross,

So I contacted the camera manufacturer (Hikvision) and asked them about the 
PAUSE command, and they said:

" If you directly send Pause command to our device, it will not active, because 
it is real time decoding."

Then I looked up the method definitions in the RFC 
(https://tools.ietf.org/html/rfc2326#page-29) which says:

" Notes on Table 2: PAUSE is recommended, but not required in that a
   fully functional server can be built that does not support this
   method, for example, for live feeds."

Would it be hard to change the proxy behavior to disconnect instead of sending 
PAUSE when the last client disconnects? Perhaps via a command line switch to 
indicate server does not support PAUSE.

What I did try was simply replacing the sendPauseCommand with 
sendTeardownCommand, and then the data stream is stopped, but that creates 
issues because the proxy afterwards tries to resume the session..

Best regards,

Saskia

---------------------------------------------------------------

Message: 5
Date: Thu, 16 Jun 2016 02:26:42 -0700
From: Ross Finlayson <finlay...@live555.com>
To: LIVE555 Streaming Media - development & use
        <live-de...@ns.live555.com>
Subject: Re: [Live-devel] Proxy server - stop stream from back-end if
        there   are no viewers
Message-ID: <f504b75f-480f-4d4a-ae38-9f0d7c0e8...@live555.com>
Content-Type: text/plain; charset=utf-8

> Any ideas what could cause the PAUSE command not to work while it is listed?

No.  You?ll have to ask the manufacturer of the IP camera about this.

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to