[Live-devel] openrtsp confused by server

Gabriel Bouvigne gabriel.bouvigne at resonate-mp4.com
Wed Jul 21 14:37:06 PDT 2004


Ross Finlayson a écrit :

> Could you please re-run "openRTSP" with the "-V" flag, and send us the 
> output?

Sending request: OPTIONS rtsp://localhost/out_ds.mp4 RTSP/1.0
CSeq: 1
User-Agent: H:\Prog\mp4streamlib\live\TESTPROGS\Debug\openrtsp.exe 
(LIVE.COM Str
eaming Media v2004.07.07)


Received OPTIONS response: RTSP/1.0 200 OK
Server: France Telecom Streaming Server v2.3 (Oct, 2003)
CSeq: 1
Accept OPTIONS, DESCRIBE, SETUP, PLAY, PAUSE, TEARDOWN


Sending request: DESCRIBE rtsp://localhost/out_ds.mp4 RTSP/1.0
CSeq: 2
Accept: application/sdp
User-Agent: H:\Prog\mp4streamlib\live\TESTPROGS\Debug\openrtsp.exe 
(LIVE.COM Str
eaming Media v2004.07.07)


Received DESCRIBE response: OPTIONS * RTSP/1.0
Server: France Telecom Streaming Server v2.3 (Oct, 2003)
CSeq: 1


Failed to get a SDP description from URL "rtsp://localhost/out_ds.mp4": 
no respo
nse code in line: "OPTIONS * RTSP/1.0"



However openrtsp received the SDP.

If I bypass this in playcommon:


   // Begin by sending an "OPTIONS" command:
   char* optionsResponse = getOptionsResponse(ourClient, url);
   if (sendOptionsRequestOnly) {
     if (optionsResponse == NULL) {
       *env << clientProtocolName << " \"OPTIONS\" request failed: "
	   << env->getResultMsg() << "\n";
     } else {
       *env << clientProtocolName << " \"OPTIONS\" request returned: "
	   << optionsResponse << "\n";
       delete[] optionsResponse;
     }
     shutdown();
   }

Then it is properly working.


-- 
Gabriel Bouvigne
Resonate mp4
Tel: (+33) 142 411 665


More information about the live-devel mailing list