ntp_to_unix


Description:


public uint64 ntp_to_unix (uint64 ntptime)

Converts an NTP time to UNIX nanoseconds.

ntptime can typically be the NTP time of an SR RTCP message and contains, in the upper 32 bits, the number of seconds since 1900 and, in the lower 32 bits, the fractional seconds. The resulting value will be the number of nanoseconds since 1970.

Parameters:

ntptime

an NTP timestamp

Returns:

the UNIX time for ntptime in nanoseconds.


Namespace: Gst.RTCP