<div dir="ltr">Hi, Tristan:<br><br>&nbsp;&nbsp;&nbsp; You should not adjust video/audio latency manually because RTP provides a mechanism to accomplish this, called `lip-synchronization&#39;. Refer to RFC 3550 or book `RTP: Video and Audio for the Internet&#39; for more details. These will help you a lot.<br>
<br>Eric Zhang<br><br><div class="gmail_quote">2008/9/3 Tristan Matthews <span dir="ltr">&lt;<a href="mailto:tristan@sat.qc.ca">tristan@sat.qc.ca</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
If I have a pipeline using gstrtpbin (similar to the example in the<br>
documentation) to send audio and video, what is the best/most reliable<br>
way of adding latency to the audio? Would gst_event_new_latency work<br>
(and if so, how), or am I missing its intent:<br>
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/stable/gstreamer/html/gstreamer-GstEvent.html#gst-event-new-latency" target="_blank">http://gstreamer.freedesktop.org/data/doc/gstreamer/stable/gstreamer/html/gstreamer-GstEvent.html#gst-event-new-latency</a><br>

<br>
Basically my concern is that if video capture is too slow, can I<br>
manually adjust the audio latency to match.<br>
<br>
Best,<br>
<br>
Tristan<br>
<br>
--<br>
Tristan Matthews<br>
Société des arts technologiques [SAT]<br>
email: <a href="mailto:tristan@sat.qc.ca">tristan@sat.qc.ca</a><br>
web: <a href="http://www.music.mcgill.ca/%7Etmatthews" target="_blank">http://www.music.mcgill.ca/~tmatthews</a><br>
<br>
<br>
-------------------------------------------------------------------------<br>
This SF.Net email is sponsored by the Moblin Your Move Developer&#39;s challenge<br>
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes<br>
Grand prize is a trip for two to an Open Source event anywhere in the world<br>
<a href="http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/" target="_blank">http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</blockquote></div><br></div>