[vlc] RTSP: How to Announce EOF event to the RTSP Client

Rémi Denis-Courmont remi at remlab.net
Fri Jul 10 14:22:54 CEST 2009


On Fri, 10 Jul 2009 17:27:26 +0530, "ravinder"
<ravinder.bhukya at zenmediasolutions.net> wrote:
> I have transcoded a file using x264. The resultant, transcoded file is
not
> giving timestamp while playing. I have ingested that file into VLC
> streamming server through command line. As its duration is not retrieved
> the SDP doesn't contain the duration of the video so that at the end of
> the file client can send the TEARDOWN.

The TEARDOWN should occur as a consequence of the server sending an RTCP
BYE compound for each medias. There is no need to advertise the duration of
the session for this to work. In fact, sometimes even the server does not
know the length.

It is very likely that misc/rtsp.c fails to send a BYE compound since it is
very low-quality code.

-- 
Rémi Denis-Courmont




More information about the vlc mailing list