diff --git a/girs/GstNet-1.0.gir b/girs/GstNet-1.0.gir index e2cedcbc0f..4b85d6dbcc 100644 --- a/girs/GstNet-1.0.gir +++ b/girs/GstNet-1.0.gir @@ -859,6 +859,34 @@ parameters if it wasn't called before.</doc> </parameter> </parameters> </function> + <function name="ptp_init_full" c:identifier="gst_ptp_init_full" version="1.24"> + <doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.c">Initialize the GStreamer PTP subsystem and create a PTP ordinary clock in +slave-only mode according to the @config. + +@config is a #GstStructure with the following optional fields: +* #guint64 `clock-id`: The clock ID to use for the local clock. If the + clock-id is not provided or %GST_PTP_CLOCK_ID_NONE is provided, a clock + id is automatically generated from the MAC address of the first network + interface. +* #GStrv `interfaces`: The interface names to listen on for PTP packets. If + none are provided then all compatible interfaces will be used. +* #guint `ttl`: The TTL to use for multicast packets sent out by GStreamer. + This defaults to 1, i.e. packets will not leave the local network. + +This function is automatically called by gst_ptp_clock_new() with default +parameters if it wasn't called before.</doc> + <source-position filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.h"/> + <return-value transfer-ownership="none"> + <doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.c">%TRUE if the GStreamer PTP clock subsystem could be initialized.</doc> + <type name="gboolean" c:type="gboolean"/> + </return-value> + <parameters> + <parameter name="config" transfer-ownership="none"> + <doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.c">Configuration for initializing the GStreamer PTP subsystem</doc> + <type name="Gst.Structure" c:type="const GstStructure*"/> + </parameter> + </parameters> + </function> <function name="ptp_is_initialized" c:identifier="gst_ptp_is_initialized" version="1.6"> <doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.c">Check if the GStreamer PTP clock subsystem is initialized.</doc> <source-position filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.h"/>