Function gstreamer_rtp::functions::rtcp_ntp_to_unix[][src]

pub fn rtcp_ntp_to_unix(ntptime: u64) -> u64
Expand description

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.

ntptime

an NTP timestamp

Returns

the UNIX time for ntptime in nanoseconds.