Page 1 of 1

RTSP Response

Posted: 26 Jun 2007 06:44
by krishnakishore
Hello All,
This is kishore from INDIA. we are developing an MPEG2 Streaming server on windows. Actually my problem is, After sending the RTSP SETUP Response to client ( VLC Player ) i am not getting any further RTSP Request from client. And also the existing connection has been forcibly closed by the client. I am describing the total Session Details below. please see, and kindly tell me what exactly the problem is. And one more problem is the connection between my Server and Client has been forcibly closed by the Client.


Request:

OPTIONS rtsp://10.10.10.8:1234/39.mpg RTSP/1.0
CSeq: 1
User-Agent: VLC media player (LIVE555 Streaming Media v2006.03.16)


Response:

RTSP/1.0 200 OK
CSeq: 1
Server: Mpeg2StreamingServer
Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE


Request:

DESCRIBE rtsp://10.10.10.8:1234/39.mpg RTSP/1.0
CSeq: 2
Accept: application/sdp
User-Agent: VLC media player (LIVE555 Streaming Media v2006.03.16)


Response:

RTSP/1.0 200 OK
Server: Mpeg2StreamingServer;
CSeq: 2
Cache-Control: must-revalidate
Content-Length: 260
Content-Type: application/sdp
x-Accept-Retransmit: our-retransmit
x-Accept-Dynamic-Rate: 1
Content-base: rtsp://10.10.10.8/39.mpg/

v=0
o=Mpeg2StreamingServer -906079990 -906079990 IN IP4 10.10.10.8
s=RTSP Session
u=http:///
e=admin@
c=IN IP4 0.0.0.0
i=RTSP test
t=0 0
a=control:*
a=range:npt=0- 104.00000
m=video 0 RTP/AVP 32
a=rtpmap:32 MPV/90000
a=control:trackID=1


Request:

SETUP rtsp://10.10.10.8:1234/39.mpg/trackID=1 RTSP/1.0
CSeq: 3
Transport: RTP/AVP;unicast;client_port=1250-1251
User-Agent: VLC media player (LIVE555 Streaming Media v2006.03.16)


Response:

RTSP/1.0 200 OK
Transport: RTP/AVP;unicast;client_port=1250-1251;source=10.10.10.8;server_port=2
340-2341;ssrc=5A17D43
Server: Mpeg2StreamingServer
Content-Length: 0
CSeq: 3
Cache-Control: no-cache
Session: 1901880087



And i am getting the following Messages in VLC player


VLC Messages:


main debug: adding playlist item `rtsp://10.10.10.8:1234/39.mpg' ( rtsp://10.10.10.8:1234/39.mpg )
main debug: creating new input thread
main debug: waiting for thread completion
main debug: creating statistics handler
main debug: thread 3840 (input) created at priority 1 (input/input.c:261)
main debug: `rtsp://10.10.10.8:1234/39.mpg' gives access `rtsp' demux `' path `10.10.10.8:1234/39.mpg'
main debug: creating demux: access='rtsp' demux='' path='10.10.10.8:1234/39.mpg'
main debug: looking for access_demux module: 1 candidate
livedotcom debug: sdp=v=0
o=Mpeg2StreamingServer -906079569 -906079569 IN IP4 10.10.10.8
s=RTSP Session
u=http:///
e=admin@
c=IN IP4 0.0.0.0
i=RTSP test
t=0 0
a=control:*
a=range:npt=0- 104.00000
m=video 0 RTP/AVP 32
a=rtpmap:32 MPV/90000
a=control:trackID=1


livedotcom debug: RTP subsession 'video/MPV'
livedotcom error: PLAY failed No RTSP session is currently in progress

main warning: no access_demux module matching "rtsp" could be loaded
main debug: creating access 'rtsp' path='10.10.10.8:1234/39.mpg'
main debug: looking for access2 module: 5 candidates
main debug: net: connecting to 10.10.10.8 port 1234
main debug: connection in progress

What should i have to do now?

Please kindly help me.Thank You All.



-kishore

Re: RTSP Response

Posted: 06 Jul 2007 09:59
by shuaibe
"livedotcom error: PLAY failed No RTSP session is currently in progress" suggests that its the problem of liblivemedia library that is the live555 libraries that VLC use for rtsp streaming. One possibility would be to check the live555.cpp file in modules/demux folder which contains the Play method and trace the error. Other possible thing would be to trace the error in the live555 library code.