[vlc] RTSP + RTP + SDP - what does vlc expect?

Kim Schulz kim at schulz.dk
Tue Mar 6 15:59:01 CET 2007


Hi 
I am working on a very basic RTSP server which is supposed to serve mpeg-4 visual simple profile stream. 
I have most of the negotiation up, but it does not look like vlc wants to accept the data I send it when playing.
this is what my negotiation looks like (from vlc console):

#####################################################################
Sending request: OPTIONS rtsp://ks03lap1:9999 RTSP/1.0
CSeq: 21
User-Agent: VLC media player (LIVE555 Streaming Media v2006.10.27)


Received OPTIONS response: RTSP/1.0 200 OK
CSeq: 21
Public: DESCRIBE, SETUP, TEARDOWN, PLAY


Sending request: DESCRIBE rtsp://ks03lap1:9999 RTSP/1.0
CSeq: 22
Accept: application/sdp
User-Agent: VLC media player (LIVE555 Streaming Media v2006.10.27)


Received DESCRIBE response: RTSP/1.0 200 OK
CSeq: 22
Content-Type: application/sdp
Content-Length: 155


Need to read 155 extra bytes
Read 155 extra bytes: v=0
o=CSR 2890844526 2890842807 IN IP4 10.123.10.30
s=CSR DEMO
t=0 0
m=video 8888 RTP/AVP 98
a=rtpmap:98 MP4V-ES/90000
a=fmtp:98 profile-level-id=1

[00000345] live555 demuxer debug: RTP subsession 'video/MP4V-ES'
Sending request: SETUP rtsp://ks03lap1:9999/ RTSP/1.0
CSeq: 23
Transport: RTP/AVP;unicast;client_port=8888-8889
User-Agent: VLC media player (LIVE555 Streaming Media v2006.10.27)


Received SETUP response: RTSP/1.0 200 OK
CSeq: 23
Date: 6 Mar 2007 14:15:01 CET
Session: 123456789
Transport: RTP/AVP;unicast;client_port=8888-8889


Sending request: PLAY rtsp://ks03lap1:9999 RTSP/1.0
CSeq: 24
Session: 123456789
Range: npt=0.000-
User-Agent: VLC media player (LIVE555 Streaming Media v2006.10.27)


Received PLAY response: RTSP/1.0 200 OK
CSeq: 24
Session: 123456789
Session: 123456789
Range: npt=0.000-
#####################################################################

now I would expect that I could send the video data (RTP) via UDP to port
8888, but it seems like it is not getting into vlc as expected. 
It this not what I am supposed to do or? 

-- 
Kim Schulz

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list