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) nothrowAttaches 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) nothrowAttaches message as metadata in a #GstNetControlMessageMeta to buffer.fn
gstnet.net_address_meta.NetAddressMeta bufferGetNetAddressMeta(gst.buffer.Buffer buffer) nothrowFind the #GstNetAddressMeta on buffer.fn
bool netUtilsSetSocketTos(gio.socket.Socket socket, int qosDscp) nothrowConfigures IP_TOS value of socket, i.e. sets QoS DSCP.fn
void 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.fn
bool 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.fn
bool ptpInitFull(gst.structure.Structure config) nothrowInitialize the GStreamer PTP subsystem and create a PTP ordinary clock in slave-only mode according to the config.fn
bool ptpIsInitialized() nothrowCheck if the GStreamer PTP clock subsystem is initialized. Returns: true if the GStreamer PTP clock subsystem is initialized.fn
bool 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...fn
gulong ptpStatisticsCallbackAdd(gstnet.types.PtpStatisticsCallback callback) nothrowInstalls a new statistics callback for gathering PTP statistics. See GstPtpStatisticsCallback for a list of statistics that are provided.fn
void ptpStatisticsCallbackRemove(gulong id) nothrowRemoves a PTP statistics callback that was previously added with [gstnet.global.ptpStatisticsCallbackAdd].