[Live-devel] Re: testOnDemand and openrtsp play problem

reza shah rshah0385 at yahoo.com
Sun Nov 9 21:07:53 PST 2003


Hi Ross,

Thanks for the reply.
Actually i just renamed the file for the openrtsp,
an small modification for testOnDemandRTSPServer, to
allow me open the URL without extra stream name.

I test the original, it works fine, until some
start-stop test (start the client and stop it with
ctrl-c, this is bad i know), i cannot receive the
data.
Below you can see my result. Thanks for help

my command: openRTSP -V -n
rtsp://192.168.2.224:7070/mp3AudioTest

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


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


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

Opened URL "rtsp://192.168.2.224:7070/mp3AudioTest",
returning a SDP description
:
v=0
o=- 1068440059515000 1 IN IP4 192.168.2.224
s=Session streamed by "testOnDemandRTSPServer"
i=mp3AudioTest
t=0 0
a=tool:LIVE.COM Streaming Media v2003.11.05
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 2634-2635)
Sending request: SETUP
rtsp://192.168.2.224:7070/mp3AudioTest/track1 RTSP/1.0
CSeq: 2
Transport: RTP/AVP;unicast;client_port=2634-2635
User-Agent: openRTSP (LIVE.COM Streaming Media
v2003.11.05)


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


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


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


Started playing session
Receiving streamed data...
Received RTCP "BYE" on "audio/MPA" subsession (after
223 seconds)
Sending request: TEARDOWN
rtsp://192.168.2.224:7070/mp3AudioTest RTSP/1.0
CSeq: 4
Session: 15
User-Agent: openRTSP (LIVE.COM Streaming Media
v2003.11.05)


Received TEARDOWN response: RTSP/1.0 200 OK
CSeq: 4


--- Ross Finlayson <finlayson at live.com> wrote:
> >  -a -V -n rtsp://192.168.2.224:7070/ >> dump.txt
> 
> You should omit the "-a" option; it means 'output to
> stdout'.  This means 
> that - in this case - the incoming data will be
> appended to your file 
> "dump.txt", which is probably not what you want. 
> So, just use "-V -n", and 
> the incoming data will be written into a file named
> "audio-<something>".
> 



__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree


More information about the live-devel mailing list