gstnet.global
Global functions for gstnet1 library
Functions 13
fn
gstnet.net_address_meta.NetAddressMeta bufferAddNetAddressMeta(gst.buffer.Buffer buffer, gio.socket_address.SocketAddress addr)Attaches addr as metadata in a #GstNetAddressMeta to buffer.fn
gstnet.net_control_message_meta.NetControlMessageMeta bufferAddNetControlMessageMeta(gst.buffer.Buffer buffer, gio.socket_control_message.SocketControlMessage message)Attaches message as metadata in a #GstNetControlMessageMeta to buffer.fn
gstnet.net_address_meta.NetAddressMeta bufferGetNetAddressMeta(gst.buffer.Buffer buffer)Find the #GstNetAddressMeta on buffer.fn
bool netUtilsSetSocketTos(gio.socket.Socket socket, int qosDscp)Configures IP_TOS value of socket, i.e. sets QoS DSCP.fn
void ptpDeinit()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.fn
bool ptpInit(ulong clockId, string[] interfaces = null)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.fn
bool ptpInitFull(gst.structure.Structure config)Initialize the GStreamer PTP subsystem and create a PTP ordinary clock in slave-only mode according to the config.fn
bool ptpIsInitialized()Check if the GStreamer PTP clock subsystem is initialized. Returns: true if the GStreamer PTP clock subsystem is initialized.fn
bool ptpIsSupported()Check if PTP clocks are generally supported on this system, and if previous initializations did not fail. Returns: true if PTP clocks are generally supported on this system, and previous initializa...fn
gulong ptpStatisticsCallbackAdd(gstnet.types.PtpStatisticsCallback callback)Installs a new statistics callback for gathering PTP statistics. See GstPtpStatisticsCallback for a list of statistics that are provided.fn
void ptpStatisticsCallbackRemove(gulong id)Removes a PTP statistics callback that was previously added with [gstnet.global.ptpStatisticsCallbackAdd].