<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><blockquote type="cite">I just got puzzled by seeing the output of the following lines of code that I copied and pasted:<br><br>sprintf(uSecsStr, "%06u", (unsigned)presentationTime.tv_usec);<br>envir() << ".\tPresentation time: " << (unsigned)presentationTime.tv_sec << "." << uSecsStr; <br></blockquote><div><br></div>Yes, the "(unsigned)" cast in the second line was incorrect.  It will be changed to "(int)" in the next release of the software.</div><div><br></div><div><br><blockquote type="cite">DEBUG output (with unsigned cast removed):<br><br>Stream "<a href="rtsp://10.0.70.22:554/video1+audio1">rtsp://10.0.70.22:554/video1+audio1</a>"; video/H264:       Received 476 bytes.     Presentation time: -850904334.959992    NPT: 29677<br>Stream "<a href="rtsp://10.0.70.22:554/video1+audio1">rtsp://10.0.70.22:554/video1+audio1</a>"; video/H264:       Received 511 bytes.     Presentation time: -850904333.026992    NPT: 29677<br>Stream "<a href="rtsp://10.0.70.22:554/video1+audio1">rtsp://10.0.70.22:554/video1+audio1</a>"; audio/PCMU:       Received 1024 bytes.    Presentation time: -850904333.074820    NPT: 127507<br>Stream "<a href="rtsp://10.0.70.22:554/video1+audio1">rtsp://10.0.70.22:554/video1+audio1</a>"; video/H264:       Received 450 bytes.     Presentation time: -850904333.093992    NPT: 29677.1<br>Stream "<a href="rtsp://10.0.70.22:554/video1+audio1">rtsp://10.0.70.22:554/video1+audio1</a>"; video/H264:       Received 461 bytes.     Presentation time: -850904333.160992    NPT: 29677.2<br>Stream "<a href="rtsp://10.0.70.22:554/video1+audio1">rtsp://10.0.70.22:554/video1+audio1</a>"; audio/PCMU:       Received 1024 bytes.    Presentation time: -850904333.204102    NPT: 127507<br></blockquote><div><br></div><div><blockquote type="cite">Life is good<br></blockquote><br></div>Perhaps, although I'm a bit puzzled by the "NPT" values - in particular, why they aren't in sync.</div><div><br></div><div>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)?</div><br><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">Ross Finlayson<br>Live Networks, Inc.<br><a href="http://www.live555.com/">http://www.live555.com/</a></span></span>
</div>
<br></body></html>