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. + + 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. + + + %TRUE if the GStreamer PTP clock subsystem could be initialized. + + + + + Configuration for initializing the GStreamer PTP subsystem + + + + Check if the GStreamer PTP clock subsystem is initialized.