PTP clock identification that can be passed to gst_ptp_init() to automatically select one based on the MAC address of interfaces
Attaches addr
as metadata in a #GstNetAddressMeta to buffer
.
a #GstBuffer
a GSocketAddress
to connect to buffer
Attaches message
as metadata in a #GstNetControlMessageMeta to buffer
.
a #GstBuffer
a GSocketControlMessage
to attach to buffer
Find the #GstNetAddressMeta on buffer
.
Receives a #GstNetTimePacket over a socket. Handles interrupted system calls, but otherwise returns NULL on error.
Deinitialize the GStreamer PTP subsystem and stop the PTP clock. If there are any remaining GstPtpClock instances, they won't be further synchronized to the PTP network clock.
Initialize the GStreamer PTP subsystem and create a PTP ordinary clock in
slave-only mode for all domains on the given interfaces
with the
given clock_id
.
If clock_id
is %GST_PTP_CLOCK_ID_NONE, a clock id is automatically
generated from the MAC address of the first network interface.
This function is automatically called by gst_ptp_clock_new() with default parameters if it wasn't called before.
PTP clock id of this process' clock or %GST_PTP_CLOCK_ID_NONE
network interfaces to run the clock on
Check if the GStreamer PTP clock subsystem is initialized.
Check if PTP clocks are generally supported on this system, and if previous initializations did not fail.
Installs a new statistics callback for gathering PTP statistics. See GstPtpStatisticsCallback for a list of statistics that are provided.
GstPtpStatisticsCallback to call
Removes a PTP statistics callback that was previously added with gst_ptp_statistics_callback_add().
Callback id to remove
The size of the packets sent between network clocks.