[Live-devel] live-devel Digest, Vol 121, Issue 24

Michael oopdeveloper at hotmail.com
Wed Nov 27 03:26:41 PST 2013


I upgraded the server to the 2013.11.15 version of the code and ran the
testRTSPClient built with the same version and the DEBUG_PRINT_NPT flag.
This is what I'm seeing:

Opening connection to 127.0.0.1, port 8554...
...remote connection opened
Sending request: DESCRIBE rtsp://127.0.0.1:8554/stream RTSP/1.0
CSeq: 2
User-Agent: testRTSPClient.exe (LIVE555 Streaming Media v2013.11.25)
Accept: application/sdp


Received 611 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 200 OK
CSeq: 2
Date: Wed, Nov 27 2013 03:36:49 GMT
Content-Base: rtsp://127.0.0.1:8554/stream/
Content-Type: application/sdp
Content-Length: 449

v=0
o=- 1385523390905109 1 IN IP4 192.166.17.77
s=TestDescription
i=TestInfo
t=0 0
a=tool:LIVE555 Streaming Media v2013.11.25
a=type:broadcast
a=control:*
a=range:npt=0-
a=x-qt-text-nam:TestDescription
a=x-qt-text-inf:TestInfo
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
b=AS:500
a=rtpmap:96 H264/90000
a=fmtp:96
packetization-mode=1;profile-level-id=42C00C;sprop-parameter-sets=Z0LADNsFB+
wEQAAAAwBAAAAHo8UKuA==,aMqDyyA=
a=control:track1

[URL:"rtsp://127.0.0.1:8554/stream/"]: Got a SDP description:
v=0
o=- 1385523390905109 1 IN IP4 192.166.17.77
s=TestDescription
i=TestInfo
t=0 0
a=tool:LIVE555 Streaming Media v2013.11.25
a=type:broadcast
a=control:*
a=range:npt=0-
a=x-qt-text-nam:TestDescription
a=x-qt-text-inf:TestInfo
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
b=AS:500
a=rtpmap:96 H264/90000
a=fmtp:96
packetization-mode=1;profile-level-id=42C00C;sprop-parameter-sets=Z0LADNsFB+
wEQAAAAwBAAAAHo8UKuA==,aMqDyyA=
a=control:track1

RTCPInstance[004BA5B8]::RTCPInstance()
schedule(2.381796->1385523411.742420)
[URL:"rtsp://127.0.0.1:8554/stream/"]: Initiated the "video/H264" subsession
(client ports 59242-59243)
Sending request: SETUP rtsp://127.0.0.1:8554/stream/track1 RTSP/1.0
CSeq: 3
User-Agent: testRTSPClient.exe (LIVE555 Streaming Media v2013.11.25)
Transport: RTP/AVP;unicast;client_port=59242-59243


Received 197 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
CSeq: 3
Date: Wed, Nov 27 2013 03:36:49 GMT
Transport:
RTP/AVP;unicast;destination=127.0.0.1;source=127.0.0.1;client_port=59242-592
43;server_port=6970-6971
Session: A21575F2


[URL:"rtsp://127.0.0.1:8554/stream/"]: Set up the "video/H264" subsession
(client ports 59242-59243)
[URL:"rtsp://127.0.0.1:8554/stream/"]: Created a data sink for the
"video/H264" subsession
Sending request: PLAY rtsp://127.0.0.1:8554/stream/ RTSP/1.0
CSeq: 4
User-Agent: testRTSPClient.exe (LIVE555 Streaming Media v2013.11.25)
Session: A21575F2
Range: npt=0.000-


[004BA5B8]saw incoming RTCP packet (from address 127.0.0.1, port 6971)
 80c80006 f3c75135 d63fe751 5ffa6df0 208c02ca 00000000 00000000 81ca0005
f3c75135 010a4661 6e637950 616e7473 00000000
SR
RR
validated RTCP subpacket (type 2): 0, 200, 0, 0xf3c75135
UNSUPPORTED TYPE(0xca)
validated RTCP subpacket (type 2): 1, 202, 16, 0xf3c75135
validated entire RTCP packet
Received 182 new bytes of response data.
Received a complete PLAY response:
RTSP/1.0 200 OK
CSeq: 4
Date: Wed, Nov 27 2013 03:36:49 GMT
Range: npt=0.000-
Session: A21575F2
RTP-Info:
url=rtsp://127.0.0.1:8554/stream/track1;seq=40774;rtptime=546046694


[URL:"rtsp://127.0.0.1:8554/stream/"]: Started playing session...
Stream "rtsp://127.0.0.1:8554/stream/"; video/H264:     Received 2235 bytes.
Presentation time: 1385523409.375226    NPT: 0.000000
Stream "rtsp://127.0.0.1:8554/stream/"; video/H264:     Received 2094 bytes.
Presentation time: 1385523409.375237    NPT: 0.000011
Stream "rtsp://127.0.0.1:8554/stream/"; video/H264:     Received 2593 bytes.
Presentation time: 1385523409.375237    NPT: 0.000011
Stream "rtsp://127.0.0.1:8554/stream/"; video/H264:     Received 177 bytes.
Presentation time: 1385523409.394325    NPT: 0.019099
Stream "rtsp://127.0.0.1:8554/stream/"; video/H264:     Received 167 bytes.
Presentation time: 1385523409.394336    NPT: 0.019110
Stream "rtsp://127.0.0.1:8554/stream/"; video/H264:     Received 195 bytes.
Presentation time: 1385523409.394336    NPT: 0.019110
Stream "rtsp://127.0.0.1:8554/stream/"; video/H264:     Received 332 bytes.
Presentation time: 1385523409.416891    NPT: 0.041665
Stream "rtsp://127.0.0.1:8554/stream/"; video/H264:     Received 351 bytes.
Presentation time: 1385523409.416891    NPT: 0.041665
Stream "rtsp://127.0.0.1:8554/stream/"; video/H264:     Received 409 bytes.
Presentation time: 1385523409.416902    NPT: 0.041676
[004BA5B8]saw incoming RTCP packet (from address 127.0.0.1, port 6971)
 80c80006 f3c75135 d63fe753 ac23e9ea 6f5132fc 0000000c 00002172 81ca0005
f3c75135 010a4661 6e637950 616e7473 00000000
SR
RR
validated RTCP subpacket (type 2): 0, 200, 0, 0xf3c75135
UNSUPPORTED TYPE(0xca)
validated RTCP subpacket (type 2): 1, 202, 16, 0xf3c75135
validated entire RTCP packet
Stream "rtsp://127.0.0.1:8554/stream/"; video/H264:     Received 467 bytes.
Presentation time: 1385508727.891801    NPT: -14681.483425
Stream "rtsp://127.0.0.1:8554/stream/"; video/H264:     Received 493 bytes.
Presentation time: 1385508727.891801    NPT: -14681.483425
Stream "rtsp://127.0.0.1:8554/stream/"; video/H264:     Received 547 bytes.
Presentation time: 1385508727.891812    NPT: -14681.483414
schedule(0.428738->1385523412.171732)
Stream "rtsp://127.0.0.1:8554/stream/"; video/H264:     Received 513 bytes.
Presentation time: 1385508727.910934    NPT: -14681.464292
Stream "rtsp://127.0.0.1:8554/stream/"; video/H264:     Received 588 bytes.
Presentation time: 1385508727.910945    NPT: -14681.464281
Stream "rtsp://127.0.0.1:8554/stream/"; video/H264:     Received 625 bytes.
Presentation time: 1385508727.910956    NPT: -14681.464270
Stream "rtsp://127.0.0.1:8554/stream/"; video/H264:     Received 605 bytes.
Presentation time: 1385508727.930178    NPT: -14681.445048
Stream "rtsp://127.0.0.1:8554/stream/"; video/H264:     Received 673 bytes.
Presentation time: 1385508727.930178    NPT: -14681.445048
Stream "rtsp://127.0.0.1:8554/stream/"; video/H264:     Received 629 bytes.
Presentation time: 1385508727.930189    NPT: -14681.445037
sending REPORT
sending RTCP packet
 81c90007 cd93888a f3c75135 ffffffff 00019f5a 00000dc7 e753ac23 00007da4
81ca0005 cd93888a 010a4661 6e637950 616e7473 00000000
schedule(1.212250->1385523413.390580)
Stream "rtsp://127.0.0.1:8554/stream/"; video/H264:     Received 611 bytes.
Presentation time: 1385508727.952577    NPT: -14681.422649
Stream "rtsp://127.0.0.1:8554/stream/"; video/H264:     Received 693 bytes.
Presentation time: 1385508727.952588    NPT: -14681.422638
Stream "rtsp://127.0.0.1:8554/stream/"; video/H264:     Received 670 bytes.
Presentation time: 1385508727.952599    NPT: -14681.422627
Stream "rtsp://127.0.0.1:8554/stream/"; video/H264:     Received 623 bytes.
Presentation time: 1385508727.971776    NPT: -14681.403450
Stream "rtsp://127.0.0.1:8554/stream/"; video/H264:     Received 662 bytes.
Presentation time: 1385508727.971787    NPT: -14681.403439
Stream "rtsp://127.0.0.1:8554/stream/"; video/H264:     Received 650 bytes.
Presentation time: 1385508727.971798    NPT: -14681.403428
Stream "rtsp://127.0.0.1:8554/stream/"; video/H264:     Received 661 bytes.
Presentation time: 1385508727.990986    NPT: -14681.384240

------------------------------

Message: 4
Date: Sun, 24 Nov 2013 21:09:35 -0800
From: Ross Finlayson <finlayson at live555.com>
To: LIVE555 Streaming Media - development & use
	<live-devel at ns.live555.com>
Subject: Re: [Live-devel] getNormalPlayTime returning negative value
Message-ID: <A1C3DF1E-C90F-4298-B018-0070017FBE0B at live555.com>
Content-Type: text/plain; charset="us-ascii"

> As I have not migrated my client side code yet to the asynchronous calls,
I only upgraded the server side to version 2013.11.06. 

Sorry, but the latest version of the code is the only version that we
support.  So, you'll need to upgrade your client to use the latest version
(with the asynchronous RTSP client interface, which has existed for 3 1/2
years now).

In the meantime, if you want to test your server with a RTSP client that
uses the latest version of the code, then you can do so using the
"testRTSPClient" demo application.  If you compile this with
"DEBUG_PRINT_NPT" defined, then it will display the 'normal play time' for
each frame (as well as 'presentation time').


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
********



More information about the live-devel mailing list