gstnet.net_client_clock

Module for NetClientClock class

Types 3

#GstNetClientClock implements a custom #GstClock that synchronizes its time to a remote time provider such as #GstNetTimeProvider. #GstNtpClock implements a #GstClock that synchronizes its time to a remote NTPv4 server.

A new clock is created with gstnet.net_client_clock.NetClientClock.new_ or gstnet.ntp_clock.NtpClock.new_, which takes the address and port of the remote time provider along with a name and an initial time.

This clock will poll the time provider and will update its calibration parameters based on the local and remote observations.

The "round-trip" property limits the maximum round trip packets can take.

Various parameters of the clock can be configured with the parent #GstClock "timeout", "window-size" and "window-threshold" object properties.

A #GstNetClientClock and #GstNtpClock is typically set on a #GstPipeline with gst.pipeline.Pipeline.useClock.

If you set a #GstBus on the clock via the "bus" object property, it will send @GST_MESSAGE_ELEMENT messages with an attached #GstStructure containing statistics about clock accuracy and network traffic.

Methods
GType _gType() @property
NetClientClock self()Returns `this`, for use in `with` statements.
NetClientClockGidBuilder builder()Get builder for [gstnet.net_client_clock.NetClientClock] Returns: New builder object
string address() @property
void address(string propval) @property
ulong baseTime() @property
gst.bus.Bus bus() @property
void bus(gst.bus.Bus propval) @property
ulong minimumUpdateInterval() @property
void minimumUpdateInterval(ulong propval) @property
int port() @property
void port(int propval) @property
int qosDscp() @property
void qosDscp(int propval) @property
ulong roundTripLimit() @property
void roundTripLimit(ulong propval) @property
Constructors
this(void * ptr, Flag!"Take" take)
this(string name, string remoteAddress, int remotePort, gst.types.ClockTime baseTime)Create a new #GstNetClientClock that will report the time provided by the #GstNetTimeProvider on remote_address and remote_port.

Fluent builder implementation template for gstnet.net_client_clock.NetClientClock

Methods
T address(string propval)
T baseTime(ulong propval)
T bus(gst.bus.Bus propval)
T minimumUpdateInterval(ulong propval)
T port(int propval)
T qosDscp(int propval)
T roundTripLimit(ulong propval)