<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">I saw the FAQ in live555 website.<div>It said the live555 sync the audio and video by RTCP's SR packets. </div><div>So I should create RTCP instance for each RTP source explititly?<br><br><br><br><div></div><div id="divNeteaseMailCard"></div><br>At 2013-10-24 05:48:40,"Ross Finlayson" <finlayson@live555.com> wrote:<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><div><blockquote type="cite"><div style="line-height: 1.7; font-size: 14px; font-family: arial;"><div>So how should I set the duration, then the audio and video would be sync.</div></div></blockquote><div><br></div>You don't.  The way you ensure that your audio and video streams are in sync is by having your server give each (audio and video) frame accurate presentation times - i.e., in the setting of "fPresentationTime" by the (audio and video) "FramedSource" subclasses.</div><div><br></div><div>If you do this, then the receiving client(s) will properly synchronize audio and video.</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;  "><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;  ">Ross Finlayson<br>Live Networks, Inc.<br><a href="http://www.live555.com/">http://www.live555.com/</a></span></span>
</div>
<br></blockquote></div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>