[Live-devel] can't play rtsp stream under uclinux stb withopenRTSP

john luo dz_luo at yahoo.com
Fri Apr 8 12:00:38 PDT 2005


Hi, Ross Finlayson,

the command I used is : 
 ./app/openRTSP -V -v -n -Q rtsp://192.168.0.98/kb2.mp4

because my stb can not write files to local, so i use -v command.

the outputs are(i added some debug infos within library source code):

Sending request: OPTIONS rtsp://192.168.0.98/kb2.mp4 RTSP/1.0
CSeq: 1
User-Agent: ./app/openRTSP (LIVE.COM Streaming Media v2005.03.23)


Received OPTIONS response: RTSP/1.0 200 OK
Server: DSS/5.0.3.2 (Build/452.22.3; Platform/Win32; Release/Panther; Update/3GP
P; )
Cseq: 1
Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, OPTIONS, ANNOUNCE, RECORD


Sending request: DESCRIBE rtsp://192.168.0.98/kb2.mp4 RTSP/1.0
CSeq: 2
Accept: application/sdp
User-Agent: ./app/openRTSP (LIVE.COM Streaming Media v2005.03.23)


Received DESCRIBE response: RTSP/1.0 200 OK
Server: DSS/5.0.3.2 (Build/452.22.3; Platform/Win32; Release/Panther; Update/3GP
P; )
Cseq: 2
Last-Modified: Wed, 23 Feb 2005 04:07:02 GMT
Cache-Control: must-revalidate
Content-length: 952
Date: Fri, 08 Apr 2005 02:56:32 GMT
Expires: Fri, 08 Apr 2005 02:56:32 GMT
Content-Type: application/sdp
x-Accept-Retransmit: our-retransmit
x-Accept-Dynamic-Rate: 1
Content-Base: rtsp://192.168.0.98/kb2.mp4/
Need to read 952 extra bytes
Read 952 extra bytes: v=0
o=StreamingServer 3321917791 1109131622000 IN IP4 192.168.0.98
s=\kb2.mp4
u=http:///
e=admin@
c=IN IP4 0.0.0.0
t=0 0
a=control:*
a=mpeg4-iod: "data:application/mpeg4-iod;base64,AoCAgmcAT////gH/A4CAgWwABUDIZGF0
YTphcHBsaWNhdGlvbi9tcGVnNC1vZC1hdTtiYXNlNjQsQVlDQWdIWUJnSUNBS2dLZkE0Q0FnQ01BQWdB
RWdJQ0FEV2tWQUFDREFBQ2ZNQUFBbS9vR2dJQ0FDUUVBQUFBQUFBQUFBQUdBZ0lCQ0JSOERnSUNBT3dB
QkFBU0FnSUFsSUJFQW5rQUFGQkpBQUFmT253V0FnSUFUQUFBQkFBQUFBU0FBeUlpNm1GRHdRaDFCZ3dh
QWdJQUpBUUFBQUFBQUFBQUEEgICADQEFAAB7AAAAAAAAAAAGgICACQEAAAAAAAAAAAOAgIBqAAZAPmRh
dGE6YXBwbGljYXRpb24vbXBlZzQtYmlmcy1hdTtiYXNlNjQsd0JBU2dUQXFCWEpoQkloUVJRVS9BQT09
BICAgBUCDQAAEAAAAAAAAAAABYCAgAMAAEAGgICACQEAAAAAAAAAAA=="
a=range:npt=0- 441.30753
m=video 0 RTP/AVP 96
a=rtpmap:96 MP4V-ES/90000
a=control:trackID=3
a=mpeg4-esid:1
a=fmtp:96 profile-level-id=1; config=000001000000012000c888ba9850f0421d4183;
m=audio 0 RTP/AVP 97
a=rtpmap:97 MPA/22050
a=control:trackID=4
a=mpeg4-esid:2

Opened URL "rtsp://192.168.0.98/kb2.mp4", returning a SDP description:
v=0
o=StreamingServer 3321917791 1109131622000 IN IP4 192.168.0.98
s=\kb2.mp4
u=http:///
e=admin@
c=IN IP4 0.0.0.0
t=0 0
a=control:*
a=mpeg4-iod: "data:application/mpeg4-iod;base64,AoCAgmcAT////gH/A4CAgWwABUDIZGF0
YTphcHBsaWNhdGlvbi9tcGVnNC1vZC1hdTtiYXNlNjQsQVlDQWdIWUJnSUNBS2dLZkE0Q0FnQ01BQWdB
RWdJQ0FEV2tWQUFDREFBQ2ZNQUFBbS9vR2dJQ0FDUUVBQUFBQUFBQUFBQUdBZ0lCQ0JSOERnSUNBT3dB
QkFBU0FnSUFsSUJFQW5rQUFGQkpBQUFmT253V0FnSUFUQUFBQkFBQUFBU0FBeUlpNm1GRHdRaDFCZ3dh
QWdJQUpBUUFBQUFBQUFBQUEEgICADQEFAAB7AAAAAAAAAAAGgICACQEAAAAAAAAAAAOAgIBqAAZAPmRh
dGE6YXBwbGljYXRpb24vbXBlZzQtYmlmcy1hdTtiYXNlNjQsd0JBU2dUQXFCWEpoQkloUVJRVS9BQT09
BICAgBUCDQAAEAAAAAAAAAAABYCAgAMAAEAGgICACQEAAAAAAAAAAA=="
a=range:npt=0- 441.30753
m=video 0 RTP/AVP 96
a=rtpmap:96 MP4V-ES/90000
a=control:trackID=3
a=mpeg4-esid:1
a=fmtp:96 profile-level-id=1; config=000001000000012000c888ba9850f0421d4183;
m=audio 0 RTP/AVP 97
a=rtpmap:97 MPA/22050
a=control:trackID=4
a=mpeg4-esid:2

Created receiver for "video/MP4V-ES" subsession (client ports 3096-3097)
Ignoring "audio/MPA" subsession, because we've asked to receive a single video s
ession only
Sending request: SETUP rtsp://192.168.0.98/kb2.mp4/trackID=3 RTSP/1.0
CSeq: 3
Transport: RTP/AVP;unicast;client_port=3096-3097
User-Agent: ./app/openRTSP (LIVE.COM Streaming Media v2005.03.23)


Received SETUP response: RTSP/1.0 200 OK
Server: DSS/5.0.3.2 (Build/452.22.3; Platform/Win32; Release/Panther; Update/3GP
P; )
Cseq: 3
Last-Modified: Wed, 23 Feb 2005 04:07:02 GMT
Cache-Control: must-revalidate
Session: 34514357217915
Date: Fri, 08 Apr 2005 02:56:32 GMT
Expires: Fri, 08 Apr 2005 02:56:32 GMT
Transport: RTP/AVP;unicast;source=192.168.0.98;client_port=3096-3097;server_port
=6970-6971;ssrc=00003593


Setup "video/MP4V-ES" subsession (client ports 3096-3097)
Outputting data from the "video/MP4V-ES" subsession to 'stdout'
Sending request: PLAY rtsp://192.168.0.98/kb2.mp4 RTSP/1.0
CSeq: 4
Session: 34514357217915
Range: npt=User-Agent: ./app/openRTSP (LIVE.COM Streaming Media v2005.03.23)


Received PLAY response: RTSP/1.0 200 OK
Server: DSS/5.0.3.2 (Build/452.22.3; Platform/Win32; Release/Panther; Update/3GP
P; )
Cseq: 4
Session: 34514357217915
Range: npt=0.00000-0.00000
RTP-Info: url=rtsp://192.168.0.98/kb2.mp4/trackID=3;seq=4023;rtptime=24053


Started playing session
Receiving streamed data (signal with "kill -HUP 62" or "kill -USR1 62" to termin
ate)...
singleStep();
selectResult in SingleStep:2
get a none null handler, proc is none null
call handlers proc
singleStep();
selectResult in SingleStep:2
fLastHandledSocetNum >= 0
get a none null handler, proc is none null
call handlers proc
singleStep();
selectResult in SingleStep:1
fLastHandledSocetNum >= 0
try again from the beginning
try again got a none null handler, and call it's proc
 Ȉº˜PðBA? Ȉº˜PðBA??&`mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm
ù¶ßæ?›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ß
æÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ
›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›m
m·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù
¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ß
?›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ
mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm
·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù
ßæ?›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ
›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›m
þm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm
ù¶ßæ?›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ß
æÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ
›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›m
m·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù
¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ß
?›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ù¶ßæÛ›mþm·ïsingle
Step();
selectResult in SingleStep:0
Data packets have begun arriving [1112957781700]
fLastHandledSocetNum >= 0
get a none null handler, proc is none null
try again from the beginning
singleStep();
selectResult in SingleStep:0
get a none null handler, proc is none null
get a none null handler, proc is none null
singleStep();
selectResult in SingleStep:0
get a none null handler, proc is none null
get a none null handler, proc is none null
singleStep();
selectResult in SingleStep:0
get a none null handler, proc is none null
get a none null handler, proc is none null
singleStep();
selectResult in SingleStep:0
get a none null handler, proc is none null
get a none null handler, proc is none null
singleStep();
selectResult in SingleStep:0
get a none null handler, proc is none null
get a none null handler, proc is none null
singleStep();

....
	



>At 07:41 PM 4/7/05, you wrote:
>>I forgot tell the enviroment.
>>my stb is running ucLinux that without thread support.
>>I used config.armlinux for the makefile configration.
>>
>>and also i used openRTSP to test the rtsp stream. it just report 
>>"selectResult = 0"( i added after select operation) repeatly.
>
>OK, let's start from the beginning:
>
>What output do you get (to 'stderr') when you run
>         openRTSP -V <your-rtsp-url>
>?
>
>
>	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
>.

= = = = = = = = = = = = = = = = = = = =
			

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ÖÂ
Àñ£¡
 
				 
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡john luo
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡dz_luo at yahoo.com
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2005-04-08




More information about the live-devel mailing list