NtpClock
Description:
[ CCode ( has_construct_function = false , type = "GstClock*" ) ]
[ Version ( since = "1.6" ) ]
public NtpClock (string? name, string remote_address, int remote_port, ClockTime base_time)
[ Version ( since = "1.6" ) ]
public NtpClock (string? name, string remote_address, int remote_port, ClockTime base_time)
Create a new NtpClock that will report the time provided by the NTPv4
server on remote_address
and remote_port
.
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 |
Returns:
a new Clock that receives a time from the remote clock. |