gstnet.global

Undocumented in source.

Members

Functions

bufferAddNetAddressMeta
gstnet.net_address_meta.NetAddressMeta bufferAddNetAddressMeta(gst.buffer.Buffer buffer, gio.socket_address.SocketAddress addr)

Attaches addr as metadata in a #GstNetAddressMeta to buffer.

bufferAddNetControlMessageMeta
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.

bufferGetNetAddressMeta
gstnet.net_address_meta.NetAddressMeta bufferGetNetAddressMeta(gst.buffer.Buffer buffer)

Find the #GstNetAddressMeta on buffer.

netAddressMetaApiGetType
gobject.types.GType netAddressMetaApiGetType()
netControlMessageMetaApiGetType
gobject.types.GType netControlMessageMetaApiGetType()
netUtilsSetSocketTos
bool netUtilsSetSocketTos(gio.socket.Socket socket, int qosDscp)

Configures IP_TOS value of socket, i.e. sets QoS DSCP.

ptpDeinit
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.

ptpInit
bool ptpInit(ulong clockId, string[] interfaces)

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.

ptpInitFull
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.

ptpIsInitialized
bool ptpIsInitialized()

Check if the GStreamer PTP clock subsystem is initialized.

ptpIsSupported
bool ptpIsSupported()

Check if PTP clocks are generally supported on this system, and if previous initializations did not fail.

ptpStatisticsCallbackAdd
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.

ptpStatisticsCallbackRemove
void ptpStatisticsCallbackRemove(gulong id)

Removes a PTP statistics callback that was previously added with gstnet.global.ptpStatisticsCallbackAdd.