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

Ross Finlayson finlayson at live555.com
Fri Oct 23 16:49:38 CEST 2015

> correct me if I am wrong. In the live555 code I see that the RTCP reports are enabled after the PLAY command (RTSPClient.cpp file). But you don't disable it when the video is paused. 
> Does the Live555 library controls how often the RTCP packets are sent or this has to be done by the client, VLC?

The 'LIVE555 event loop’ automatically transmits periodic RTCP packets.

*However* I think that VLC does not run the LIVE555 event loop while VLC is paused (i.e., after it has sent a RTSP “PAUSE” command, but before it sends a subsequent “PLAY” to restart the stream).  If that’s the case, then it violates the RTSP/RTP/RTCP specs, and is a bug in VLC (blame Remi, because he doesn’t want to run the LIVE555 event loop while VLC is “PAUSE”d, for some reason).

But this is probably irrelevant for you - because if your server is so broken that it doesn’t handle “GET_PARAMETER” commands, then it probably doesn’t use listen for incoming RTCP packets either.

Why don’t you just fix your server (to handle “GET_PARAMETER” commands)?  (Your server is probably something that you’ve paid for, whereas VLC is something that you get for free - in which case it’s a bit insulting, IMHO, that you expect VLC people to fix your problem for you.)

Ross Finlayson
Live Networks, Inc.

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

More information about the vlc-devel mailing list