[vlc-devel] [PATCH] Fixed pause issue for streams without end (live cameras)

Ross Finlayson finlayson at live555.com
Thu Oct 22 21:00:26 CEST 2015


> The server we have for our application does not support GET_PARAMETER to keep to connection alive when the video is PAUSED. After 1 minute the connection is lost and the video has to be restarted.
> In the live555.cpp code, it reads that the GET_PARAMETER will be sent, but also the OPTIONS command could be send as a fallback. But I don't see this second option. Was this second option removed?

FYI, in our own proxy server code we - by default - send “OPTIONS” rather than “GET_PARAMETER" as a keep-alive command, because we found that more servers handled “OPTIONS” than “GET_PARAMETER”.  (It turned out that there are even some brain-damaged servers that include “GET_PARAMETER” in the list of commands that they *claim* to support (in response to an initial “OPTIONS” command) - but in reality don’t support “GET_PARAMETER” at all.)

So, if VLC were changed to send “OPTIONS” rather than “GET_PARAMETER”, it might be an improvement (but, OTOH, some people would undoubtedly complain)...

As an aside, I should point out that servers should really not need to receive *any* of these ‘keep-alive’ commands; they should, instead, be using incoming RTCP “RR” packets - from the client - to let it know that the client is still alive.  But unfortunately lots of RTSP servers (including VLC, I think :-) don’t listen to incoming RTCP packets at all.


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20151022/c86d9d80/attachment.html>


More information about the vlc-devel mailing list