NtpClock

class NtpClock(**properties: Any)

Superclasses: NetClientClock, SystemClock, Clock, Object, InitiallyUnowned, Object

Constructors:

NtpClock(**properties)
new(name:str=None, remote_address:str, remote_port:int, base_time:int) -> Gst.Clock

Constructors

class NtpClock
classmethod new(name: str | None, remote_address: str, remote_port: int, base_time: int) Clock

Create a new GstNtpClock that will report the time provided by the NTPv4 server on remote_address and remote_port.

Added in version 1.6.

Parameters:
  • name – a name for the clock

  • remote_address – the address or hostname of the remote clock provider

  • remote_port – the port of the remote clock provider

  • base_time – initial time of the clock

Fields

class NtpClock
clock
priv