From 8b805fea152600493f12666471be5f81d4c7108f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 16 Nov 2023 15:20:38 +0200 Subject: [PATCH] net: Update gir file --- girs/GstNet-1.0.gir | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) 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.