Synchronizing multiple RTP sources

Sebastian Dröge sebastian at centricular.com
Tue Jun 23 00:28:41 PDT 2015


On Di, 2015-06-23 at 00:00 +0200, Peter Maersk-Moller wrote:
> Hi
> 
> Would it be possible with GStreamer to playout mutiple RTP sources 
> synchronized if the playout for each source takes place in its own 
> process?

Short answer: yes.

See the example applications here:
http://cgit.freedesktop.org/gstreamer/gst-rtsp-server/tree/examples/test-netclock-client.c
http://cgit.freedesktop.org/gstreamer/gst-rtsp-server/tree/examples/test-netclock.c

Instead of sharing a network clock, you could also share a GStreamer
NTP or PTP clock, or alternatively set the system clock with wall clock
time on the pipelines and synchronize the system clocks outside
GStreamer.


These examples are doing RTSP, but only to make the setup of the rtpbin
simpler. What matters is those properties that are set on rtpbin and
proper selection of the pipeline clock.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150623/a366b55c/attachment.sig>


More information about the gstreamer-devel mailing list