<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
--></style><title>Re: [Live-devel] audio lags
video</title></head><body>
<blockquote type="cite" cite>I am reading a/v from live source through
socket in 2 different threads</blockquote>
<div><br></div>
<div>I hope you've read the FAQ entry about threads.</div>
<div><br></div>
<div><br></div>
<blockquote type="cite" cite>, In my aplication I am using class
derived from FramedSource and in doGetNextFrame() I read from cyclic
buffers and set the fPresentationTime etc, I wonder how can I use<i>
hasBeenSynchronizedUsingRTCP and make sure the a/v timestamps are in
sync</i></blockquote>
<div><br></div>
<div>This applies only when you are *receiving* a RTP stream; not when
you are transmitting a RTP stream. If you are transmitting a RTP
stream, then you must make sure that the "fPresentationTime"
values that you assign each outgoing frame are accurate (and aligned
with 'wall clock' time - i.e., the time that you would get by calling
"gettimeofday()").</div>
<div><br></div>
<div><br></div>
<blockquote type="cite" cite><i>, I do see SR pkts at client though I
dont have any class derived from RTPSource</i></blockquote>
<div><br></div>
<div>If you are receiving a RTP stream, then you will have a class
derived from "RTPSource" (if you are using our
software).</div>
<x-sigsep><pre>--
</pre></x-sigsep>
<div><br>
Ross Finlayson<br>
Live Networks, Inc.<br>
http://www.live555.com/</div>
</body>
</html>