gstnet.global

Global functions for gstnet1 library

Functions 13

fngstnet.net_address_meta.NetAddressMeta bufferAddNetAddressMeta(gst.buffer.Buffer buffer, gio.socket_address.SocketAddress addr) nothrowAttaches addr as metadata in a #GstNetAddressMeta to buffer.
fngstnet.net_control_message_meta.NetControlMessageMeta bufferAddNetControlMessageMeta(gst.buffer.Buffer buffer, gio.socket_control_message.SocketControlMessage message) nothrowAttaches message as metadata in a #GstNetControlMessageMeta to buffer.
fngstnet.net_address_meta.NetAddressMeta bufferGetNetAddressMeta(gst.buffer.Buffer buffer) nothrowFind the #GstNetAddressMeta on buffer.
fnbool netUtilsSetSocketTos(gio.socket.Socket socket, int qosDscp) nothrowConfigures IP_TOS value of socket, i.e. sets QoS DSCP.
fnvoid ptpDeinit() nothrowDeinitialize 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.
fnbool ptpInit(ulong clockId, string[] interfaces = null) nothrowInitialize 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.
fnbool ptpInitFull(gst.structure.Structure config) nothrowInitialize the GStreamer PTP subsystem and create a PTP ordinary clock in slave-only mode according to the config.
fnbool ptpIsInitialized() nothrowCheck if the GStreamer PTP clock subsystem is initialized. Returns: true if the GStreamer PTP clock subsystem is initialized.
fnbool ptpIsSupported() nothrowCheck 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...
fngulong ptpStatisticsCallbackAdd(gstnet.types.PtpStatisticsCallback callback) nothrowInstalls a new statistics callback for gathering PTP statistics. See GstPtpStatisticsCallback for a list of statistics that are provided.
fnvoid ptpStatisticsCallbackRemove(gulong id) nothrowRemoves a PTP statistics callback that was previously added with [gstnet.global.ptpStatisticsCallbackAdd].