Module functions

Source

Functions§

rtcp_ntp_to_unix
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.
rtcp_sdes_name_to_type
Convert name into a RTCPSDESType. name is typically a key in a gst::Structure containing SDES items.
rtcp_sdes_type_to_name
Converts type_ to the string equivalent. The string is typically used as a key in a gst::Structure containing SDES items.
rtcp_unix_to_ntp
Converts a UNIX timestamp in nanoseconds to an NTP time. The caller should pass a value with nanoseconds since 1970. The NTP time will, in the upper 32 bits, contain the number of seconds since 1900 and, in the lower 32 bits, the fractional seconds. The resulting value can be used as an ntptime for constructing SR RTCP packets.
rtp_get_header_extension_list
Retrieve all the factories of the currently registered RTP header extensions. Call ElementFactory::create() with each factory to create the associated RTPHeaderExtension.