<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 10:09 AM, 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: 11pt; font-family: Calibri, sans-serif; ">While I thought this was working before for me it is definitely always returning false at the moment. I am trying to track this down to see what I may have done to break this but I cannot figure out how the variable it returns ever gets set. It is constructed false and passed on in each MultiFramedRTPSource::doGetNextFrame1(). <o:p></o:p></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><o:p> </o:p></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">So how does this get set?</div></div></div></span></blockquote><div><br></div>It gets set by the RTP receiving code, when it receives RTCP "SR" packets.</div><div><br></div><div>If, however, the RTP receiving code doesn't receive any RTCP "SR" packets (e.g., because the sender does not implement RTCP), then "hasBeenSynchronizedUsingRTCP()" will never return True.</div><div><br></div><div><br></div><div><blockquote type="cite"><span class="Apple-style-span" style="font-family: Calibri, sans-serif; font-size: 15px; ">Rtsp connected to H264 stream from a security camera. Stream plays fine in VLC, recorded video is ok, but never ever syncs and I wanted to use that sync to trigger the beginning of recording . </span></blockquote><div><br></div>Does your camera stream audio as well as video? If it streams only video, then I'm not sure what 'syncs' could mean.</div><div><br></div><div>If, however, your camera streams both audio and video, then it must implement RTCP, otherwise receiving client will never be able to synchronize audio and video.</div><div><br></div><div>So in short: Does your camera send RTCP packets?</div><div><br></div><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; ">Ross Finlayson<br>Live Networks, Inc.<br><a href="http://www.live555.com/">http://www.live555.com/</a></span>
</div>
<br></body></html>