Hi all,
i encountered a problem with the lastest versions of VLC (problem present in the 1.1.4 version and still present in 1.1.7) during the dialog with a RTSP server which provides a multicast video session. In fact VLC sends to the server a teardown request, in log messages console we can see the following error "live555 error: SETUP of'video/H264' failed Missing or bad "Transport:" header"
This bug seems to be already known but for me it is not fixed. http://trac.videolan.org/vlc/ticket/4129
In fact, VLC doesn't respect anymore the transport part of RFC 2326 http://www.ietf.org/rfc/rfc2326.txt.
It appears that VLC stop the dialog after the setup reply of the server. In this answer,the server sends the port numbers with the following expression "port=...." which is the correct response. VLC now seems to waiting for a response like that : "server_port=..." which is only valid for unicast session. You can see below a capture of this dialog :
============= VLC REQUEST ===============
SETUP rtsp://10.11.16.32/test/trackID=1 RTSP/1.0
CSeq: 4
User-Agent: LibVLC/1.1.7 (LIVE555 Streaming Media v2011.01.06)
Transport: RTP/AVP;multicast;client_port=5000-5001
=============== RTSP ANSWER ================
RTSP/1.0 200 OK
CSeq: 4
Server: (Argos)
Date: Friday, March 25, 2011 09:36:37 GMT
Session: 42
Transport: RTP/AVP;multicast;port=5000-5001
============== VLC REQUEST ===============
TEARDOWN rtsp://10.11.16.32/test/ RTSP/1.0
CSeq: 5
User-Agent: LibVLC/1.1.7 (LIVE555 Streaming Media v2011.01.06)
Session: 42
in chapter 12.39 of the RFC2326 the terms port, client_port ans server_port are defined like this :
«
port:
This parameter provides the RTP/RTCP port pair for a multicast
session. It is specified as a range, e.g., port=3456-3457.
client_port:
This parameter provides the unicast RTP/RTCP port pair on
which the client has chosen to receive media data and control
information. It is specified as a range, e.g.,
client_port=3456-3457.
server_port:
This parameter provides the unicast RTP/RTCP port pair on
which the server has chosen to receive media data and control
information. It is specified as a range, e.g.,
server_port=3456-3457.
»
So, the server responseis valid. Moreover, I try with VLC 1.1.2 and it's ok with this version.
I also make a patch on my RTSP server (it answers "client_port" instead of "port" for multicast session -> vlc 1.1.7 plays the video : no "bad transport header error").
Thanks in advance for the fix.