gstreamer/tests/examples
Sebastian Dröge 8d77759834 ptp: Initial implementation of a PTP clock
GstPtpClock implements a PTP (IEEE1588:2008) ordinary clock in
slave-only mode, that allows a GStreamer pipeline to synchronize
to a PTP network clock in some specific domain.

The PTP subsystem can be initialized with gst_ptp_init(), which then
starts a helper process to do the actual communication via the PTP
ports. This is required as PTP listens on ports < 1024 and thus
requires special privileges. Once this helper process is started, the
main process will synchronize to all PTP domains that are detected on
the selected interfaces.

gst_ptp_clock_new() then allows to create a GstClock that provides the
PTP time from a master clock inside a specific PTP domain. This clock
will only return valid timestamps once the timestamps in the PTP domain
are known. To check this, the GstPtpClock::internal-clock property and
the related notify::clock signal can be used. Once the internal clock
is not NULL, the PTP domain's time is known. Alternatively you can wait
for this with gst_ptp_clock_wait_ready().

To gather statistics about the PTP clock synchronization,
gst_ptp_statistics_callback_add() can be used. This gives the
application the possibility to collect all kinds of statistics
from the clock synchronization.

https://bugzilla.gnome.org/show_bug.cgi?id=749391
2015-06-03 13:55:28 +02:00
..
adapter gst: Change versioning 2012-04-04 14:28:55 +02:00
controller Remove obsolete Android build cruft 2015-04-26 17:49:44 +01:00
helloworld examples: fix bus/fd leak in hello world example 2012-09-06 15:06:08 +01:00
manual tests: Use AM_TESTS_ENVIRONMENT 2015-04-08 16:08:24 +02:00
memory Fix FSF address 2012-11-03 20:44:48 +00:00
netclock netclock: Add simple network clock server and client examples 2015-01-21 22:27:18 +11:00
ptp ptp: Initial implementation of a PTP clock 2015-06-03 13:55:28 +02:00
stepping tests: fix for appsink return value addition 2012-09-14 13:34:24 +02:00
streamiddemux streamiddemux: Add streamiddemux element 2015-03-12 14:42:18 +00:00
streams example: fix FIXME in example 2013-01-28 13:05:44 +01:00
Makefile.am ptp: Initial implementation of a PTP clock 2015-06-03 13:55:28 +02:00