GstNet.NtpClock

g GObject.InitiallyUnowned GObject.InitiallyUnowned Gst.Object Gst.Object GObject.InitiallyUnowned->Gst.Object GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gst.Clock Gst.Clock Gst.SystemClock Gst.SystemClock Gst.Clock->Gst.SystemClock Gst.Object->Gst.Clock GstNet.NetClientClock GstNet.NetClientClock Gst.SystemClock->GstNet.NetClientClock GstNet.NtpClock GstNet.NtpClock GstNet.NetClientClock->GstNet.NtpClock

Subclasses:None

Methods

Inherited:GstNet.NetClientClock (1), Gst.SystemClock (2), Gst.Clock (32), Gst.Object (27), GObject.Object (37)
Structs:GObject.ObjectClass (5)
class new (name, remote_address, remote_port, base_time)

Virtual Methods

Inherited:Gst.Clock (6), Gst.Object (1), GObject.Object (7)

Fields

Inherited:Gst.Clock (1), Gst.Object (1), GObject.Object (1)
Name Type Access Description
clock Gst.SystemClock r  

Class Details

class GstNet.NtpClock(**kwargs)
Bases:GstNet.NetClientClock
Abstract:No
Structure:GstNet.NtpClockClass
classmethod new(name, remote_address, remote_port, base_time)[source]
Parameters:
  • name (str) – a name for the clock
  • remote_address (str) – the address or hostname of the remote clock provider
  • remote_port (int) – the port of the remote clock provider
  • base_time (int) – initial time of the clock
Returns:

a new Gst.Clock that receives a time from the remote clock.

Return type:

Gst.Clock

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

New in version 1.6.