[Live-devel] openrtsp confused by server
Gabriel Bouvigne
gabriel.bouvigne at resonate-mp4.com
Wed Jul 21 11:20:15 PDT 2004
On a specific server, openrtsp seems to be confused by an unusual server
response, and does a teardown.
Here is the output from openrtsp:
Failed to get a SDP description from URL "rtsp://localhost/out_ds.mp4":
no response code in line: "OPTIONS * RTSP/1.0"
And here is the server log:
C-->S : OPTIONS rtsp://localhost/out_ds.mp4 RTSP/1.0\r\n
CSeq: 1\r\n
User-Agent: H:\Prog\mp4streamlib\live\TESTPROGS\Debug\openrtsp.exe
(LIVE.COM Streaming Media v2004.07.07)\r\n\r\n
S-->C : RTSP/1.0 200 OK\r\n
Server: France Telecom Streaming Server v2.3 (Oct, 2003)\r\n
CSeq: 1\r\n
Accept OPTIONS, DESCRIBE, SETUP, PLAY, PAUSE, TEARDOWN\r\n\r\n
S-->C : OPTIONS * RTSP/1.0\r\n
Server: France Telecom Streaming Server v2.3 (Oct, 2003)\r\n
CSeq: 1\r\n\r\n
C-->S : DESCRIBE rtsp://localhost/out_ds.mp4 RTSP/1.0\r\n
User-Agent:
mp4client/1030c001000500001040c50060ffffffffff2004000300ff80002710\r\n
Timestamp: 497395380.000000\r\n
CSeq: 1\r\n
Accept: application/sdp\r\n\r\n
S-->C : RTSP/1.0 200 OK\r\n
Server: France Telecom Streaming Server v2.3 (Oct, 2003)\r\n
CSeq: 1\r\n
Content-Length: 813\r\n
Content-Type: application/sdp\r\n
Content-Base: rtsp://localhost/out_ds.mp4/\r\n\r\n
v=0\r\n
o=- 3247492331 103037176000 IN IP4 127.0.0.1\r\n
s=/out_ds.mp4\r\n
u=http:///\r\n
e=admin@\r\n
c=IN IP4 0.0.0.0\r\n
t=0 0\r\n
a=mpeg4-iod:"data:application/mpeg4-iod;base64,AoCAghcAT/7+/v7+A4CAgRgABEB0ZGF0YTphcHBsaWNhdGlvbi9tcGVnNC1vZC1hdTtiYXNlNjQsQVlDQWdEWUJnSUNBTVFVZkE0Q0FnQ29BQVFBRWdJQ0FEU0FSQVBvQUFBQUFBQUFBQUFBR2dJQ0FFQUJFQUFGZmtBQUFBQUFnQUFBQUFBTT0EgICADQEFAADIAAAAAAAAAAAGgICACQEAAAAAAAAAAAOAgIBuAANAQmRhdGE6YXBwbGljYXRpb24vbXBlZzQtYmlmcy1hdTtiYXNlNjQsd0JBU1lRUWZ3QUFBSDhBQUFFUW9Jb0tmZ0E9PQSAgIAVAg0AABQAAAAAAAAAAAWAgIADAABABoCAgAkBAAAAAAAAAAA="\r\n
a=isma-compliance:1,1.0,1\r\n
a=range:npt=0-72.125000\r\n
a=control:*\r\n
m=video 0 RTP/AVP 97\r\n
a=rtpmap:97 MP4V-ES/90000\r\n
a=fmtp:97 profile-level-id=1;
config=000001b001000001b58913000001000000012000c488800ce182c2090a31000001b2336976784147\r\n
a=mpeg4-esid:1\r\n
a=control:trackID=2\r\n
C-->S : SETUP rtsp://localhost/out_ds.mp4/trackID=2 RTSP/1.0\r\n
User-Agent:
mp4client/1030c001000500001040c50060ffffffffff2004000300ff80002710\r\n
Timestamp: 497396524.000000\r\n
CSeq: 2\r\n
Transport: RTP/AVP;unicast;client_port=12002-12003\r\n\r\n
S-->C : RTSP/1.0 200 OK\r\n
Server: France Telecom Streaming Server v2.3 (Oct, 2003)\r\n
CSeq: 2\r\n
Session: 3770513815\r\n
Transport:
RTP/AVP;unicast;client_port=12002-12003;server_port=12000-12001;ssrc=e0bd7e0b\r\n\r\n
C-->S : PLAY rtsp://localhost/out_ds.mp4/ RTSP/1.0\r\n
User-Agent:
mp4client/1030c001000500001040c50060ffffffffff2004000300ff80002710\r\n
Timestamp: 497396723.000000\r\n
CSeq: 3\r\n
Session: 3770513815\r\n
Range: npt=0.000000-\r\n\r\n
S-->C : RTSP/1.0 200 OK\r\n
Server: France Telecom Streaming Server v2.3 (Oct, 2003)\r\n
CSeq: 3\r\n
Session: 3770513815\r\n
RTP-Info: url=trackID=2;seq=0;rtptime=0\r\n\r\n
C-->S : PAUSE rtsp://localhost/out_ds.mp4/ RTSP/1.0\r\n
User-Agent:
mp4client/1030c001000500001040c50060ffffffffff2004000300ff80002710\r\n
CSeq: 4\r\n
Session: 3770513815\r\n\r\n
S-->C : RTSP/1.0 200 OK\r\n
Server: France Telecom Streaming Server v2.3 (Oct, 2003)\r\n
CSeq: 4\r\n
Session: 3770513815\r\n\r\n
It seems to me that openrtsp is confused by the second answer from the
server. However, I am wondering why openrtsp is bailing out, as it
successfully managed to issue a PLAY command.
Regards,
--
Gabriel Bouvigne
Resonate mp4
Tel: (+33) 142 411 665
More information about the live-devel
mailing list