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.
NetClientClockGidBuilder builder() static nothrowGet builder for [gstnet.net_client_clock.NetClientClock] Returns: New builder objectthis(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
T address(string propval) nothrowT baseTime(ulong propval) nothrowT bus(gst.bus.Bus propval) nothrowT minimumUpdateInterval(ulong propval) nothrowT port(int propval) nothrowT qosDscp(int propval) nothrowT roundTripLimit(ulong propval) nothrowFluent builder for gstnet.net_client_clock.NetClientClock