gstreamer-rtp-1.0
Description:
GStreamer RTP Library
- Home: https://gstreamer.freedesktop.org/
- C-Documentation: https://gstreamer.freedesktop.org/documentation/rtplib/index.html
- Devhelp-Package download
Content:
Namespaces:
- Gst
- RTCP
- Buffer - Note: The API in this module is not yet declared stable.
- Packet - Data structure that points to
a packet at
offset
inbuffer
. - FBType - Different types of feedback messages.
- SDESType - Different types of SDES content.
- Type - Different RTCP packet types.
- XRType - Types of RTCP Extended Reports, those are defined in RFC 3611 and other RFCs according to the [IANA registry](https://www.
- public const int MAX_BYE_SSRC_COUNT
The maximum amount of SSRCs in a BYE packet.
- public const int MAX_RB_COUNT
The maximum amount of Receiver report blocks in RR and SR messages.
- public const int MAX_SDES
The maximum text length for an SDES item.
- public const int MAX_SDES_ITEM_COUNT
The maximum amount of SDES items.
- public const int REDUCED_SIZE_VALID_MASK
Mask for version and packet type pair allowing reduced size packets, basically it accepts other types than RR and SR
- public const int VALID_MASK
Mask for version, padding bit and packet type pair
- public const int VALID_VALUE
Valid value for the first two bytes of an RTCP packet after applying VALID_MASK to them.
- public const int VERSION
The supported RTCP version 2.
- public bool buffer_map (Buffer buffer, MapFlags flags, Buffer rtcp)
- public Buffer buffer_new (uint mtu)
- public Buffer buffer_new_copy_data (uint8[] data)
- public Buffer buffer_new_take_data (uint8[] data)
- public bool buffer_validate (Buffer buffer)
- public bool buffer_validate_data (uint8[] data)
- public bool buffer_validate_data_reduced (uint8[] data)
- public bool buffer_validate_reduced (Buffer buffer)
- public uint64 ntp_to_unix (uint64 ntptime)
Converts an NTP time to UNIX nanoseconds.
- public uint64 unix_to_ntp (uint64 unixtime)
Converts a UNIX timestamp in nanoseconds to an NTP time.
- RTP
- BaseAudioPayload - Provides a base class for audio RTP payloaders for frame or sample based audio codecs (constant bitrate)
- BaseDepayload - Provides a base class for RTP depayloaders
- BasePayload - Provides a base class for RTP payloaders
- HeaderExtension - Instance struct for a RTP Audio/Video header extension.
- Buffer - The GstRTPBuffer helper functions makes it easy to parse and create regular Buffer objects that contain RTP payloads.
- PayloadInfo - Structure holding default payload type information.
- SourceMeta - Meta describing the source(s) of the buffer.
- BufferFlags - Additional RTP buffer flags.
- BufferMapFlags - Additional mapping flags for map.
- HeaderExtensionDirection - Direction to which to apply the RTP Header Extension
- HeaderExtensionFlags - Flags that apply to a RTP Audio/Video header extension.
- Payload - Standard predefined fixed payload types.
- Profile - The transfer profile to use.
- public const string HDREXT_BASE
- public const string HDREXT_ELEMENT_CLASS
Constant string used in element classification to signal that this element is a RTP header extension.
- public const string HDREXT_NTP_56
- public const int HDREXT_NTP_56_SIZE
- public const string HDREXT_NTP_64
- public const int HDREXT_NTP_64_SIZE
- public const string HEADER_EXTENSION_URI_METADATA_KEY
- public const int SOURCE_META_MAX_CSRC_COUNT
- public const int VERSION
The supported RTP version 2.
- public unowned SourceMeta? buffer_add_rtp_source_meta (Buffer buffer, uint32? ssrc, uint32[]? csrc)
Attaches RTP source information to
buffer
. - public void buffer_allocate_data (Buffer buffer, uint payload_len, uint8 pad_len, uint8 csrc_count)
- public uint buffer_calc_header_len (uint8 csrc_count)
- public uint buffer_calc_packet_len (uint payload_len, uint8 pad_len, uint8 csrc_count)
- public uint buffer_calc_payload_len (uint packet_len, uint8 pad_len, uint8 csrc_count)
- public int buffer_compare_seqnum (uint16 seqnum1, uint16 seqnum2)
- public uint32 buffer_default_clock_rate (uint8 payload_type)
- public uint64 buffer_ext_timestamp (ref uint64 exttimestamp, uint32 timestamp)
- public bool buffer_get_extension_onebyte_header_from_bytes (Bytes bytes, uint16 bit_pattern, uint8 id, uint nth, out unowned uint8[] data)
- public unowned SourceMeta? buffer_get_rtp_source_meta (Buffer buffer)
Find the SourceMeta on
buffer
. - public bool buffer_map (Buffer buffer, MapFlags flags, out Buffer rtp)
- public Buffer buffer_new_allocate (uint payload_len, uint8 pad_len, uint8 csrc_count)
- public Buffer buffer_new_allocate_len (uint packet_len, uint8 pad_len, uint8 csrc_count)
- public Buffer buffer_new_copy_data (uint8[] data)
- public Buffer buffer_new_take_data (owned uint8[] data)
- public List<ElementFactory> get_header_extension_list ()
Retrieve all the factories of the currently registered RTP header extensions.
- public bool hdrext_get_ntp_56 (uint8[] data, out uint64 ntptime)
Reads the NTP time from the
data.length
NTP-56 extension bytes indata
and store the result inntptime
. - public bool hdrext_get_ntp_64 (uint8[] data, out uint64 ntptime)
Reads the NTP time from the
data.length
NTP-64 extension bytes indata
and store the result inntptime
. - public bool hdrext_set_ntp_56 (void* data, uint size, uint64 ntptime)
Writes the NTP time in
ntptime
to the format required for the NTP-56 header extension. - public bool hdrext_set_ntp_64 (void* data, uint size, uint64 ntptime)
Writes the NTP time in
ntptime
to the format required for the NTP-64 header extension. - public unowned PayloadInfo? payload_info_for_name (string media, string encoding_name)
- public unowned PayloadInfo? payload_info_for_pt (uint8 payload_type)
- public Type source_meta_api_get_type ()
- public unowned MetaInfo? source_meta_get_info ()