NtpClock#
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
GstNtpClockthat will report the time provided by the NTPv4 server onremote_addressandremote_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