:right-sidebar: True NtpClock =================================================================== .. currentmodule:: gi.repository.GstNet .. class:: NtpClock(**properties: ~typing.Any) :no-contents-entry: Superclasses: :class:`~gi.repository.GstNet.NetClientClock`, :class:`~gi.repository.Gst.SystemClock`, :class:`~gi.repository.Gst.Clock`, :class:`~gi.repository.Gst.Object`, :class:`~gi.repository.GObject.InitiallyUnowned`, :class:`~gi.repository.GObject.Object` :Constructors: :: NtpClock(**properties) new(name:str=None, remote_address:str, remote_port:int, base_time:int) -> Gst.Clock Constructors ------------ .. rst-class:: interim-class .. class:: NtpClock :no-index: .. classmethod:: new(name: str | None, remote_address: str, remote_port: int, base_time: int) -> ~gi.repository.Gst.Clock Create a new ``GstNtpClock`` that will report the time provided by the NTPv4 server on ``remote_address`` and ``remote_port``\. .. versionadded:: 1.6 :param name: a name for the clock :param remote_address: the address or hostname of the remote clock provider :param remote_port: the port of the remote clock provider :param base_time: initial time of the clock Fields ------ .. rst-class:: interim-class .. class:: NtpClock :no-index: .. attribute:: clock .. attribute:: priv