[Live-devel] A stupid question (I hope)

Clark N. Taylor cntaylor at ece.ucsd.edu
Fri Jan 9 15:59:35 PST 2004


With the -V option, I get:

Sending request: DESCRIBE rtsp://132.239.134.32:7070/mp3AudioTest RTSP/1.0
CSeq: 1
Accept: application/sdp
User-Agent: ./openRTSP (LIVE.COM Streaming Media v2003.12.26)


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


Need to read 243 extra bytes
Read 243 extra bytes: v=0
o=- 1073692660818615 1 IN IP4 132.239.134.32
s=Session streamed by "testOnDemandRTSPServer"
i=mp3AudioTest
t=0 0
a=tool:LIVE.COM Streaming Media v2003.12.26
a=type:broadcast
m=audio 0 RTP/AVP 14
c=IN IP4 0.0.0.0
a=control:track1

Opened URL "rtsp://132.239.134.32:7070/mp3AudioTest", returning a SDP 
description:
v=0
o=- 1073692660818615 1 IN IP4 132.239.134.32
s=Session streamed by "testOnDemandRTSPServer"
i=mp3AudioTest
t=0 0
a=tool:LIVE.COM Streaming Media v2003.12.26
a=type:broadcast
m=audio 0 RTP/AVP 14
c=IN IP4 0.0.0.0
a=control:track1

Created receiver for "audio/MPA" subsession (client ports 58284-58285)
Sending request: SETUP rtsp://132.239.134.32:7070/mp3AudioTest/track1 
RTSP/1.0
CSeq: 2
Transport: RTP/AVP;unicast;client_port=58284-58285
User-Agent: ./openRTSP (LIVE.COM Streaming Media v2003.12.26)


Received SETUP response: RTSP/1.0 200 OK
CSeq: 2
Transport: RTP/AVP;unicast
Session: 1


Setup "audio/MPA" subsession (client ports 58284-58285)
Created output file: "audio-MPA-1"
Sending request: PLAY rtsp://132.239.134.32:7070/mp3AudioTest RTSP/1.0
CSeq: 3
Session: 1
Range: npt=0-
User-Agent: ./openRTSP (LIVE.COM Streaming Media v2003.12.26)


Received PLAY response: RTSP/1.0 200 OK
CSeq: 3
Session: 1


Started playing session
Receiving streamed data (signal with "kill -HUP 32172" or "kill -USR1 
32172" to terminate)...

And then it hangs.....

I finally found another machine to compile stuff on, and it works fine 
as long as it is going between two machines (either machine can be 
client or server).  So, it is a problem only on one machine.

Clark

Ross Finlayson wrote:

>
>>
>> Just to insure it was working, I started up a server process using 
>> testOnDemandRTSPServer.  I found an mp3 file, called it test.mp3 and 
>> placed it in the directory.  To receive, I tried using openRTSP (on 
>> the same computer).  When running openRTSP, however, no information 
>> is streamed from the server.  After receiving the SDP description, 
>> the program just sits there, and nothing is received.
>
>
> This is strange.  Could you re-run "openRTSP" with the "-V" (verbose 
> output) option, and let us know what you see?
>
> Also, could you try running "openRTSP" from a different computer, to 
> see if that makes a difference?
>
> Another thing you could try is running "testMP3Streamer" (instead of 
> "testOnDemandRTSPServer").  "testMP3Streamer" streams via multicast 
> rather than unicast.  First, though, you will need to enable its 
> built-in RTSP server, by uncommenting the line
>         #define IMPLEMENT_RTSP_SERVER 1
> in "testMP3Streamer.cpp", and then recompiling.
>
>>   I also tried the "-t" option as mentioned on the web page
>
>
> No, that won't work with the RTSP server that's built into 
> "testOnDemandRTSPServer" (or "testMP3Streamer"), because it currently 
> doesn't implement RTP-over-TCP streaming.
>
>
>     Ross Finlayson
>     LIVE.COM
>     <http://www.live.com/>
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live.com
> http://lists.live.com/mailman/listinfo/live-devel


-- 
Clark N. Taylor
PhD Student and Research Assistant
University of California, San Diego
cntaylor at ece.ucsd.edu
http://esdat.ucsd.edu/~cntaylor





More information about the live-devel mailing list