Hi,<br><br>another late reply ;) . See my comments below.<br><br><div class="gmail_quote">On Fri, Nov 12, 2010 at 10:18 AM, Thomas Roos <span dir="ltr"><<a href="mailto:thomas@roosesweb.de">thomas@roosesweb.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">hello all,<br>I want to have time synchronised audio playback (multi room feature) on multiple receivers (differerent ip devices)<br>
my sender pipeline<br>alsasrc ! pcmapay ! tee ! rtpbin ! udpsink1(rtp)<br> ! ! udpsink1(rtcp)<br>
! ! udpsrc1(rtcp)<br> ! rtpbin ! udpsink2(rtp)<br> ! udpsink2(rtcp)<br> ! udpsrc2(rtcp)<br></blockquote><div><br>
Likely you're not using this exact command, btw I guess both the rtpbin elements are connected to the tee.<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>receiver pipeline 1<br>
udpsrc (rtp) ! rtpbin ! pcmadepay ! alsasink<br>udpsrc (rtcp) !<br>udpsink (rtcp) ! <br><br>receiver pipeline 2<br>udpsrc (rtp) ! rtpbin ! pcmadepay ! alsasink<br>udpsrc (rtcp) !<br>udpsink (rtcp) ! <br>
<br>so I have tried (in order to synchronise the streams) to<br>set the ts-offset in the udpsink1(rtp) to a fixed maximum network delay (i use WANem for testing)<br></blockquote><div><br>as the timestamps are representing data generation time, I don't get how modifying the ts-offset in the source may affect synchronisation on multiple receivers.<br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">and enabled<br>"ntp-sync" and "use-pipeline-clock" for the sender and receiver rtpbin<br>
Pipeline is working but network delay still exsists.<br>Shouldn't the ntp-sync and use-pipeline clock parameter synchronize the sender and receiver clocks? <br></blockquote><div><br>A few questions.<br><br>on a tcpdump, do you see the RTCP sender reports travelling over the network? Setting GST_DEBUG=gstrtpbin:5, do you see messages like "NTP time..." or "NTP diff..." on the clients? If you do, are the drift compensations correct?<br>
<br>As a further point, you need to be sure that you're using the same values of "n" for the pads you're connecting the udpsinks to in the sending pipeline (e.g. <span>send_rtcp_src_0 and </span><span>send_rtcp_src_0</span>).<br>
<br>I hope this will help.<br><br>Regards<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Together with the ts-offset it is played out delayed but synchronised? The ts-offset sets the playout time?<br>
Can anybody help me? Ideas? Examples?<br>I can only find examples for lipsync audio/video streams, and that only for one receiver.<br>According to that post: <br><a href="http://sourceforge.net/mailarchive/message.php?msg_id=20100827160618.15BA0EE8CE%40bugzilla-web.gnome.org" target="_blank">http://sourceforge.net/mailarchive/message.php?msg_id=20100827160618.15BA0EE8CE%40bugzilla-web.gnome.org</a><br>
it should work in the actual git version<br>am I wrong?<br>cheers Thomas<br>P.S: i use the git version from 11.11.2010 of gstreamer gst-plugins-base gst-plugins-good<br> <br>
<br>------------------------------------------------------------------------------<br>
Centralized Desktop Delivery: Dell and VMware Reference Architecture<br>
Simplifying enterprise desktop deployment and management using<br>
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end<br>
client virtualization framework. Read more!<br>
<a href="http://p.sf.net/sfu/dell-eql-dev2dev" target="_blank">http://p.sf.net/sfu/dell-eql-dev2dev</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>
<br></blockquote></div><br>