mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-06 01:19:38 +00:00
8d77759834
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 |
||
---|---|---|
.. | ||
common | ||
vs6 | ||
vs7 | ||
vs8 | ||
vs10 | ||
MANIFEST | ||
README.txt |
Building GStreamer on Windows ----------------------------- Running GStreamer on Windows is currently experimental, but improving. Building on MinGW/MSys ---------------------- Should work out of the box from the toplevel directory using the standard Unix build system provided. This build type is fairly well supported. Building with Visual Studio 6 ----------------------------- The directory vs6/ contains the workspaces needed to build GStreamer from Visual Studio. This build type is fairly well supported. Building with Visual Studio 7 ----------------------------- vs7/ contains the files needed, but they haven't been updated since the 0.8 series. This build is currently unsupported. The common/ directory contains support files that can be shared between these two versions of Visual Studio.