[Live-devel] negative presentation time in "afterGettingFrame" sink callback

Markus Schumann markuss at sonicfoundry.com
Mon Jan 14 14:57:13 PST 2013


Ross,

Here you are:

Opening connection to 10.0.70.22, port 554...
...remote connection opened
Sending request: DESCRIBE rtsp://10.0.70.22/video1+audio1 RTSP/1.0
CSeq: 2
User-Agent: C:\sofodev\Mediasite\main\Core\Capture\Debug\Test_SfLive555Client.exe (LIVE555 Streaming Media v2012.10.11)
Accept: application/sdp



Received 759 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 200 OK
CSeq: 2
x-Accept-Dynamic-Rate: 1
Content-Type: application/sdp
Content-Base: rtsp://10.0.70.22:554/video1+audio1
Content-Length: 602


v=0
o=- 1438766090 1357921184 IN IP4 10.0.70.22
s= RTSP server
i=audio video live media server
a=type:broadcast
c=IN IP4 0.0.0.0
t=0 0
m=video 0 RTP/AVP 96
i=Video channel in H264 VBR format
a=mpeg4-esid:201
a=control:trackID=0
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=428032;sprop-parameter-sets=Z0KAMtoCgPSVIAAADwAAAwHCDAgAXjgA1AXvfC8IhGo=,aM48gA==
m=audio 0 RTP/AVP 0
i=Audio channel in standard mu-Low (G711) format
a=control:trackID=1
m=application 0 RTP/AVP 107
i=ONVIF metadata
a=control:events
a=sendonly
a=rtpmap:107 vnd.onvif.metadata/90000

[URL:"rtsp://10.0.70.22:554/video1+audio1"]: Got a SDP description:
v=0
o=- 1438766090 1357921184 IN IP4 10.0.70.22
s= RTSP server
i=audio video live media server
a=type:broadcast
c=IN IP4 0.0.0.0
t=0 0
m=video 0 RTP/AVP 96
i=Video channel in H264 VBR format
a=mpeg4-esid:201
a=control:trackID=0
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=428032;sprop-parameter-sets=Z0KAMtoCgPSVIAAADwAAAwHCDAgAXjgA1AXvfC8IhGo=,aM48gA==
m=audio 0 RTP/AVP 0
i=Audio channel in standard mu-Low (G711) format
a=control:trackID=1
m=application 0 RTP/AVP 107
i=ONVIF metadata
a=control:events
a=sendonly
a=rtpmap:107 vnd.onvif.metadata/90000

[URL:"rtsp://10.0.70.22:554/video1+audio1"]: Initiated the "video/H264" subsession (client ports 56932-56933)
Sending request: SETUP rtsp://10.0.70.22:554/video1+audio1/trackID=0 RTSP/1.0
CSeq: 3
User-Agent: C:\sofodev\Mediasite\main\Core\Capture\Debug\Test_SfLive555Client.exe (LIVE555 Streaming Media v2012.10.11)
Transport: RTP/AVP;unicast;client_port=56932-56933



Received 138 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
CSeq: 3
Session: 872219556
Transport: RTP/AVP;unicast;server_port=64702-64703;client_port=56932-56933;ssrc=1a5c1a37



[URL:"rtsp://10.0.70.22:554/video1+audio1"]: Set up the "video/H264" subsession (client ports 56932-56933)
[URL:"rtsp://10.0.70.22:554/video1+audio1"]: Created a data sink for the "video/H264" subsession
[URL:"rtsp://10.0.70.22:554/video1+audio1"]: Initiated the "audio/PCMU" subsession (client ports 56934-56935)
Sending request: SETUP rtsp://10.0.70.22:554/video1+audio1/trackID=1 RTSP/1.0
CSeq: 4
User-Agent: C:\sofodev\Mediasite\main\Core\Capture\Debug\Test_SfLive555Client.exe (LIVE555 Streaming Media v2012.10.11)
Transport: RTP/AVP;unicast;client_port=56934-56935
Session: 872219556



Received 138 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
CSeq: 4
Session: 872219556
Transport: RTP/AVP;unicast;server_port=64802-64803;client_port=56934-56935;ssrc=f74a6c57



[URL:"rtsp://10.0.70.22:554/video1+audio1"]: Set up the "audio/PCMU" subsession (client ports 56934-56935)
[URL:"rtsp://10.0.70.22:554/video1+audio1"]: Created a data sink for the "audio/PCMU" subsession
[URL:"rtsp://10.0.70.22:554/video1+audio1"]: Initiated the "application/VND.ONVIF.METADATA" subsession (client ports 56936-56937)
Sending request: SETUP rtsp://10.0.70.22:554/video1+audio1/events RTSP/1.0
CSeq: 5
User-Agent: C:\sofodev\Mediasite\main\Core\Capture\Debug\Test_SfLive555Client.exe (LIVE555 Streaming Media v2012.10.11)
Transport: RTP/AVP;unicast;client_port=56936-56937
Session: 872219556



Received 138 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
CSeq: 5
Session: 872219556
Transport: RTP/AVP;unicast;server_port=64902-64903;client_port=56936-56937;ssrc=10ebbe51



[URL:"rtsp://10.0.70.22:554/video1+audio1"]: Set up the "application/VND.ONVIF.METADATA" subsession (client ports 56936-56937)
[URL:"rtsp://10.0.70.22:554/video1+audio1"]: Failed to create a data sink for the "application/VND.ONVIF.METADATA" subsession: liveMedia9
Sending request: PLAY rtsp://10.0.70.22:554/video1+audio1 RTSP/1.0
CSeq: 6
User-Agent: C:\sofodev\Mediasite\main\Core\Capture\Debug\Test_SfLive555Client.exe (LIVE555 Streaming Media v2012.10.11)
Session: 872219556
Range: npt=0.000-



Received 252 new bytes of response data.
Received a complete PLAY response:
RTSP/1.0 200 OK
CSeq: 6
Session: 872219556
Range: npt=now-
RTP-Info: url=rtsp://10.0.70.22:554/video1+audio1/trackID=0;seq=35711,url=rtsp://10.0.70.22:554/video1+audio1/trackID=1;seq=62268,url=rtsp://10.0.70.22:554/video1+audio1/events;seq=4796



[URL:"rtsp://10.0.70.22:554/video1+audio1"]: Started playing session...
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 32 bytes.          Presentation time: 1358204056.791836!        NPT: 32409.6
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 4 bytes.            Presentation time: 1358204056.791836!        NPT: 32409.6
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 23815 bytes.   Presentation time: 1358204056.791836!        NPT: 32409.6
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: 1358204056.835742!        NPT: 130239
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 2331 bytes.     Presentation time: 1358204056.858836!        NPT: 32409.7
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 658 bytes.        Presentation time: 1358204056.925836!        NPT: 32409.7
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: 1358204056.963742!        NPT: 130240
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 614 bytes.        Presentation time: 1358204056.991836!        NPT: 32409.8
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 631 bytes.        Presentation time: 1358204057.058836!        NPT: 32409.9
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806167.638055            NPT: 130240
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 632 bytes.        Presentation time: -850806167.672293            NPT: 32409.9
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 407 bytes.        Presentation time: -850806167.739293            NPT: 32410
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806167.766055            NPT: 130240
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 392 bytes.        Presentation time: -850806167.805293            NPT: 32410.1
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 390 bytes.        Presentation time: -850806167.872293            NPT: 32410.1
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806167.894055            NPT: 130240
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 239 bytes.        Presentation time: -850806167.939293            NPT: 32410.2
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 264 bytes.        Presentation time: -850806166.005293            NPT: 32410.3
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806166.022055            NPT: 130240
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 235 bytes.        Presentation time: -850806166.071635            NPT: 32410.3
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 245 bytes.        Presentation time: -850806166.138635            NPT: 32410.4
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806166.150445            NPT: 130240
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 211 bytes.        Presentation time: -850806166.205635            NPT: 32410.5
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 139 bytes.        Presentation time: -850806166.271635            NPT: 32410.5
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806166.278445            NPT: 130240
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 107 bytes.        Presentation time: -850806166.338635            NPT: 32410.6
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 248 bytes.        Presentation time: -850806166.405635            NPT: 32410.7
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806166.406445            NPT: 130240
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 256 bytes.        Presentation time: -850806166.472635            NPT: 32410.7
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806166.534445            NPT: 130241
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 331 bytes.        Presentation time: -850806166.536635            NPT: 32410.8
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 542 bytes.        Presentation time: -850806166.603635            NPT: 32410.8
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806166.662445            NPT: 130241
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 885 bytes.        Presentation time: -850806166.672635            NPT: 32410.9
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 2186 bytes.     Presentation time: -850806166.739635            NPT: 32411
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806166.790445            NPT: 130241
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 1263 bytes.     Presentation time: -850806166.805635            NPT: 32411.1
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 1987 bytes.     Presentation time: -850806166.872635            NPT: 32411.1
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806166.918445            NPT: 130241
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 1137 bytes.     Presentation time: -850806166.939635            NPT: 32411.2
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 1730 bytes.     Presentation time: -850806165.005635            NPT: 32411.3
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806165.046445            NPT: 130241
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 1651 bytes.     Presentation time: -850806165.072635            NPT: 32411.3
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 1634 bytes.     Presentation time: -850806165.139635            NPT: 32411.4
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806165.174445            NPT: 130241
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 1573 bytes.     Presentation time: -850806165.206635            NPT: 32411.5
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 1633 bytes.     Presentation time: -850806165.272635            NPT: 32411.5
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806165.302445            NPT: 130241
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 32 bytes.          Presentation time: -850806165.339635            NPT: 32411.6
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 4 bytes.            Presentation time: -850806165.339635            NPT: 32411.6
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 23827 bytes.   Presentation time: -850806165.339635            NPT: 32411.6
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 2500 bytes.     Presentation time: -850806165.406635            NPT: 32411.7
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806165.430445            NPT: 130241
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 742 bytes.        Presentation time: -850806165.473635            NPT: 32411.7
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 652 bytes.        Presentation time: -850806165.539635            NPT: 32411.8
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806165.558445            NPT: 130242
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 638 bytes.        Presentation time: -850806165.606635            NPT: 32411.9
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 429 bytes.        Presentation time: -850806165.673635            NPT: 32411.9
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806165.686445            NPT: 130242
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 401 bytes.        Presentation time: -850806165.740635            NPT: 32412
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 288 bytes.        Presentation time: -850806165.806635            NPT: 32412.1
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806165.814445            NPT: 130242
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 275 bytes.        Presentation time: -850806165.873635            NPT: 32412.1
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 273 bytes.        Presentation time: -850806165.940635            NPT: 32412.2
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806165.942445            NPT: 130242
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 262 bytes.        Presentation time: -850806164.006635            NPT: 32412.3
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 255 bytes.        Presentation time: -850806164.073635            NPT: 32412.3
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806164.070445            NPT: 130242
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 149 bytes.        Presentation time: -850806164.140635            NPT: 32412.4
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806164.198445            NPT: 130242
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 122 bytes.        Presentation time: -850806164.206635            NPT: 32412.5
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 129 bytes.        Presentation time: -850806164.272635            NPT: 32412.5
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806164.326445            NPT: 130242
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 132 bytes.        Presentation time: -850806164.340635            NPT: 32412.6
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 153 bytes.        Presentation time: -850806164.407635            NPT: 32412.7
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806164.454445            NPT: 130243
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 218 bytes.        Presentation time: -850806164.474635            NPT: 32412.7
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 638 bytes.        Presentation time: -850806164.540635            NPT: 32412.8
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806164.582445            NPT: 130243
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 625 bytes.        Presentation time: -850806164.607635            NPT: 32412.9
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 571 bytes.        Presentation time: -850806164.674635            NPT: 32412.9
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806164.710445            NPT: 130243
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 2521 bytes.     Presentation time: -850806164.740635            NPT: 32413
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 1208 bytes.     Presentation time: -850806164.807635            NPT: 32413.1
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806164.838445            NPT: 130243
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 1234 bytes.     Presentation time: -850806164.874635            NPT: 32413.1
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 1853 bytes.     Presentation time: -850806164.941635            NPT: 32413.2
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806164.966445            NPT: 130243
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 1740 bytes.     Presentation time: -850806163.006635            NPT: 32413.3
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 1115 bytes.     Presentation time: -850806163.073635            NPT: 32413.3
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806163.094445            NPT: 130243
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 1741 bytes.     Presentation time: -850806163.141635            NPT: 32413.4
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 1615 bytes.     Presentation time: -850806163.208635            NPT: 32413.5
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806163.222445            NPT: 130243
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 1662 bytes.     Presentation time: -850806163.274635            NPT: 32413.5
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 32 bytes.          Presentation time: -850806163.341635            NPT: 32413.6
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 4 bytes.            Presentation time: -850806163.341635            NPT: 32413.6
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 23808 bytes.   Presentation time: -850806163.341635            NPT: 32413.6
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806163.350445            NPT: 130243
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 2621 bytes.     Presentation time: -850806163.408635            NPT: 32413.7
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 637 bytes.        Presentation time: -850806163.475635            NPT: 32413.7
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806163.478445            NPT: 130244
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 636 bytes.        Presentation time: -850806163.541635            NPT: 32413.8
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 626 bytes.        Presentation time: -850806163.608635            NPT: 32413.9
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806163.606445            NPT: 130244
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 587 bytes.        Presentation time: -850806163.675635            NPT: 32413.9
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806163.734445            NPT: 130244
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 402 bytes.        Presentation time: -850806163.737635            NPT: 32414
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 342 bytes.        Presentation time: -850806163.804635            NPT: 32414
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806163.862445            NPT: 130244
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 389 bytes.        Presentation time: -850806163.875635            NPT: 32414.1
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 242 bytes.        Presentation time: -850806163.942635            NPT: 32414.2
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806163.990445            NPT: 130244
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 257 bytes.        Presentation time: -850806162.008635            NPT: 32414.3
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 233 bytes.        Presentation time: -850806162.075635            NPT: 32414.3
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806162.118445            NPT: 130244
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 262 bytes.        Presentation time: -850806162.142635            NPT: 32414.4
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 168 bytes.        Presentation time: -850806162.209635            NPT: 32414.5
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806162.246445            NPT: 130244
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 162 bytes.        Presentation time: -850806162.275635            NPT: 32414.5
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 149 bytes.        Presentation time: -850806162.342635            NPT: 32414.6
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806162.374445            NPT: 130244
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 134 bytes.        Presentation time: -850806162.409635            NPT: 32414.7
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 217 bytes.        Presentation time: -850806162.476635            NPT: 32414.7
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806162.502445            NPT: 130245
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 430 bytes.        Presentation time: -850806162.541635            NPT: 32414.8
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 618 bytes.        Presentation time: -850806162.608635            NPT: 32414.9
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806162.630445            NPT: 130245
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 620 bytes.        Presentation time: -850806162.676635            NPT: 32414.9
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 2441 bytes.     Presentation time: -850806162.742635            NPT: 32415
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806162.758445            NPT: 130245
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 1209 bytes.     Presentation time: -850806162.809635            NPT: 32415.1
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 1958 bytes.     Presentation time: -850806162.876635            NPT: 32415.1
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806162.886445            NPT: 130245
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 1089 bytes.     Presentation time: -850806162.943635            NPT: 32415.2
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 1784 bytes.     Presentation time: -850806161.009635            NPT: 32415.3
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806161.014445            NPT: 130245
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 1705 bytes.     Presentation time: -850806161.076635            NPT: 32415.3
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 1118 bytes.     Presentation time: -850806161.143635            NPT: 32415.4
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806161.142445            NPT: 130245
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 1575 bytes.     Presentation time: -850806161.210635            NPT: 32415.5
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806161.270445            NPT: 130245
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 1611 bytes.     Presentation time: -850806161.276635            NPT: 32415.5
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 32 bytes.          Presentation time: -850806161.343852            NPT: 32415.6
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 4 bytes.            Presentation time: -850806161.343852            NPT: 32415.6
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 23823 bytes.   Presentation time: -850806161.343852            NPT: 32415.6
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806161.398445            NPT: 130245
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 2642 bytes.     Presentation time: -850806161.410852            NPT: 32415.7
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 695 bytes.        Presentation time: -850806161.477852            NPT: 32415.7
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806161.526445            NPT: 130246
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 623 bytes.        Presentation time: -850806161.543852            NPT: 32415.8
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 580 bytes.        Presentation time: -850806161.610852            NPT: 32415.9
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806161.654445            NPT: 130246
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 582 bytes.        Presentation time: -850806161.677852            NPT: 32415.9
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 335 bytes.        Presentation time: -850806161.743852            NPT: 32416
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806161.782445            NPT: 130246
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 412 bytes.        Presentation time: -850806161.810852            NPT: 32416.1
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 345 bytes.        Presentation time: -850806161.877852            NPT: 32416.1
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:    Received 1024 bytes.     Presentation time: -850806161.910445            NPT: 130246
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 230 bytes.        Presentation time: -850806161.945852            NPT: 32416.2

From: live-devel-bounces at ns.live555.com [mailto:live-devel-bounces at ns.live555.com] On Behalf Of Ross Finlayson
Sent: Sunday, January 13, 2013 7:01 PM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] negative presentation time in "afterGettingFrame" sink callback

I just got puzzled by seeing the output of the following lines of code that I copied and pasted:

sprintf(uSecsStr, "%06u", (unsigned)presentationTime.tv_usec);
envir() << ".\tPresentation time: " << (unsigned)presentationTime.tv_sec << "." << uSecsStr;

Yes, the "(unsigned)" cast in the second line was incorrect.  It will be changed to "(int)" in the next release of the software.



DEBUG output (with unsigned cast removed):

Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 476 bytes.     Presentation time: -850904334.959992    NPT: 29677
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 511 bytes.     Presentation time: -850904333.026992    NPT: 29677
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:       Received 1024 bytes.    Presentation time: -850904333.074820    NPT: 127507
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 450 bytes.     Presentation time: -850904333.093992    NPT: 29677.1
Stream "rtsp://10.0.70.22:554/video1+audio1"; video/H264:       Received 461 bytes.     Presentation time: -850904333.160992    NPT: 29677.2
Stream "rtsp://10.0.70.22:554/video1+audio1"; audio/PCMU:       Received 1024 bytes.    Presentation time: -850904333.204102    NPT: 127507

Life is good

Perhaps, although I'm a bit puzzled by the "NPT" values - in particular, why they aren't in sync.

Could you send another message, this time with the *complete* RTSP/RTP debugging output (ending with the first few 'negative' presentation times, as you've done above)?

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20130114/69f3b88e/attachment-0001.html>


More information about the live-devel mailing list