[vlc-devel] VLC RTSP Server Support for Keep-Alive Messages to Kill Orphaned Streams?

Rémi Denis-Courmont remi at remlab.net
Wed Jul 15 19:44:31 CEST 2009


Le mercredi 15 juillet 2009 20:27:43 jpd at videolan.org, vous avez écrit :
> On Wed, Jul 15, 2009 at 12:59:17PM -0400, Robert Krakora wrote:
> > I would be glad to work on this.  I have a lot of experience with a
> > variety of RTSP server and RTSP client stacks.  Usually, clients seem
> > to send benign RTSP requests such as GET_PARAMETER to keep the session
> > open.
>
> It seems to me that RFC2326 10.8 explicitly says GET_PARAMETER without
> option may be used ``to test client or server liveness'', or when
> already playing, 10.5 says PLAY without range may be used by the client.
>
> Presumably failing enough liveness tests would permit one to consider
> the session dead and release the associated resources.

Guys, this has already been discussed in this mailing list. and I fail to see 
any new element that would grant re-opening the topic.

The point is, because RFC2326 is under-specified. The server MUST support 
every valid ways for a client to ping. Otherwise, it can time out live client. 
IMHO, that would be worse than not timing out dead clients.

Handling GET_PARAMETER and/or PLAY would fail.

-- 
Rémi Denis-Courmont
http://www.remlab.net/




More information about the vlc-devel mailing list