[gst-devel] gstrtpbin sender multi sync receiver

Thomas Roos thomas at roosesweb.de
Fri Nov 12 09:18:59 CET 2010


hello all,
I want to have time synchronised audio playback (multi room feature) on
multiple receivers (differerent ip devices)
my sender pipeline
alsasrc ! pcmapay ! tee ! rtpbin ! udpsink1(rtp)
                                   !      ! udpsink1(rtcp)
                                   !     ! udpsrc1(rtcp)
                                   ! rtpbin ! udpsink2(rtp)
                   ! udpsink2(rtcp)
                 ! udpsrc2(rtcp)

receiver pipeline 1
udpsrc (rtp)       ! rtpbin ! pcmadepay ! alsasink
udpsrc (rtcp)     !
udpsink (rtcp)   !

receiver pipeline 2
udpsrc (rtp)      ! rtpbin ! pcmadepay ! alsasink
udpsrc (rtcp)    !
udpsink (rtcp)  !

so I have tried (in order to synchronise the streams) to
set the ts-offset in the udpsink1(rtp) to a fixed maximum network delay (i
use WANem for testing)
and enabled
"ntp-sync" and "use-pipeline-clock" for the sender and receiver rtpbin
Pipeline is working but network delay still exsists.
Shouldn't the ntp-sync and use-pipeline clock parameter synchronize the
sender and receiver clocks?
Together with the ts-offset it is played out delayed but synchronised? The
ts-offset sets the playout time?
Can anybody help me? Ideas? Examples?
I can only find examples for lipsync audio/video streams, and that only for
one receiver.
According to that post:
http://sourceforge.net/mailarchive/message.php?msg_id=20100827160618.15BA0EE8CE%40bugzilla-web.gnome.org
it should work in the actual git version
am I wrong?
cheers Thomas
P.S: i use the git version from 11.11.2010 of gstreamer gst-plugins-base
gst-plugins-good
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20101112/a7c5a44e/attachment.htm>


More information about the gstreamer-devel mailing list