GstNetClientClock

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

Members

Variables

GstReserved
void*[4] GstReserved;
clock
GstSystemClock clock;
priv
GstNetClientClockPrivate* priv;