gstrtp.global
Global functions for gstrtp1 library
Functions 11
fn
gstrtp.rtpsource_meta.RTPSourceMeta bufferGetRtpSourceMeta(gst.buffer.Buffer buffer) nothrowFind the #GstRTPSourceMeta on buffer.fn
ulong rtcpNtpToUnix(ulong ntptime) nothrowConverts 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,...fn
gstrtp.types.RTCPSDESType rtcpSdesNameToType(string name) nothrowConvert name into a GstRTCPSDESType. name is typically a key in a #GstStructure containing SDES items.fn
string rtcpSdesTypeToName(gstrtp.types.RTCPSDESType type) nothrowConverts type to the string equivalent. The string is typically used as a key in a #GstStructure containing SDES items.fn
ulong rtcpUnixToNtp(ulong unixtime) nothrowConverts 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 190...fn
gst.element_factory.ElementFactory[] rtpGetHeaderExtensionList() nothrowRetrieve all the factories of the currently registered RTP header extensions. Call [gst.element_factory.ElementFactory.create] with each factory to create the associated #GstRTPHeaderExtension. Re...fn
bool rtpHdrextGetNtp56(ubyte[] data, out ulong ntptime) nothrowReads the NTP time from the size NTP-56 extension bytes in data and store the result in ntptime.fn
bool rtpHdrextGetNtp64(ubyte[] data, out ulong ntptime) nothrowReads the NTP time from the size NTP-64 extension bytes in data and store the result in ntptime.fn
bool rtpHdrextSetNtp56(void * data, uint size, ulong ntptime) nothrowWrites the NTP time in ntptime to the format required for the NTP-56 header extension. data must hold at least #GST_RTP_HDREXT_NTP_56_SIZE bytes.fn
bool rtpHdrextSetNtp64(void * data, uint size, ulong ntptime) nothrowWrites the NTP time in ntptime to the format required for the NTP-64 header extension. data must hold at least #GST_RTP_HDREXT_NTP_64_SIZE bytes.