[vlc-devel] rtsp.c and clients timeout

Rémi Denis-Courmont rdenis at simphalempin.com
Fri Dec 5 14:45:37 CET 2008

On Fri, 05 Dec 2008 14:44:27 +0100, Sébastien Escudier
<sebastien-devel at celeos.eu> wrote:
> I think there is no client timeout handling in vlc rtsp server.
> So when a client is not there anymore, vlc keep sending UDP packets over
> and over.

Yes. Known bug.

> I am writing a patch to handle this, but before going further, could you
> tell me if I am going in the right direction with this attached patch.

If it were this easy, I would have done it long ago. Your patch breaks the
RTSP/1.0 specification, by not refreshing the timer in case of RTCP-RR.
This may result in some conformant clients being unduly timed out.

Rémi Denis-Courmont

More information about the vlc-devel mailing list