<html><head><base href="x-msg://228/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jul 29, 2011, at 2:49 PM, Jeff Shanab wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; 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; "><div lang="EN-US" link="blue" vlink="purple"><div class="WordSection1" style="page: WordSection1; "><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">I traced the code and I AM getting the packets….<o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><o:p> </o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">But every rtp timestamp is 0!</span></div></div></div></span></blockquote></div><br><div>Arggh, now you're talking about something completely different: RTP timestamps - which I specifically said you don't need to care about!!!</div><div><br></div><div>So, are you talking about "hasBeenSynchronizedUsingRTCP()", RTP timestamps (which you don't need to care about), or presentation times (which you do need to care about)?</div><div><br></div><div>But anyway, to summarize (and this will be my last posting on this thread):</div><div><br></div><div>1/ If you ever reach the code at line 380 of "liveMedia/RTPSource.cpp", then</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>- You have received a RTCP "SR" packet, and </div><div><span class="Apple-tab-span" style="white-space:pre"> </span>- "hasBeenSynchronizedUsingRTCP()" will always return True from then on, and</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>- the presentation times for video (and audio, if present) should be correctly synchronized from then on.</div><div>2/ If "hasBeenSynchronizedUsingRTCP()" always returns False, then that must mean that you're not receiving any RTCP "SR" packets, which is probably because the server does not send any. But that doesn't really matter, unless you're receiving both a video stream and an audio stream (in which case they can never be synchronized).</div><div>3/ All you really care about is the presentation times, anyway.</div><div>4/ You absolutely do not need to 'hack' the supplied code.</div><div><br></div><div>Again, this will be my last posting on this thread.</div><br><div>
<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>