[Live-devel] Question about openRTSP
Eric Peters
epeters at graphics.cs.uni-sb.de
Mon May 23 11:47:07 PDT 2005
Is there anybody out there?
Does nobody knows anything about my openRTSP problem?
Greetings Eric
Eric Peters wrote:
> Hello to all,
>
> I would do some statistics about my implemented streaming server. So I
> use openRTSP to check the "Quality of Service"-summary. I start openRTSP
> with the commandline
>
> openRTSP -e 1200 -Q -v -V rtsp://server_host:7070/stream0 >& output.log
>
> In a shell-script I generate ten clients which connect to the server.
> They all write to different logfiles. At the end I found in the logfiles
> some strange things. Although I stream from the same file and every
> client gets an own instance of the stream (the source isn't reused) the
> number of streamed packets is different. And although I added the flag
> -e 1200 which means that the client should receive 1200 seconds of the
> stream the elapsed_measurement_time is in some cases smaller than 1200
> seconds.
>
> Why I get different number of packets although no packet is lost? Why is
> the elapsed measurement time smaller than 1200 seconds?
>
> I added a sample logfile if your are interested in. The used streaming
> server uses the Live Media library for RTP and RTSP support.
>
> Greetings
> Eric
>
>
> ------------------------------------------------------------------------
>
> Sending request: OPTIONS rtsp://intel:7070/stream0 RTSP/1.0
> CSeq: 1
> User-Agent: openRTSP (LIVE.COM Streaming Media v2005.05.11)
>
>
> Received OPTIONS response: RTSP/1.0 200 OK
> CSeq: 1
> Date: Fri, May 20 2005 11:07:40 GMT
> Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE
>
>
> Sending request: DESCRIBE rtsp://intel:7070/stream0 RTSP/1.0
> CSeq: 2
> Accept: application/sdp
> User-Agent: openRTSP (LIVE.COM Streaming Media v2005.05.11)
>
>
> Received DESCRIBE response: RTSP/1.0 200 OK
> CSeq: 2
> Date: Fri, May 20 2005 11:07:41 GMT
> Content-Base: rtsp://134.96.xxx.xxx:7070/stream0/
> Content-Type: application/sdp
> Content-Length: 376
>
>
> Need to read 376 extra bytes
> Read 376 extra bytes: v=0
> o=- 1116587251790400 1 IN IP4 134.96.xxx.xxx
> s=Session streamed by NMM
> i=stream0
> t=0 0
> a=tool:LIVE.COM Streaming Media v2005.05.11
> a=type:broadcast
> a=control:*
> a=range:npt=0-
> a=x-qt-text-nam:Session streamed by NMM
> a=x-qt-text-inf:stream0
> m=audio 0 RTP/AVP 14
> c=IN IP4 0.0.0.0
> a=control:track1
> m=video 0 RTP/AVP 32
> c=IN IP4 0.0.0.0
> a=control:track2
>
> Opened URL "rtsp://intel:7070/stream0", returning a SDP description:
> v=0
> o=- 1116587251790400 1 IN IP4 134.96.xxx.xxx
> s=Session streamed by NMM
> i=stream0
> t=0 0
> a=tool:LIVE.COM Streaming Media v2005.05.11
> a=type:broadcast
> a=control:*
> a=range:npt=0-
> a=x-qt-text-nam:Session streamed by NMM
> a=x-qt-text-inf:stream0
> m=audio 0 RTP/AVP 14
> c=IN IP4 0.0.0.0
> a=control:track1
> m=video 0 RTP/AVP 32
> c=IN IP4 0.0.0.0
> a=control:track2
>
> Ignoring "audio/MPA" subsession, because we've asked to receive a single video session only
> Created receiver for "video/MPV" subsession (client ports 33652-33653)
> Sending request: SETUP rtsp://intel:7070/stream0/track2 RTSP/1.0
> CSeq: 3
> Transport: RTP/AVP;unicast;client_port=33652-33653
> User-Agent: openRTSP (LIVE.COM Streaming Media v2005.05.11)
>
>
> Received SETUP response: RTSP/1.0 200 OK
> CSeq: 3
> Date: Fri, May 20 2005 11:07:41 GMT
> Transport: RTP/AVP;unicast;destination=134.96.xxx.xxx;client_port=33652-33653;server_port=34962-34963
> Session: 1
>
>
> Setup "video/MPV" subsession (client ports 33652-33653)
> Outputting data from the "video/MPV" subsession to 'stdout'
> Sending request: PLAY rtsp://intel:7070/stream0 RTSP/1.0
> CSeq: 4
> Session: 1
> Range: npt=0.000-
> User-Agent: openRTSP (LIVE.COM Streaming Media v2005.05.11)
>
>
> Received PLAY response: RTSP/1.0 200 OK
> CSeq: 4
> Date: Fri, May 20 2005 11:07:41 GMT
> Range: npt=0.000-
> Session: 1
> RTP-Info: url=rtsp://134.96.xxx.xxx:7070/stream0/track1;seq=0,url=rtsp://134.96.xxx.xxx:7070/stream0/track2;seq=16345
>
>
> Started playing session
> Receiving streamed data (for up to 1200.000000 seconds)...
> begin_QOS_statistics
> server_availability 100
> stream_availability 100
> subsession video/MPV
> num_packets_received 144171
> num_packets_lost 0
> elapsed_measurement_time 1156.247268
> kBytes_received_total 143838.936000
> measurement_sampling_interval_ms 1000
> kbits_per_second_min 0.000000
> kbits_per_second_ave 995.212287
> kbits_per_second_max 469217.391299
> packet_loss_percentage_min 0.000000
> packet_loss_percentage_ave 0.000000
> packet_loss_percentage_max 0.000000
> inter_packet_gap_ms_min 0.018000
> inter_packet_gap_ms_ave 8.013298
> inter_packet_gap_ms_max 92.633000
> end_QOS_statistics
> Sending request: TEARDOWN rtsp://intel:7070/stream0 RTSP/1.0
> CSeq: 5
> Session: 1
> User-Agent: openRTSP (LIVE.COM Streaming Media v2005.05.11)
>
>
> Received TEARDOWN response: RTSP/1.0 200 OK
> CSeq: 5
> Date: Fri, May 20 2005 11:27:41 GMT
>
>
>
More information about the live-devel
mailing list