[gstreamer-bugs] [Bug 627796] rtpbin: add ntp clock sync

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Aug 24 09:31:51 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=627796
  GStreamer | gst-plugins-good | unspecified

Wim Taymans <wim.taymans> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wim.taymans at gmail.com

--- Comment #2 from Wim Taymans <wim.taymans at gmail.com> 2010-08-24 16:31:49 UTC ---
This patch can be improved. I would like to see it work without changing the
buffer-mode or changing the NTP clock. 

The current receiver calculates a diff between streams to keep them
synchronized. What really should happen is that each stream individually is
adjusted so that the right RTP timestamps are played at the right NTP time. If
receivers then have their NTP times synchronized, streams will be in sync.

For this, a mapping should be made between running_time and NTP time. We can
already map RTP timestamps to running_time by using the jitterbuffer values. We
can also map RTP time to NTP time with SR packets. It's then not so hard to
calculate a diff to adjust the running_times. 

No buffer-time should be changed for this to work. No shared pipeline clock is
needed either. The only thing needed is a shared NTP time.

As an addition, when you don't want to sync clients using ntpd, you can add a
property to gstrtpbin to set the clock used for generating NTP timestamps.
Maybe the only two interesting options for generating NTP times are either to
use the (gstreamer synchronized) pipeline clock or the (ntpd synchronized)
system-time..

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list