gstreamer-rs/gir-files/GstRtp-1.0.gir

8090 lines
351 KiB
Text
Raw Normal View History

<?xml version="1.0"?>
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations. -->
<repository version="1.2"
xmlns="http://www.gtk.org/introspection/core/1.0"
xmlns:c="http://www.gtk.org/introspection/c/1.0"
xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
<include name="Gst" version="1.0"/>
<include name="GstBase" version="1.0"/>
<package name="gstreamer-rtp-1.0"/>
<c:include name="gst/rtp/rtp.h"/>
<namespace name="GstRtp"
version="1.0"
shared-library="libgstrtp-1.0.so.0"
c:identifier-prefixes="Gst"
c:symbol-prefixes="gst">
2019-12-15 10:18:09 +00:00
<function-macro name="IS_RTP_BASE_AUDIO_PAYLOAD"
c:identifier="GST_IS_RTP_BASE_AUDIO_PAYLOAD"
introspectable="0">
<source-position filename="gstrtpbaseaudiopayload.h" line="41"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_RTP_BASE_AUDIO_PAYLOAD_CLASS"
c:identifier="GST_IS_RTP_BASE_AUDIO_PAYLOAD_CLASS"
introspectable="0">
<source-position filename="gstrtpbaseaudiopayload.h" line="43"/>
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_RTP_BASE_DEPAYLOAD"
c:identifier="GST_IS_RTP_BASE_DEPAYLOAD"
introspectable="0">
<source-position filename="gstrtpbasedepayload.h" line="35"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_RTP_BASE_DEPAYLOAD_CLASS"
c:identifier="GST_IS_RTP_BASE_DEPAYLOAD_CLASS"
introspectable="0">
<source-position filename="gstrtpbasedepayload.h" line="37"/>
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_RTP_BASE_PAYLOAD"
c:identifier="GST_IS_RTP_BASE_PAYLOAD"
introspectable="0">
<source-position filename="gstrtpbasepayload.h" line="35"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_RTP_BASE_PAYLOAD_CLASS"
c:identifier="GST_IS_RTP_BASE_PAYLOAD_CLASS"
introspectable="0">
<source-position filename="gstrtpbasepayload.h" line="37"/>
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<record name="RTCPBuffer" c:type="GstRTCPBuffer">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="23">Note: The API in this module is not yet declared stable.
The GstRTPCBuffer helper functions makes it easy to parse and create regular
#GstBuffer objects that contain compound RTCP packets. These buffers are typically
of 'application/x-rtcp' #GstCaps.
An RTCP buffer consists of 1 or more #GstRTCPPacket structures that you can
retrieve with gst_rtcp_buffer_get_first_packet(). #GstRTCPPacket acts as a pointer
into the RTCP buffer; you can move to the next packet with
gst_rtcp_packet_move_to_next().</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="226"/>
<field name="buffer" writable="1">
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</field>
<field name="map" writable="1">
<type name="Gst.MapInfo" c:type="GstMapInfo"/>
</field>
<method name="add_packet" c:identifier="gst_rtcp_buffer_add_packet">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="530">Add a new packet of @type to @rtcp. @packet will point to the newly created
packet.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="297"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="539">%TRUE if the packet could be created. This function returns %FALSE
if the max mtu is exceeded for the buffer.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="rtcp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="532">a valid RTCP buffer</doc>
<type name="RTCPBuffer" c:type="GstRTCPBuffer*"/>
</instance-parameter>
<parameter name="type" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="533">the #GstRTCPType of the new packet</doc>
<type name="RTCPType" c:type="GstRTCPType"/>
</parameter>
<parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="534">pointer to new packet</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</parameter>
</parameters>
</method>
<method name="get_first_packet"
c:identifier="gst_rtcp_buffer_get_first_packet">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="460">Initialize a new #GstRTCPPacket pointer that points to the first packet in
@rtcp.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="291"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="468">TRUE if the packet existed in @rtcp.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="rtcp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="462">a valid RTCP buffer</doc>
<type name="RTCPBuffer" c:type="GstRTCPBuffer*"/>
</instance-parameter>
<parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="463">a #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</parameter>
</parameters>
</method>
<method name="get_packet_count"
c:identifier="gst_rtcp_buffer_get_packet_count">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="348">Get the number of RTCP packets in @rtcp.</doc>
<source-position filename="gstrtcpbuffer.h" line="288"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="354">the number of RTCP packets in @rtcp.</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="rtcp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="350">a valid RTCP buffer</doc>
<type name="RTCPBuffer" c:type="GstRTCPBuffer*"/>
</instance-parameter>
</parameters>
</method>
<method name="unmap" c:identifier="gst_rtcp_buffer_unmap">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="321">Finish @rtcp after being constructed. This function is usually called
after gst_rtcp_buffer_map() and after adding the RTCP items to the new buffer.
The function adjusts the size of @rtcp with the total length of all the
added packets.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="283"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="rtcp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="323">a buffer with an RTCP packet</doc>
<type name="RTCPBuffer" c:type="GstRTCPBuffer*"/>
</instance-parameter>
</parameters>
</method>
<function name="map" c:identifier="gst_rtcp_buffer_map">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="297">Open @buffer for reading or writing, depending on @flags. The resulting RTCP
buffer state is stored in @rtcp.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="280"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="buffer" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="299">a buffer with an RTCP packet</doc>
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</parameter>
<parameter name="flags" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="300">flags for the mapping</doc>
<type name="Gst.MapFlags" c:type="GstMapFlags"/>
</parameter>
<parameter name="rtcp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="301">resulting #GstRTCPBuffer</doc>
<type name="RTCPBuffer" c:type="GstRTCPBuffer*"/>
</parameter>
</parameters>
</function>
<function name="new" c:identifier="gst_rtcp_buffer_new">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="273">Create a new buffer for constructing RTCP packets. The packet will have a
maximum size of @mtu.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="277"/>
<return-value transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="280">A newly allocated buffer.</doc>
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</return-value>
<parameters>
<parameter name="mtu" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="275">the maximum mtu size.</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</function>
<function name="new_copy_data"
c:identifier="gst_rtcp_buffer_new_copy_data">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="73">Create a new buffer and set the data to a copy of @len
bytes of @data and the size to @len. The data will be freed when the buffer
is freed.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="261"/>
<return-value transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="82">A newly allocated buffer with a copy of @data and of size @len.</doc>
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</return-value>
<parameters>
<parameter name="data" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="75">data for the new buffer</doc>
<array length="1" zero-terminated="0" c:type="gconstpointer">
<type name="guint8"/>
</array>
</parameter>
<parameter name="len" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="76">the length of data</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</function>
<function name="new_take_data"
c:identifier="gst_rtcp_buffer_new_take_data">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="49">Create a new buffer and set the data and size of the buffer to @data and @len
respectively. @data will be freed when the buffer is unreffed, so this
function transfers ownership of @data to the new buffer.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="258"/>
<return-value transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="58">A newly allocated buffer with @data and of size @len.</doc>
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</return-value>
<parameters>
<parameter name="data" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="51">data for the new buffer</doc>
<array length="1" zero-terminated="0" c:type="gpointer">
<type name="guint8"/>
</array>
</parameter>
<parameter name="len" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="52">the length of data</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</function>
<function name="validate" c:identifier="gst_rtcp_buffer_validate">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="249">Check if the data pointed to by @buffer is a valid RTCP packet using
gst_rtcp_buffer_validate_data().</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="267"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="256">TRUE if @buffer is a valid RTCP packet.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="buffer" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="251">the buffer to validate</doc>
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</parameter>
</parameters>
</function>
<function name="validate_data"
c:identifier="gst_rtcp_buffer_validate_data">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="204">Check if the @data and @size point to the data of a valid compound,
non-reduced size RTCP packet.
Use this function to validate a packet before using the other functions in
this module.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="264"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="214">TRUE if the data points to a valid RTCP packet.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="data" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="206">the data to validate</doc>
<array length="1" zero-terminated="0" c:type="guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
<parameter name="len" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="207">the length of @data to validate</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</function>
<function name="validate_data_reduced"
c:identifier="gst_rtcp_buffer_validate_data_reduced"
version="1.6">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="180">Check if the @data and @size point to the data of a valid RTCP packet.
Use this function to validate a packet before using the other functions in
this module.
This function is updated to support reduced size rtcp packets according to
RFC 5506 and will validate full compound RTCP packets as well as reduced
size RTCP packets.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="270"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="193">TRUE if the data points to a valid RTCP packet.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="data" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="182">the data to validate</doc>
<array length="1" zero-terminated="0" c:type="guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
<parameter name="len" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="183">the length of @data to validate</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</function>
<function name="validate_reduced"
c:identifier="gst_rtcp_buffer_validate_reduced"
version="1.6">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="223">Check if the data pointed to by @buffer is a valid RTCP packet using
gst_rtcp_buffer_validate_reduced().</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="273"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="230">TRUE if @buffer is a valid RTCP packet.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="buffer" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="225">the buffer to validate</doc>
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</parameter>
</parameters>
</function>
</record>
<enumeration name="RTCPFBType"
glib:type-name="GstRTCPFBType"
glib:get-type="gst_rtcpfb_type_get_type"
c:type="GstRTCPFBType">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="68">Different types of feedback messages.</doc>
<member name="fb_type_invalid"
value="0"
c:identifier="GST_RTCP_FB_TYPE_INVALID"
glib:nick="fb-type-invalid">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="70">Invalid type</doc>
</member>
<member name="rtpfb_type_nack"
value="1"
c:identifier="GST_RTCP_RTPFB_TYPE_NACK"
glib:nick="rtpfb-type-nack">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="71">Generic NACK</doc>
</member>
<member name="rtpfb_type_tmmbr"
value="3"
c:identifier="GST_RTCP_RTPFB_TYPE_TMMBR"
glib:nick="rtpfb-type-tmmbr">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="72">Temporary Maximum Media Stream Bit Rate Request</doc>
</member>
<member name="rtpfb_type_tmmbn"
value="4"
c:identifier="GST_RTCP_RTPFB_TYPE_TMMBN"
glib:nick="rtpfb-type-tmmbn">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="73">Temporary Maximum Media Stream Bit Rate
Notification</doc>
</member>
<member name="rtpfb_type_rtcp_sr_req"
value="5"
c:identifier="GST_RTCP_RTPFB_TYPE_RTCP_SR_REQ"
glib:nick="rtpfb-type-rtcp-sr-req">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="75">Request an SR packet for early
synchronization</doc>
</member>
<member name="psfb_type_pli"
value="1"
c:identifier="GST_RTCP_PSFB_TYPE_PLI"
glib:nick="psfb-type-pli">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="77">Picture Loss Indication</doc>
</member>
<member name="psfb_type_sli"
value="2"
c:identifier="GST_RTCP_PSFB_TYPE_SLI"
glib:nick="psfb-type-sli">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="78">Slice Loss Indication</doc>
</member>
<member name="psfb_type_rpsi"
value="3"
c:identifier="GST_RTCP_PSFB_TYPE_RPSI"
glib:nick="psfb-type-rpsi">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="79">Reference Picture Selection Indication</doc>
</member>
<member name="psfb_type_afb"
value="15"
c:identifier="GST_RTCP_PSFB_TYPE_AFB"
glib:nick="psfb-type-afb">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="80">Application layer Feedback</doc>
</member>
<member name="psfb_type_fir"
value="4"
c:identifier="GST_RTCP_PSFB_TYPE_FIR"
glib:nick="psfb-type-fir">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="81">Full Intra Request Command</doc>
</member>
<member name="psfb_type_tstr"
value="5"
c:identifier="GST_RTCP_PSFB_TYPE_TSTR"
glib:nick="psfb-type-tstr">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="82">Temporal-Spatial Trade-off Request</doc>
</member>
<member name="psfb_type_tstn"
value="6"
c:identifier="GST_RTCP_PSFB_TYPE_TSTN"
glib:nick="psfb-type-tstn">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="83">Temporal-Spatial Trade-off Notification</doc>
</member>
<member name="psfb_type_vbcn"
value="7"
c:identifier="GST_RTCP_PSFB_TYPE_VBCN"
glib:nick="psfb-type-vbcn">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="84">Video Back Channel Message</doc>
</member>
</enumeration>
<record name="RTCPPacket" c:type="GstRTCPPacket">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="230">Data structure that points to a packet at @offset in @buffer.
The size of the structure is made public to allow stack allocations.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="253"/>
<field name="rtcp" writable="1">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="232">pointer to RTCP buffer</doc>
<type name="RTCPBuffer" c:type="GstRTCPBuffer*"/>
</field>
<field name="offset" writable="1">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="233">offset of packet in buffer data</doc>
<type name="guint" c:type="guint"/>
</field>
<field name="padding" readable="0" private="1">
<type name="gboolean" c:type="gboolean"/>
</field>
<field name="count" readable="0" private="1">
<type name="guint8" c:type="guint8"/>
</field>
<field name="type" readable="0" private="1">
<type name="RTCPType" c:type="GstRTCPType"/>
</field>
<field name="length" readable="0" private="1">
<type name="guint16" c:type="guint16"/>
</field>
<field name="item_offset" readable="0" private="1">
<type name="guint" c:type="guint"/>
</field>
<field name="item_count" readable="0" private="1">
<type name="guint" c:type="guint"/>
</field>
<field name="entry_offset" readable="0" private="1">
<type name="guint" c:type="guint"/>
</field>
<method name="add_profile_specific_ext"
c:identifier="gst_rtcp_packet_add_profile_specific_ext">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1060">Add profile-specific extension @data to @packet. If @packet already
contains profile-specific extension @data will be appended to the existing
extension.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="364"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1070">%TRUE if the profile specific extension data was added.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1062">a valid SR or RR #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
<parameter name="data" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1063">profile-specific data</doc>
<array length="1" zero-terminated="0" c:type="const guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
<parameter name="len" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1064">length of the profile-specific data in bytes</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="add_rb" c:identifier="gst_rtcp_packet_add_rb">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="943">Add a new report block to @packet with the given values.</doc>
<source-position filename="gstrtcpbuffer.h" line="350"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="956">%TRUE if the packet was created. This function can return %FALSE if
the max MTU is exceeded or the number of report blocks is greater than
#GST_RTCP_MAX_RB_COUNT.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="945">a valid SR or RR #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
<parameter name="ssrc" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="946">data source being reported</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
<parameter name="fractionlost" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="947">fraction lost since last SR/RR</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
<parameter name="packetslost" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="948">the cumululative number of packets lost</doc>
<type name="gint32" c:type="gint32"/>
</parameter>
<parameter name="exthighestseq" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="949">the extended last sequence number received</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
<parameter name="jitter" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="950">the interarrival jitter</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
<parameter name="lsr" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="951">the last SR packet from this source</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
<parameter name="dlsr" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="952">the delay since last SR packet</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
</parameters>
</method>
<method name="app_get_data"
c:identifier="gst_rtcp_packet_app_get_data"
version="1.10">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2531">Get the application-dependent data attached to a RTPFB or PSFB @packet.</doc>
<source-position filename="gstrtcpbuffer.h" line="465"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2537">A pointer to the data</doc>
<type name="guint8" c:type="guint8*"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2533">a valid APP #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
</parameters>
</method>
<method name="app_get_data_length"
c:identifier="gst_rtcp_packet_app_get_data_length"
version="1.10">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2470">Get the length of the application-dependent data attached to an APP
@packet.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="459"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2477">The length of data in 32-bit words.</doc>
<type name="guint16" c:type="guint16"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2472">a valid APP #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
</parameters>
</method>
<method name="app_get_name"
c:identifier="gst_rtcp_packet_app_get_name"
version="1.10">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2449">Get the name field of the APP @packet.</doc>
<source-position filename="gstrtcpbuffer.h" line="456"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2455">The 4-byte name field, not zero-terminated.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2451">a valid APP #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
</parameters>
</method>
<method name="app_get_ssrc"
c:identifier="gst_rtcp_packet_app_get_ssrc"
version="1.10">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2401">Get the SSRC/CSRC field of the APP @packet.</doc>
<source-position filename="gstrtcpbuffer.h" line="450"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2407">The SSRC/CSRC.</doc>
<type name="guint32" c:type="guint32"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2403">a valid APP #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
</parameters>
</method>
<method name="app_get_subtype"
c:identifier="gst_rtcp_packet_app_get_subtype"
version="1.10">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2353">Get the subtype field of the APP @packet.</doc>
<source-position filename="gstrtcpbuffer.h" line="444"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2359">The subtype.</doc>
<type name="guint8" c:type="guint8"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2355">a valid APP #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
</parameters>
</method>
<method name="app_set_data_length"
c:identifier="gst_rtcp_packet_app_set_data_length"
version="1.10">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2496">Set the length of the application-dependent data attached to an APP
@packet.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="462"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2504">%TRUE if there was enough space in the packet to add this much
data.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2498">a valid APP #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
<parameter name="wordlen" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2499">Length of the data in 32-bit words</doc>
<type name="guint16" c:type="guint16"/>
</parameter>
</parameters>
</method>
<method name="app_set_name"
c:identifier="gst_rtcp_packet_app_set_name"
version="1.10">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2426">Set the name field of the APP @packet.</doc>
<source-position filename="gstrtcpbuffer.h" line="453"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2428">a valid APP #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
<parameter name="name" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2429">4-byte ASCII name</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="app_set_ssrc"
c:identifier="gst_rtcp_packet_app_set_ssrc"
version="1.10">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2378">Set the SSRC/CSRC field of the APP @packet.</doc>
<source-position filename="gstrtcpbuffer.h" line="447"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2380">a valid APP #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
<parameter name="ssrc" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2381">SSRC/CSRC of the packet</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
</parameters>
</method>
<method name="app_set_subtype"
c:identifier="gst_rtcp_packet_app_set_subtype"
version="1.10">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2330">Set the subtype field of the APP @packet.</doc>
<source-position filename="gstrtcpbuffer.h" line="441"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2332">a valid APP #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
<parameter name="subtype" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2333">subtype of the packet</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
</parameters>
</method>
<method name="bye_add_ssrc" c:identifier="gst_rtcp_packet_bye_add_ssrc">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1701">Add @ssrc to the BYE @packet.</doc>
<source-position filename="gstrtcpbuffer.h" line="424"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1708">%TRUE if the ssrc was added. This function can return %FALSE if
the max MTU is exceeded or the number of sources blocks is greater than
#GST_RTCP_MAX_BYE_SSRC_COUNT.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1703">a valid BYE #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
<parameter name="ssrc" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1704">an SSRC to add</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
</parameters>
</method>
<method name="bye_add_ssrcs"
c:identifier="gst_rtcp_packet_bye_add_ssrcs">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1761">Adds @len SSRCs in @ssrc to BYE @packet.</doc>
<source-position filename="gstrtcpbuffer.h" line="427"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1769">%TRUE if the all the SSRCs were added. This function can return %FALSE if
the max MTU is exceeded or the number of sources blocks is greater than
#GST_RTCP_MAX_BYE_SSRC_COUNT.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1763">a valid BYE #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
<parameter name="ssrc" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1764">an array of SSRCs to add</doc>
<array length="1" zero-terminated="0" c:type="guint32*">
<type name="guint32" c:type="guint32"/>
</array>
</parameter>
<parameter name="len" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1765">number of elements in @ssrc</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="bye_get_nth_ssrc"
c:identifier="gst_rtcp_packet_bye_get_nth_ssrc">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1657">Get the @nth SSRC of the BYE @packet.</doc>
<source-position filename="gstrtcpbuffer.h" line="421"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1664">The @nth SSRC of @packet.</doc>
<type name="guint32" c:type="guint32"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1659">a valid BYE #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
<parameter name="nth" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1660">the nth SSRC to get</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="bye_get_reason"
c:identifier="gst_rtcp_packet_bye_get_reason">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1845">Get the reason in @packet.</doc>
<source-position filename="gstrtcpbuffer.h" line="433"/>
<return-value transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1851">The reason for the BYE @packet or NULL if the packet did not contain
a reason string. The string must be freed with g_free() after usage.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1847">a valid BYE #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
</parameters>
</method>
<method name="bye_get_reason_len"
c:identifier="gst_rtcp_packet_bye_get_reason_len">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1816">Get the length of the reason string.</doc>
<source-position filename="gstrtcpbuffer.h" line="430"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1822">The length of the reason string or 0 when there is no reason string
present.</doc>
<type name="guint8" c:type="guint8"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1818">a valid BYE #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
</parameters>
</method>
<method name="bye_get_ssrc_count"
c:identifier="gst_rtcp_packet_bye_get_ssrc_count">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1640">Get the number of SSRC fields in @packet.</doc>
<source-position filename="gstrtcpbuffer.h" line="418"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1646">The number of SSRC fields in @packet.</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1642">a valid BYE #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
</parameters>
</method>
<method name="bye_set_reason"
c:identifier="gst_rtcp_packet_bye_set_reason">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1887">Set the reason string to @reason in @packet.</doc>
<source-position filename="gstrtcpbuffer.h" line="436"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1894">TRUE if the string could be set.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1889">a valid BYE #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
<parameter name="reason" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1890">a reason string</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="copy_profile_specific_ext"
c:identifier="gst_rtcp_packet_copy_profile_specific_ext">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1170">The profile-specific extension data is copied into a new allocated
memory area @data. This must be freed with g_free() after usage.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="375"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1179">%TRUE if there was valid data.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1172">a valid SR or RR #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
<parameter name="data"
direction="out"
caller-allocates="0"
transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1173">result profile-specific data</doc>
<array length="1" zero-terminated="0" c:type="guint8**">
<type name="guint8" c:type="guint8*"/>
</array>
</parameter>
<parameter name="len"
direction="out"
caller-allocates="0"
transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1174">length of the profile-specific extension data</doc>
<type name="guint" c:type="guint*"/>
</parameter>
</parameters>
</method>
<method name="fb_get_fci" c:identifier="gst_rtcp_packet_fb_get_fci">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2303">Get the Feedback Control Information attached to a RTPFB or PSFB @packet.</doc>
<source-position filename="gstrtcpbuffer.h" line="494"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2309">a pointer to the FCI</doc>
<type name="guint8" c:type="guint8*"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2305">a valid RTPFB or PSFB #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
</parameters>
</method>
<method name="fb_get_fci_length"
c:identifier="gst_rtcp_packet_fb_get_fci_length">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2245">Get the length of the Feedback Control Information attached to a
RTPFB or PSFB @packet.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="488"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2252">The length of the FCI in 32-bit words.</doc>
<type name="guint16" c:type="guint16"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2247">a valid RTPFB or PSFB #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
</parameters>
</method>
<method name="fb_get_media_ssrc"
c:identifier="gst_rtcp_packet_fb_get_media_ssrc">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2007">Get the media SSRC field of the RTPFB or PSFB @packet.</doc>
<source-position filename="gstrtcpbuffer.h" line="476"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2013">the media SSRC.</doc>
<type name="guint32" c:type="guint32"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2009">a valid RTPFB or PSFB #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
</parameters>
</method>
<method name="fb_get_sender_ssrc"
c:identifier="gst_rtcp_packet_fb_get_sender_ssrc">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1953">Get the sender SSRC field of the RTPFB or PSFB @packet.</doc>
<source-position filename="gstrtcpbuffer.h" line="470"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1959">the sender SSRC.</doc>
<type name="guint32" c:type="guint32"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1955">a valid RTPFB or PSFB #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
</parameters>
</method>
<method name="fb_get_type" c:identifier="gst_rtcp_packet_fb_get_type">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2061">Get the feedback message type of the FB @packet.</doc>
<source-position filename="gstrtcpbuffer.h" line="482"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2067">The feedback message type.</doc>
<type name="RTCPFBType" c:type="GstRTCPFBType"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2063">a valid RTPFB or PSFB #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
</parameters>
</method>
<method name="fb_set_fci_length"
c:identifier="gst_rtcp_packet_fb_set_fci_length">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2270">Set the length of the Feedback Control Information attached to a
RTPFB or PSFB @packet.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="491"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2278">%TRUE if there was enough space in the packet to add this much FCI</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2272">a valid RTPFB or PSFB #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
<parameter name="wordlen" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2273">Length of the FCI in 32-bit words</doc>
<type name="guint16" c:type="guint16"/>
</parameter>
</parameters>
</method>
<method name="fb_set_media_ssrc"
c:identifier="gst_rtcp_packet_fb_set_media_ssrc">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2036">Set the media SSRC field of the RTPFB or PSFB @packet.</doc>
<source-position filename="gstrtcpbuffer.h" line="479"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2038">a valid RTPFB or PSFB #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
<parameter name="ssrc" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2039">a media SSRC</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
</parameters>
</method>
<method name="fb_set_sender_ssrc"
c:identifier="gst_rtcp_packet_fb_set_sender_ssrc">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1982">Set the sender SSRC field of the RTPFB or PSFB @packet.</doc>
<source-position filename="gstrtcpbuffer.h" line="473"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1984">a valid RTPFB or PSFB #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
<parameter name="ssrc" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1985">a sender SSRC</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
</parameters>
</method>
<method name="fb_set_type" c:identifier="gst_rtcp_packet_fb_set_type">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2079">Set the feedback message type of the FB @packet.</doc>
<source-position filename="gstrtcpbuffer.h" line="485"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2081">a valid RTPFB or PSFB #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
<parameter name="type" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2082">the #GstRTCPFBType to set</doc>
<type name="RTCPFBType" c:type="GstRTCPFBType"/>
</parameter>
</parameters>
</method>
<method name="get_count" c:identifier="gst_rtcp_packet_get_count">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="672">Get the count field in @packet.</doc>
<source-position filename="gstrtcpbuffer.h" line="309"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="678">The count field in @packet or -1 if @packet does not point to a
valid packet.</doc>
<type name="guint8" c:type="guint8"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="674">a valid #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_length" c:identifier="gst_rtcp_packet_get_length">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="690">Get the length field of @packet. This is the length of the packet in
32-bit words minus one.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="315"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="697">The length field of @packet.</doc>
<type name="guint16" c:type="guint16"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="692">a valid #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_padding" c:identifier="gst_rtcp_packet_get_padding">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="638">Get the packet padding of the packet pointed to by @packet.</doc>
<source-position filename="gstrtcpbuffer.h" line="306"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="644">If the packet has the padding bit set.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="640">a valid #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_profile_specific_ext"
c:identifier="gst_rtcp_packet_get_profile_specific_ext">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="371"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1140">%TRUE if there was valid data.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1136">a valid SR or RR #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
<parameter name="data"
direction="out"
caller-allocates="0"
transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1137">result profile-specific data</doc>
<array length="1" zero-terminated="0" c:type="guint8**">
<type name="guint8" c:type="guint8*"/>
</array>
</parameter>
<parameter name="len"
direction="out"
caller-allocates="0"
transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1138">result length of the profile-specific data</doc>
<type name="guint" c:type="guint*"/>
</parameter>
</parameters>
</method>
<method name="get_profile_specific_ext_length"
c:identifier="gst_rtcp_packet_get_profile_specific_ext_length">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="368"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1109">The number of 32-bit words containing profile-specific extension
data from @packet.</doc>
<type name="guint16" c:type="guint16"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1107">a valid SR or RR #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_rb" c:identifier="gst_rtcp_packet_get_rb">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="860">Parse the values of the @nth report block in @packet and store the result in
the values.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="344"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="862">a valid SR or RR #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
<parameter name="nth" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="863">the nth report block in @packet</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="ssrc"
direction="out"
caller-allocates="0"
transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="864">result for data source being reported</doc>
<type name="guint32" c:type="guint32*"/>
</parameter>
<parameter name="fractionlost"
direction="out"
caller-allocates="0"
transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="865">result for fraction lost since last SR/RR</doc>
<type name="guint8" c:type="guint8*"/>
</parameter>
<parameter name="packetslost"
direction="out"
caller-allocates="0"
transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="866">result for the cumululative number of packets lost</doc>
<type name="gint32" c:type="gint32*"/>
</parameter>
<parameter name="exthighestseq"
direction="out"
caller-allocates="0"
transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="867">result for the extended last sequence number received</doc>
<type name="guint32" c:type="guint32*"/>
</parameter>
<parameter name="jitter"
direction="out"
caller-allocates="0"
transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="868">result for the interarrival jitter</doc>
<type name="guint32" c:type="guint32*"/>
</parameter>
<parameter name="lsr"
direction="out"
caller-allocates="0"
transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="869">result for the last SR packet from this source</doc>
<type name="guint32" c:type="guint32*"/>
</parameter>
<parameter name="dlsr"
direction="out"
caller-allocates="0"
transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="870">result for the delay since last SR packet</doc>
<type name="guint32" c:type="guint32*"/>
</parameter>
</parameters>
</method>
<method name="get_rb_count" c:identifier="gst_rtcp_packet_get_rb_count">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="840">Get the number of report blocks in @packet.</doc>
<source-position filename="gstrtcpbuffer.h" line="341"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="846">The number of report blocks in @packet.</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="842">a valid SR or RR #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_type" c:identifier="gst_rtcp_packet_get_type">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="655">Get the packet type of the packet pointed to by @packet.</doc>
<source-position filename="gstrtcpbuffer.h" line="312"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="661">The packet type or GST_RTCP_TYPE_INVALID when @packet is not
pointing to a valid packet.</doc>
<type name="RTCPType" c:type="GstRTCPType"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="657">a valid #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
</parameters>
</method>
<method name="move_to_next" c:identifier="gst_rtcp_packet_move_to_next">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="490">Move the packet pointer @packet to the next packet in the payload.
Use gst_rtcp_buffer_get_first_packet() to initialize @packet.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="294"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="497">TRUE if @packet is pointing to a valid packet after calling this
function.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="492">a #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
</parameters>
</method>
<method name="remove" c:identifier="gst_rtcp_packet_remove">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="601">Removes the packet pointed to by @packet and moves pointer to the next one</doc>
<source-position filename="gstrtcpbuffer.h" line="301"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="607">TRUE if @packet is pointing to a valid packet after calling this
function.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="603">a #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
</parameters>
</method>
<method name="rr_get_ssrc" c:identifier="gst_rtcp_packet_rr_get_ssrc">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="788">Get the ssrc field of the RR @packet.</doc>
<source-position filename="gstrtcpbuffer.h" line="332"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="794">the ssrc.</doc>
<type name="guint32" c:type="guint32"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="790">a valid RR #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
</parameters>
</method>
<method name="rr_set_ssrc" c:identifier="gst_rtcp_packet_rr_set_ssrc">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="816">Set the ssrc field of the RR @packet.</doc>
<source-position filename="gstrtcpbuffer.h" line="335"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="818">a valid RR #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
<parameter name="ssrc" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="819">the SSRC to set</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
</parameters>
</method>
<method name="sdes_add_entry"
c:identifier="gst_rtcp_packet_sdes_add_entry">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1575">Add a new SDES entry to the current item in @packet.</doc>
<source-position filename="gstrtcpbuffer.h" line="412"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1584">%TRUE if the item could be added, %FALSE if the MTU has been
reached.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1577">a valid SDES #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
<parameter name="type" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1578">the #GstRTCPSDESType of the SDES entry</doc>
<type name="RTCPSDESType" c:type="GstRTCPSDESType"/>
</parameter>
<parameter name="len" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1579">the data length</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
<parameter name="data" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1580">the data</doc>
<array length="1" zero-terminated="0" c:type="const guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
</parameters>
</method>
<method name="sdes_add_item"
c:identifier="gst_rtcp_packet_sdes_add_item">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1504">Add a new SDES item for @ssrc to @packet.</doc>
<source-position filename="gstrtcpbuffer.h" line="409"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1511">%TRUE if the item could be added, %FALSE if the maximum amount of
items has been exceeded for the SDES packet or the MTU has been reached.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1506">a valid SDES #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
<parameter name="ssrc" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1507">the SSRC of the new item to add</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
</parameters>
</method>
<method name="sdes_copy_entry"
c:identifier="gst_rtcp_packet_sdes_copy_entry">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1469">This function is like gst_rtcp_packet_sdes_get_entry() but it returns a
null-terminated copy of the data instead. use g_free() after usage.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="404"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1479">%TRUE if there was valid data.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1471">a valid SDES #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
<parameter name="type" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1472">result of the entry type</doc>
<type name="RTCPSDESType" c:type="GstRTCPSDESType*"/>
</parameter>
<parameter name="len"
direction="out"
caller-allocates="0"
transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1473">result length of the entry data</doc>
<type name="guint8" c:type="guint8*"/>
</parameter>
<parameter name="data"
direction="out"
caller-allocates="0"
transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1474">result entry data</doc>
<array length="1" zero-terminated="0" c:type="guint8**">
<type name="guint8" c:type="guint8*"/>
</array>
</parameter>
</parameters>
</method>
<method name="sdes_first_entry"
c:identifier="gst_rtcp_packet_sdes_first_entry">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1334">Move to the first SDES entry in the current item.</doc>
<source-position filename="gstrtcpbuffer.h" line="393"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1340">%TRUE if there was a first entry.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1336">a valid SDES #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
</parameters>
</method>
<method name="sdes_first_item"
c:identifier="gst_rtcp_packet_sdes_first_item">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1227">Move to the first SDES item in @packet.</doc>
<source-position filename="gstrtcpbuffer.h" line="384"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1233">TRUE if there was a first item.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1229">a valid SDES #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
</parameters>
</method>
<method name="sdes_get_entry"
c:identifier="gst_rtcp_packet_sdes_get_entry">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1419">Get the data of the current SDES item entry. @type (when not NULL) will
contain the type of the entry. @data (when not NULL) will point to @len
bytes.
When @type refers to a text item, @data will point to a UTF8 string. Note
that this UTF8 string is NOT null-terminated. Use
gst_rtcp_packet_sdes_copy_entry() to get a null-terminated copy of the entry.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="399"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1434">%TRUE if there was valid data.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1421">a valid SDES #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
<parameter name="type" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1422">result of the entry type</doc>
<type name="RTCPSDESType" c:type="GstRTCPSDESType*"/>
</parameter>
<parameter name="len"
direction="out"
caller-allocates="0"
transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1423">result length of the entry data</doc>
<type name="guint8" c:type="guint8*"/>
</parameter>
<parameter name="data"
direction="out"
caller-allocates="0"
transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1424">result entry data</doc>
<array length="1" zero-terminated="0" c:type="guint8**">
<type name="guint8" c:type="guint8*"/>
</array>
</parameter>
</parameters>
</method>
<method name="sdes_get_item_count"
c:identifier="gst_rtcp_packet_sdes_get_item_count">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1210">Get the number of items in the SDES packet @packet.</doc>
<source-position filename="gstrtcpbuffer.h" line="381"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1216">The number of items in @packet.</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1212">a valid SDES #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
</parameters>
</method>
<method name="sdes_get_ssrc"
c:identifier="gst_rtcp_packet_sdes_get_ssrc">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1304">Get the SSRC of the current SDES item.</doc>
<source-position filename="gstrtcpbuffer.h" line="390"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1310">the SSRC of the current item.</doc>
<type name="guint32" c:type="guint32"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1306">a valid SDES #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
</parameters>
</method>
<method name="sdes_next_entry"
c:identifier="gst_rtcp_packet_sdes_next_entry">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1374">Move to the next SDES entry in the current item.</doc>
<source-position filename="gstrtcpbuffer.h" line="396"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1380">%TRUE if there was a next entry.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1376">a valid SDES #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
</parameters>
</method>
<method name="sdes_next_item"
c:identifier="gst_rtcp_packet_sdes_next_item">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1251">Move to the next SDES item in @packet.</doc>
<source-position filename="gstrtcpbuffer.h" line="387"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1257">TRUE if there was a next item.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1253">a valid SDES #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
</parameters>
</method>
<method name="set_rb" c:identifier="gst_rtcp_packet_set_rb">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1029">Set the @nth new report block in @packet with the given values.
Note: Not implemented.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="356"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1031">a valid SR or RR #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
<parameter name="nth" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1032">the nth report block to set</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="ssrc" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1033">data source being reported</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
<parameter name="fractionlost" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1034">fraction lost since last SR/RR</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
<parameter name="packetslost" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1035">the cumululative number of packets lost</doc>
<type name="gint32" c:type="gint32"/>
</parameter>
<parameter name="exthighestseq" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1036">the extended last sequence number received</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
<parameter name="jitter" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1037">the interarrival jitter</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
<parameter name="lsr" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1038">the last SR packet from this source</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
<parameter name="dlsr" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="1039">the delay since last SR packet</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
</parameters>
</method>
<method name="sr_get_sender_info"
c:identifier="gst_rtcp_packet_sr_get_sender_info">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="708">Parse the SR sender info and store the values.</doc>
<source-position filename="gstrtcpbuffer.h" line="321"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="710">a valid SR #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
<parameter name="ssrc"
direction="out"
caller-allocates="0"
transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="711">result SSRC</doc>
<type name="guint32" c:type="guint32*"/>
</parameter>
<parameter name="ntptime"
direction="out"
caller-allocates="0"
transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="712">result NTP time</doc>
<type name="guint64" c:type="guint64*"/>
</parameter>
<parameter name="rtptime"
direction="out"
caller-allocates="0"
transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="713">result RTP time</doc>
<type name="guint32" c:type="guint32*"/>
</parameter>
<parameter name="packet_count"
direction="out"
caller-allocates="0"
transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="714">result packet count</doc>
<type name="guint32" c:type="guint32*"/>
</parameter>
<parameter name="octet_count"
direction="out"
caller-allocates="0"
transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="715">result octet count</doc>
<type name="guint32" c:type="guint32*"/>
</parameter>
</parameters>
</method>
<method name="sr_set_sender_info"
c:identifier="gst_rtcp_packet_sr_set_sender_info">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="751">Set the given values in the SR packet @packet.</doc>
<source-position filename="gstrtcpbuffer.h" line="326"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="753">a valid SR #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
<parameter name="ssrc" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="754">the SSRC</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
<parameter name="ntptime" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="755">the NTP time</doc>
<type name="guint64" c:type="guint64"/>
</parameter>
<parameter name="rtptime" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="756">the RTP time</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
<parameter name="packet_count" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="757">the packet count</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
<parameter name="octet_count" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="758">the octet count</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
</parameters>
</method>
<method name="xr_first_rb"
c:identifier="gst_rtcp_packet_xr_first_rb"
version="1.16">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2589">Move to the first extended report block in XR @packet.</doc>
<source-position filename="gstrtcpbuffer.h" line="516"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2595">TRUE if there was a first extended report block.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2591">a valid XR #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
</parameters>
</method>
<method name="xr_get_block_length"
c:identifier="gst_rtcp_packet_xr_get_block_length"
version="1.16">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="525"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2723">The number of 32-bit words containing type-specific block
data from @packet.</doc>
<type name="guint16" c:type="guint16"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2721">a valid XR #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
</parameters>
</method>
<method name="xr_get_block_type"
c:identifier="gst_rtcp_packet_xr_get_block_type"
version="1.16">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2666">Get the extended report block type of the XR @packet.</doc>
<source-position filename="gstrtcpbuffer.h" line="522"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2672">The extended report block type.</doc>
<type name="RTCPXRType" c:type="GstRTCPXRType"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2668">a valid XR #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
</parameters>
</method>
<method name="xr_get_dlrr_block"
c:identifier="gst_rtcp_packet_xr_get_dlrr_block"
version="1.16">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2972">Parse the extended report block for DLRR report block type.</doc>
<source-position filename="gstrtcpbuffer.h" line="550"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2982">%TRUE if the report block is correctly parsed.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2974">a valid XR #GstRTCPPacket which has DLRR Report Block.</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
<parameter name="nth" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2975">the index of sub-block to retrieve.</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="ssrc" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2976">the SSRC of the receiver.</doc>
<type name="guint32" c:type="guint32*"/>
</parameter>
<parameter name="last_rr" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2977">the last receiver reference timestamp of @ssrc.</doc>
<type name="guint32" c:type="guint32*"/>
</parameter>
<parameter name="delay" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2978">the delay since @last_rr.</doc>
<type name="guint32" c:type="guint32*"/>
</parameter>
</parameters>
</method>
<method name="xr_get_prt_by_seq"
c:identifier="gst_rtcp_packet_xr_get_prt_by_seq"
version="1.16">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2899">Retrieve the packet receipt time of @seq which ranges in [begin_seq, end_seq).</doc>
<source-position filename="gstrtcpbuffer.h" line="543"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2907">%TRUE if the report block returns the receipt time correctly.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2901">a valid XR #GstRTCPPacket which has the Packet Recept Times Report Block.</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
<parameter name="seq" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2902">the sequence to retrieve the time.</doc>
<type name="guint16" c:type="guint16"/>
</parameter>
<parameter name="receipt_time" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2903">the packet receipt time of @seq.</doc>
<type name="guint32" c:type="guint32*"/>
</parameter>
</parameters>
</method>
<method name="xr_get_prt_info"
c:identifier="gst_rtcp_packet_xr_get_prt_info"
version="1.16">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2847">Parse the Packet Recept Times Report Block from a XR @packet</doc>
<source-position filename="gstrtcpbuffer.h" line="538"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2857">%TRUE if the report block is correctly parsed.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2849">a valid XR #GstRTCPPacket which has a Packet Receipt Times Report Block</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
<parameter name="ssrc" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2850">the SSRC of the RTP data packet source being reported upon by this report block.</doc>
<type name="guint32" c:type="guint32*"/>
</parameter>
<parameter name="thinning" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2851">the amount of thinning performed on the sequence number space.</doc>
<type name="guint8" c:type="guint8*"/>
</parameter>
<parameter name="begin_seq" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2852">the first sequence number that this block reports on.</doc>
<type name="guint16" c:type="guint16*"/>
</parameter>
<parameter name="end_seq" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2853">the last sequence number that this block reports on plus one.</doc>
<type name="guint16" c:type="guint16*"/>
</parameter>
</parameters>
</method>
<method name="xr_get_rle_info"
c:identifier="gst_rtcp_packet_xr_get_rle_info"
version="1.16">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2748">Parse the extended report block for Loss RLE and Duplicated LRE block type.</doc>
<source-position filename="gstrtcpbuffer.h" line="528"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2759">%TRUE if the report block is correctly parsed.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2750">a valid XR #GstRTCPPacket which is Loss RLE or Duplicate RLE report.</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
<parameter name="ssrc" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2751">the SSRC of the RTP data packet source being reported upon by this report block.</doc>
<type name="guint32" c:type="guint32*"/>
</parameter>
<parameter name="thinning" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2752">the amount of thinning performed on the sequence number space.</doc>
<type name="guint8" c:type="guint8*"/>
</parameter>
<parameter name="begin_seq" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2753">the first sequence number that this block reports on.</doc>
<type name="guint16" c:type="guint16*"/>
</parameter>
<parameter name="end_seq" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2754">the last sequence number that this block reports on plus one.</doc>
<type name="guint16" c:type="guint16*"/>
</parameter>
<parameter name="chunk_count" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2755">the number of chunks calculated by block length.</doc>
<type name="guint32" c:type="guint32*"/>
</parameter>
</parameters>
</method>
<method name="xr_get_rle_nth_chunk"
c:identifier="gst_rtcp_packet_xr_get_rle_nth_chunk"
version="1.16">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2806">Retrieve actual chunk data.</doc>
<source-position filename="gstrtcpbuffer.h" line="534"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2814">%TRUE if the report block returns chunk correctly.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2808">a valid XR #GstRTCPPacket which is Loss RLE or Duplicate RLE report.</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
<parameter name="nth" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2809">the index of chunk to retrieve.</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="chunk" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2810">the @nth chunk.</doc>
<type name="guint16" c:type="guint16*"/>
</parameter>
</parameters>
</method>
<method name="xr_get_rrt"
c:identifier="gst_rtcp_packet_xr_get_rrt"
version="1.16">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="547"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2945">%TRUE if the report block returns the reference time correctly.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2942">a valid XR #GstRTCPPacket which has the Receiver Reference Time.</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
<parameter name="timestamp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2943">NTP timestamp</doc>
<type name="guint64" c:type="guint64*"/>
</parameter>
</parameters>
</method>
<method name="xr_get_ssrc"
c:identifier="gst_rtcp_packet_xr_get_ssrc"
version="1.16">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2559">Get the ssrc field of the XR @packet.</doc>
<source-position filename="gstrtcpbuffer.h" line="513"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2565">the ssrc.</doc>
<type name="guint32" c:type="guint32"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2561">a valid XR #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
</parameters>
</method>
<method name="xr_get_summary_info"
c:identifier="gst_rtcp_packet_xr_get_summary_info"
version="1.16">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3022">Extract a basic information from static summary report block of XR @packet.</doc>
<source-position filename="gstrtcpbuffer.h" line="555"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3031">%TRUE if the report block is correctly parsed.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3024">a valid XR #GstRTCPPacket which has Statics Summary Report Block.</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
<parameter name="ssrc" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3025">the SSRC of the source.</doc>
<type name="guint32" c:type="guint32*"/>
</parameter>
<parameter name="begin_seq" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3026">the first sequence number that this block reports on.</doc>
<type name="guint16" c:type="guint16*"/>
</parameter>
<parameter name="end_seq" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3027">the last sequence number that this block reports on plus one.</doc>
<type name="guint16" c:type="guint16*"/>
</parameter>
</parameters>
</method>
<method name="xr_get_summary_jitter"
c:identifier="gst_rtcp_packet_xr_get_summary_jitter"
version="1.16">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3118">Extract jitter information from the statistics summary. If the jitter flag in
a block header is set as zero, all of jitters will be zero.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="563"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3129">%TRUE if the report block is correctly parsed.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3120">a valid XR #GstRTCPPacket which has Statics Summary Report Block.</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
<parameter name="min_jitter" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3121">the minimum relative transit time between two sequences.</doc>
<type name="guint32" c:type="guint32*"/>
</parameter>
<parameter name="max_jitter" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3122">the maximum relative transit time between two sequences.</doc>
<type name="guint32" c:type="guint32*"/>
</parameter>
<parameter name="mean_jitter" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3123">the mean relative transit time between two sequences.</doc>
<type name="guint32" c:type="guint32*"/>
</parameter>
<parameter name="dev_jitter" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3124">the standard deviation of the relative transit time between two sequences.</doc>
<type name="guint32" c:type="guint32*"/>
</parameter>
</parameters>
</method>
<method name="xr_get_summary_pkt"
c:identifier="gst_rtcp_packet_xr_get_summary_pkt"
version="1.16">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3068">Get the number of lost or duplicate packets. If the flag in a block header
is set as zero, @lost_packets or @dup_packets will be zero.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="559"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3077">%TRUE if the report block is correctly parsed.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3070">a valid XR #GstRTCPPacket which has Statics Summary Report Block.</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
<parameter name="lost_packets" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3071">the number of lost packets between begin_seq and end_seq.</doc>
<type name="guint32" c:type="guint32*"/>
</parameter>
<parameter name="dup_packets" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3072">the number of duplicate packets between begin_seq and end_seq.</doc>
<type name="guint32" c:type="guint32*"/>
</parameter>
</parameters>
</method>
<method name="xr_get_summary_ttl"
c:identifier="gst_rtcp_packet_xr_get_summary_ttl"
version="1.16">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3185">Extract the value of ttl for ipv4, or hop limit for ipv6.</doc>
<source-position filename="gstrtcpbuffer.h" line="568"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3196">%TRUE if the report block is correctly parsed.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3187">a valid XR #GstRTCPPacket which has Statics Summary Report Block.</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
<parameter name="is_ipv4" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3188">the flag to indicate that the return values are ipv4 ttl or ipv6 hop limits.</doc>
<type name="gboolean" c:type="gboolean*"/>
</parameter>
<parameter name="min_ttl" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3189">the minimum TTL or Hop Limit value of data packets between two sequences.</doc>
<type name="guint8" c:type="guint8*"/>
</parameter>
<parameter name="max_ttl" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3190">the maximum TTL or Hop Limit value of data packets between two sequences.</doc>
<type name="guint8" c:type="guint8*"/>
</parameter>
<parameter name="mean_ttl" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3191">the mean TTL or Hop Limit value of data packets between two sequences.</doc>
<type name="guint8" c:type="guint8*"/>
</parameter>
<parameter name="dev_ttl" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3192">the standard deviation of the TTL or Hop Limit value of data packets between two sequences.</doc>
<type name="guint8" c:type="guint8*"/>
</parameter>
</parameters>
</method>
<method name="xr_get_voip_burst_metrics"
c:identifier="gst_rtcp_packet_xr_get_voip_burst_metrics"
version="1.16">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="580"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3320">%TRUE if the report block is correctly parsed.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3314">a valid XR #GstRTCPPacket which has VoIP Metrics Report Block.</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
<parameter name="burst_density" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3315">the fraction of RTP data packets within burst periods.</doc>
<type name="guint8" c:type="guint8*"/>
</parameter>
<parameter name="gap_density" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3316">the fraction of RTP data packets within inter-burst gaps.</doc>
<type name="guint8" c:type="guint8*"/>
</parameter>
<parameter name="burst_duration" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3317">the mean duration(ms) of the burst periods.</doc>
<type name="guint16" c:type="guint16*"/>
</parameter>
<parameter name="gap_duration" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3318">the mean duration(ms) of the gap periods.</doc>
<type name="guint16" c:type="guint16*"/>
</parameter>
</parameters>
</method>
<method name="xr_get_voip_configuration_params"
c:identifier="gst_rtcp_packet_xr_get_voip_configuration_params"
version="1.16">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="600"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3496">%TRUE if the report block is correctly parsed.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3492">a valid XR #GstRTCPPacket which has VoIP Metrics Report Block.</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
<parameter name="gmin" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3493">the gap threshold.</doc>
<type name="guint8" c:type="guint8*"/>
</parameter>
<parameter name="rx_config" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3494">the receiver configuration byte.</doc>
<type name="guint8" c:type="guint8*"/>
</parameter>
</parameters>
</method>
<method name="xr_get_voip_delay_metrics"
c:identifier="gst_rtcp_packet_xr_get_voip_delay_metrics"
version="1.16">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="585"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3366">%TRUE if the report block is correctly parsed.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3362">a valid XR #GstRTCPPacket which has VoIP Metrics Report Block.</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
<parameter name="roundtrip_delay" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3363">the most recently calculated round trip time between RTP interfaces(ms)</doc>
<type name="guint16" c:type="guint16*"/>
</parameter>
<parameter name="end_system_delay" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3364">the most recently estimated end system delay(ms)</doc>
<type name="guint16" c:type="guint16*"/>
</parameter>
</parameters>
</method>
<method name="xr_get_voip_jitter_buffer_params"
c:identifier="gst_rtcp_packet_xr_get_voip_jitter_buffer_params"
version="1.16">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="604"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3532">%TRUE if the report block is correctly parsed.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3527">a valid XR #GstRTCPPacket which has VoIP Metrics Report Block.</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
<parameter name="jb_nominal" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3528">the current nominal jitter buffer delay(ms)</doc>
<type name="guint16" c:type="guint16*"/>
</parameter>
<parameter name="jb_maximum" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3529">the current maximum jitter buffer delay(ms)</doc>
<type name="guint16" c:type="guint16*"/>
</parameter>
<parameter name="jb_abs_max" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3530">the absolute maximum delay(ms)</doc>
<type name="guint16" c:type="guint16*"/>
</parameter>
</parameters>
</method>
<method name="xr_get_voip_metrics_ssrc"
c:identifier="gst_rtcp_packet_xr_get_voip_metrics_ssrc"
version="1.16">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="573"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3247">%TRUE if the report block is correctly parsed.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3244">a valid XR #GstRTCPPacket which has VoIP Metrics Report Block.</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
<parameter name="ssrc" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3245">the SSRC of source</doc>
<type name="guint32" c:type="guint32*"/>
</parameter>
</parameters>
</method>
<method name="xr_get_voip_packet_metrics"
c:identifier="gst_rtcp_packet_xr_get_voip_packet_metrics"
version="1.16">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="576"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3281">%TRUE if the report block is correctly parsed.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3277">a valid XR #GstRTCPPacket which has VoIP Metrics Report Block.</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
<parameter name="loss_rate" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3278">the fraction of RTP data packets from the source lost.</doc>
<type name="guint8" c:type="guint8*"/>
</parameter>
<parameter name="discard_rate" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3279">the fraction of RTP data packets from the source that have been discarded.</doc>
<type name="guint8" c:type="guint8*"/>
</parameter>
</parameters>
</method>
<method name="xr_get_voip_quality_metrics"
c:identifier="gst_rtcp_packet_xr_get_voip_quality_metrics"
version="1.16">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="595"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3452">%TRUE if the report block is correctly parsed.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3446">a valid XR #GstRTCPPacket which has VoIP Metrics Report Block.</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
<parameter name="r_factor" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3447">the R factor is a voice quality metric describing the segment of the call.</doc>
<type name="guint8" c:type="guint8*"/>
</parameter>
<parameter name="ext_r_factor" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3448">the external R factor is a voice quality metric.</doc>
<type name="guint8" c:type="guint8*"/>
</parameter>
<parameter name="mos_lq" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3449">the estimated mean opinion score for listening quality.</doc>
<type name="guint8" c:type="guint8*"/>
</parameter>
<parameter name="mos_cq" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3450">the estimated mean opinion score for conversational quality.</doc>
<type name="guint8" c:type="guint8*"/>
</parameter>
</parameters>
</method>
<method name="xr_get_voip_signal_metrics"
c:identifier="gst_rtcp_packet_xr_get_voip_signal_metrics"
version="1.16">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="590"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3406">%TRUE if the report block is correctly parsed.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3400">a valid XR #GstRTCPPacket which has VoIP Metrics Report Block.</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
<parameter name="signal_level" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3401">the ratio of the signal level to a 0 dBm reference.</doc>
<type name="guint8" c:type="guint8*"/>
</parameter>
<parameter name="noise_level" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3402">the ratio of the silent period background noise level to a 0 dBm reference.</doc>
<type name="guint8" c:type="guint8*"/>
</parameter>
<parameter name="rerl" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3403">the residual echo return loss value.</doc>
<type name="guint8" c:type="guint8*"/>
</parameter>
<parameter name="gmin" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="3404">the gap threshold.</doc>
<type name="guint8" c:type="guint8*"/>
</parameter>
</parameters>
</method>
<method name="xr_next_rb"
c:identifier="gst_rtcp_packet_xr_next_rb"
version="1.16">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2628">Move to the next extended report block in XR @packet.</doc>
<source-position filename="gstrtcpbuffer.h" line="519"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2634">TRUE if there was a next extended report block.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="packet" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2630">a valid XR #GstRTCPPacket</doc>
<type name="RTCPPacket" c:type="GstRTCPPacket*"/>
</instance-parameter>
</parameters>
</method>
</record>
<enumeration name="RTCPSDESType"
glib:type-name="GstRTCPSDESType"
glib:get-type="gst_rtcpsdes_type_get_type"
c:type="GstRTCPSDESType">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="111">Different types of SDES content.</doc>
<member name="invalid"
value="-1"
c:identifier="GST_RTCP_SDES_INVALID"
glib:nick="invalid">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="113">Invalid SDES entry</doc>
</member>
<member name="end"
value="0"
c:identifier="GST_RTCP_SDES_END"
glib:nick="end">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="114">End of SDES list</doc>
</member>
<member name="cname"
value="1"
c:identifier="GST_RTCP_SDES_CNAME"
glib:nick="cname">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="115">Canonical name</doc>
</member>
<member name="name"
value="2"
c:identifier="GST_RTCP_SDES_NAME"
glib:nick="name">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="116">User name</doc>
</member>
<member name="email"
value="3"
c:identifier="GST_RTCP_SDES_EMAIL"
glib:nick="email">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="117">User's electronic mail address</doc>
</member>
<member name="phone"
value="4"
c:identifier="GST_RTCP_SDES_PHONE"
glib:nick="phone">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="118">User's phone number</doc>
</member>
<member name="loc"
value="5"
c:identifier="GST_RTCP_SDES_LOC"
glib:nick="loc">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="119">Geographic user location</doc>
</member>
<member name="tool"
value="6"
c:identifier="GST_RTCP_SDES_TOOL"
glib:nick="tool">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="120">Name of application or tool</doc>
</member>
<member name="note"
value="7"
c:identifier="GST_RTCP_SDES_NOTE"
glib:nick="note">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="121">Notice about the source</doc>
</member>
<member name="priv"
value="8"
c:identifier="GST_RTCP_SDES_PRIV"
glib:nick="priv">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="122">Private extensions</doc>
</member>
</enumeration>
<enumeration name="RTCPType"
glib:type-name="GstRTCPType"
glib:get-type="gst_rtcp_type_get_type"
c:type="GstRTCPType">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="38">Different RTCP packet types.</doc>
<member name="invalid"
value="0"
c:identifier="GST_RTCP_TYPE_INVALID"
glib:nick="invalid">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="40">Invalid type</doc>
</member>
<member name="sr"
value="200"
c:identifier="GST_RTCP_TYPE_SR"
glib:nick="sr">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="41">Sender report</doc>
</member>
<member name="rr"
value="201"
c:identifier="GST_RTCP_TYPE_RR"
glib:nick="rr">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="42">Receiver report</doc>
</member>
<member name="sdes"
value="202"
c:identifier="GST_RTCP_TYPE_SDES"
glib:nick="sdes">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="43">Source description</doc>
</member>
<member name="bye"
value="203"
c:identifier="GST_RTCP_TYPE_BYE"
glib:nick="bye">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="44">Goodbye</doc>
</member>
<member name="app"
value="204"
c:identifier="GST_RTCP_TYPE_APP"
glib:nick="app">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="45">Application defined</doc>
</member>
<member name="rtpfb"
value="205"
c:identifier="GST_RTCP_TYPE_RTPFB"
glib:nick="rtpfb">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="46">Transport layer feedback.</doc>
</member>
<member name="psfb"
value="206"
c:identifier="GST_RTCP_TYPE_PSFB"
glib:nick="psfb">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="47">Payload-specific feedback.</doc>
</member>
<member name="xr"
value="207"
c:identifier="GST_RTCP_TYPE_XR"
glib:nick="xr">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="48">Extended report.</doc>
</member>
</enumeration>
<enumeration name="RTCPXRType"
version="1.16"
glib:type-name="GstRTCPXRType"
glib:get-type="gst_rtcpxr_type_get_type"
c:type="GstRTCPXRType">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="140">Types of RTCP Extended Reports, those are defined in RFC 3611 and other RFCs
according to the [IANA registry](https://www.iana.org/assignments/rtcp-xr-block-types/rtcp-xr-block-types.xhtml).</doc>
<member name="invalid"
value="-1"
c:identifier="GST_RTCP_XR_TYPE_INVALID"
glib:nick="invalid">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="142">Invalid XR Report Block</doc>
</member>
<member name="lrle"
value="1"
c:identifier="GST_RTCP_XR_TYPE_LRLE"
glib:nick="lrle">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="143">Loss RLE Report Block</doc>
</member>
<member name="drle"
value="2"
c:identifier="GST_RTCP_XR_TYPE_DRLE"
glib:nick="drle">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="144">Duplicate RLE Report Block</doc>
</member>
<member name="prt"
value="3"
c:identifier="GST_RTCP_XR_TYPE_PRT"
glib:nick="prt">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="145">Packet Receipt Times Report Block</doc>
</member>
<member name="rrt"
value="4"
c:identifier="GST_RTCP_XR_TYPE_RRT"
glib:nick="rrt">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="146">Receiver Reference Time Report Block</doc>
</member>
<member name="dlrr"
value="5"
c:identifier="GST_RTCP_XR_TYPE_DLRR"
glib:nick="dlrr">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="147">Delay since the last Receiver Report</doc>
</member>
<member name="ssumm"
value="6"
c:identifier="GST_RTCP_XR_TYPE_SSUMM"
glib:nick="ssumm">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="148">Statistics Summary Report Block</doc>
</member>
<member name="voip_metrics"
value="7"
c:identifier="GST_RTCP_XR_TYPE_VOIP_METRICS"
glib:nick="voip-metrics">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="149">VoIP Metrics Report Block</doc>
</member>
</enumeration>
<constant name="RTCP_MAX_BYE_SSRC_COUNT"
value="31"
c:type="GST_RTCP_MAX_BYE_SSRC_COUNT">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="189">The maximum amount of SSRCs in a BYE packet.</doc>
<source-position filename="gstrtcpbuffer.h" line="194"/>
<type name="gint" c:type="gint"/>
</constant>
<constant name="RTCP_MAX_RB_COUNT"
value="31"
c:type="GST_RTCP_MAX_RB_COUNT">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="175">The maximum amount of Receiver report blocks in RR and SR messages.</doc>
<source-position filename="gstrtcpbuffer.h" line="180"/>
<type name="gint" c:type="gint"/>
</constant>
<constant name="RTCP_MAX_SDES" value="255" c:type="GST_RTCP_MAX_SDES">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="168">The maximum text length for an SDES item.</doc>
<source-position filename="gstrtcpbuffer.h" line="173"/>
<type name="gint" c:type="gint"/>
</constant>
<constant name="RTCP_MAX_SDES_ITEM_COUNT"
value="31"
c:type="GST_RTCP_MAX_SDES_ITEM_COUNT">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="182">The maximum amount of SDES items.</doc>
<source-position filename="gstrtcpbuffer.h" line="187"/>
<type name="gint" c:type="gint"/>
</constant>
<constant name="RTCP_REDUCED_SIZE_VALID_MASK"
value="57592"
c:type="GST_RTCP_REDUCED_SIZE_VALID_MASK">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="203">Mask for version, padding bit and packet type pair allowing reduced size
packets, basically it accepts other types than RR and SR</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="209"/>
<type name="gint" c:type="gint"/>
</constant>
<constant name="RTCP_VALID_MASK"
value="57598"
c:type="GST_RTCP_VALID_MASK">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="196">Mask for version, padding bit and packet type pair</doc>
<source-position filename="gstrtcpbuffer.h" line="201"/>
<type name="gint" c:type="gint"/>
</constant>
<constant name="RTCP_VALID_VALUE"
value="200"
c:type="GST_RTCP_VALID_VALUE">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="211">Valid value for the first two bytes of an RTCP packet after applying
#GST_RTCP_VALID_MASK to them.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="217"/>
<type name="gint" c:type="gint"/>
</constant>
<constant name="RTCP_VERSION" value="2" c:type="GST_RTCP_VERSION">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.h"
line="31">The supported RTCP version 2.</doc>
<source-position filename="gstrtcpbuffer.h" line="36"/>
<type name="gint" c:type="gint"/>
</constant>
<class name="RTPBaseAudioPayload"
c:symbol-prefix="rtp_base_audio_payload"
c:type="GstRTPBaseAudioPayload"
parent="RTPBasePayload"
glib:type-name="GstRTPBaseAudioPayload"
glib:get-type="gst_rtp_base_audio_payload_get_type"
glib:type-struct="RTPBaseAudioPayloadClass">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbaseaudiopayload.c"
line="20">Provides a base class for audio RTP payloaders for frame or sample based
audio codecs (constant bitrate)
This class derives from GstRTPBasePayload. It can be used for payloading
audio codecs. It will only work with constant bitrate codecs. It supports
both frame based and sample based codecs. It takes care of packing up the
audio data into RTP packets and filling up the headers accordingly. The
payloading is done based on the maximum MTU (mtu) and the maximum time per
packet (max-ptime). The general idea is to divide large data buffers into
smaller RTP packets. The RTP packet size is the minimum of either the MTU,
max-ptime (if set) or available data. The RTP packet size is always larger or
equal to min-ptime (if set). If min-ptime is not set, any residual data is
sent in a last RTP packet. In the case of frame based codecs, the resulting
RTP packets always contain full frames.
## Usage
To use this base class, your child element needs to call either
gst_rtp_base_audio_payload_set_frame_based() or
gst_rtp_base_audio_payload_set_sample_based(). This is usually done in the
element's _init() function. Then, the child element must call either
gst_rtp_base_audio_payload_set_frame_options(),
gst_rtp_base_audio_payload_set_sample_options() or
gst_rtp_base_audio_payload_set_samplebits_options. Since
GstRTPBaseAudioPayload derives from GstRTPBasePayload, the child element
must set any variables or call/override any functions required by that base
class. The child element does not need to override any other functions
specific to GstRTPBaseAudioPayload.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbaseaudiopayload.h" line="77"/>
<method name="flush" c:identifier="gst_rtp_base_audio_payload_flush">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbaseaudiopayload.c"
line="562">Create an RTP buffer and store @payload_len bytes of the adapter as the
payload. Set the timestamp on the new buffer to @timestamp before pushing
the buffer downstream.
If @payload_len is -1, all pending bytes will be flushed. If @timestamp is
-1, the timestamp will be calculated automatically.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbaseaudiopayload.h" line="117"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbaseaudiopayload.c"
line="575">a #GstFlowReturn</doc>
<type name="Gst.FlowReturn" c:type="GstFlowReturn"/>
</return-value>
<parameters>
<instance-parameter name="baseaudiopayload"
transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbaseaudiopayload.c"
line="564">a #GstRTPBasePayload</doc>
<type name="RTPBaseAudioPayload" c:type="GstRTPBaseAudioPayload*"/>
</instance-parameter>
<parameter name="payload_len" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbaseaudiopayload.c"
line="565">length of payload</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="timestamp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbaseaudiopayload.c"
line="566">a #GstClockTime</doc>
<type name="Gst.ClockTime" c:type="GstClockTime"/>
</parameter>
</parameters>
</method>
<method name="get_adapter"
c:identifier="gst_rtp_base_audio_payload_get_adapter">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbaseaudiopayload.c"
line="1001">Gets the internal adapter used by the depayloader.</doc>
<source-position filename="gstrtpbaseaudiopayload.h" line="107"/>
<return-value transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbaseaudiopayload.c"
line="1007">a #GstAdapter.</doc>
<type name="GstBase.Adapter" c:type="GstAdapter*"/>
</return-value>
<parameters>
<instance-parameter name="rtpbaseaudiopayload"
transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbaseaudiopayload.c"
line="1003">a #GstRTPBaseAudioPayload</doc>
<type name="RTPBaseAudioPayload" c:type="GstRTPBaseAudioPayload*"/>
</instance-parameter>
</parameters>
</method>
<method name="push" c:identifier="gst_rtp_base_audio_payload_push">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbaseaudiopayload.c"
line="428">Create an RTP buffer and store @payload_len bytes of @data as the
payload. Set the timestamp on the new buffer to @timestamp before pushing
the buffer downstream.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbaseaudiopayload.h" line="112"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbaseaudiopayload.c"
line="439">a #GstFlowReturn</doc>
<type name="Gst.FlowReturn" c:type="GstFlowReturn"/>
</return-value>
<parameters>
<instance-parameter name="baseaudiopayload"
transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbaseaudiopayload.c"
line="430">a #GstRTPBasePayload</doc>
<type name="RTPBaseAudioPayload" c:type="GstRTPBaseAudioPayload*"/>
</instance-parameter>
<parameter name="data" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbaseaudiopayload.c"
line="431">data to set as payload</doc>
<array length="1" zero-terminated="0" c:type="const guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
<parameter name="payload_len" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbaseaudiopayload.c"
line="432">length of payload</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="timestamp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbaseaudiopayload.c"
line="433">a #GstClockTime</doc>
<type name="Gst.ClockTime" c:type="GstClockTime"/>
</parameter>
</parameters>
</method>
<method name="set_frame_based"
c:identifier="gst_rtp_base_audio_payload_set_frame_based">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbaseaudiopayload.c"
line="260">Tells #GstRTPBaseAudioPayload that the child element is for a frame based
audio codec</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbaseaudiopayload.h" line="85"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="rtpbaseaudiopayload"
transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbaseaudiopayload.c"
line="262">a pointer to the element.</doc>
<type name="RTPBaseAudioPayload" c:type="GstRTPBaseAudioPayload*"/>
</instance-parameter>
</parameters>
</method>
<method name="set_frame_options"
c:identifier="gst_rtp_base_audio_payload_set_frame_options">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbaseaudiopayload.c"
line="308">Sets the options for frame based audio codecs.</doc>
<source-position filename="gstrtpbaseaudiopayload.h" line="88"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="rtpbaseaudiopayload"
transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbaseaudiopayload.c"
line="310">a pointer to the element.</doc>
<type name="RTPBaseAudioPayload" c:type="GstRTPBaseAudioPayload*"/>
</instance-parameter>
<parameter name="frame_duration" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbaseaudiopayload.c"
line="311">The duraction of an audio frame in milliseconds.</doc>
<type name="gint" c:type="gint"/>
</parameter>
<parameter name="frame_size" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbaseaudiopayload.c"
line="312">The size of an audio frame in bytes.</doc>
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
</method>
<method name="set_sample_based"
c:identifier="gst_rtp_base_audio_payload_set_sample_based">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbaseaudiopayload.c"
line="284">Tells #GstRTPBaseAudioPayload that the child element is for a sample based
audio codec</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbaseaudiopayload.h" line="94"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="rtpbaseaudiopayload"
transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbaseaudiopayload.c"
line="286">a pointer to the element.</doc>
<type name="RTPBaseAudioPayload" c:type="GstRTPBaseAudioPayload*"/>
</instance-parameter>
</parameters>
</method>
<method name="set_sample_options"
c:identifier="gst_rtp_base_audio_payload_set_sample_options">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbaseaudiopayload.c"
line="338">Sets the options for sample based audio codecs.</doc>
<source-position filename="gstrtpbaseaudiopayload.h" line="97"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="rtpbaseaudiopayload"
transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbaseaudiopayload.c"
line="340">a pointer to the element.</doc>
<type name="RTPBaseAudioPayload" c:type="GstRTPBaseAudioPayload*"/>
</instance-parameter>
<parameter name="sample_size" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbaseaudiopayload.c"
line="341">Size per sample in bytes.</doc>
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
</method>
<method name="set_samplebits_options"
c:identifier="gst_rtp_base_audio_payload_set_samplebits_options">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbaseaudiopayload.c"
line="356">Sets the options for sample based audio codecs.</doc>
<source-position filename="gstrtpbaseaudiopayload.h" line="101"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="rtpbaseaudiopayload"
transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbaseaudiopayload.c"
line="358">a pointer to the element.</doc>
<type name="RTPBaseAudioPayload" c:type="GstRTPBaseAudioPayload*"/>
</instance-parameter>
<parameter name="sample_size" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbaseaudiopayload.c"
line="359">Size per sample in bits.</doc>
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
</method>
<property name="buffer-list" writable="1" transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</property>
<field name="payload">
<type name="RTPBasePayload" c:type="GstRTPBasePayload"/>
</field>
<field name="priv">
<type name="RTPBaseAudioPayloadPrivate"
c:type="GstRTPBaseAudioPayloadPrivate*"/>
</field>
<field name="base_ts">
<type name="Gst.ClockTime" c:type="GstClockTime"/>
</field>
<field name="frame_size">
<type name="gint" c:type="gint"/>
</field>
<field name="frame_duration">
<type name="gint" c:type="gint"/>
</field>
<field name="sample_size">
<type name="gint" c:type="gint"/>
</field>
<field name="_gst_reserved" readable="0" private="1">
2019-12-15 10:18:09 +00:00
<array zero-terminated="0" fixed-size="4">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
</class>
<record name="RTPBaseAudioPayloadClass"
c:type="GstRTPBaseAudioPayloadClass"
glib:is-gtype-struct-for="RTPBaseAudioPayload">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbaseaudiopayload.h"
line="65">Base class for audio RTP payloader.</doc>
<source-position filename="gstrtpbaseaudiopayload.h" line="77"/>
<field name="parent_class">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbaseaudiopayload.h"
line="67">the parent class</doc>
<type name="RTPBasePayloadClass" c:type="GstRTPBasePayloadClass"/>
</field>
<field name="_gst_reserved" readable="0" private="1">
2019-12-15 10:18:09 +00:00
<array zero-terminated="0" fixed-size="4">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
</record>
<record name="RTPBaseAudioPayloadPrivate"
c:type="GstRTPBaseAudioPayloadPrivate"
disguised="1">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbaseaudiopayload.h" line="32"/>
</record>
<class name="RTPBaseDepayload"
c:symbol-prefix="rtp_base_depayload"
c:type="GstRTPBaseDepayload"
parent="Gst.Element"
abstract="1"
glib:type-name="GstRTPBaseDepayload"
glib:get-type="gst_rtp_base_depayload_get_type"
glib:type-struct="RTPBaseDepayloadClass">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasedepayload.c"
line="21">Provides a base class for RTP depayloaders</doc>
<source-position filename="gstrtpbasedepayload.h" line="112"/>
<virtual-method name="handle_event">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbasedepayload.h" line="106"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="filter" transfer-ownership="none">
<type name="RTPBaseDepayload" c:type="GstRTPBaseDepayload*"/>
</instance-parameter>
<parameter name="event" transfer-ownership="none">
<type name="Gst.Event" c:type="GstEvent*"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="packet_lost">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbasedepayload.h" line="102"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="filter" transfer-ownership="none">
<type name="RTPBaseDepayload" c:type="GstRTPBaseDepayload*"/>
</instance-parameter>
<parameter name="event" transfer-ownership="none">
<type name="Gst.Event" c:type="GstEvent*"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="process">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbasedepayload.h" line="97"/>
<return-value transfer-ownership="full">
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</return-value>
<parameters>
<instance-parameter name="base" transfer-ownership="none">
<type name="RTPBaseDepayload" c:type="GstRTPBaseDepayload*"/>
</instance-parameter>
<parameter name="in" transfer-ownership="none">
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="process_rtp_packet">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbasedepayload.h" line="108"/>
<return-value transfer-ownership="full">
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</return-value>
<parameters>
<instance-parameter name="base" transfer-ownership="none">
<type name="RTPBaseDepayload" c:type="GstRTPBaseDepayload*"/>
</instance-parameter>
<parameter name="rtp_buffer" transfer-ownership="none">
<type name="RTPBuffer" c:type="GstRTPBuffer*"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="set_caps">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbasedepayload.h" line="94"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="filter" transfer-ownership="none">
<type name="RTPBaseDepayload" c:type="GstRTPBaseDepayload*"/>
</instance-parameter>
<parameter name="caps" transfer-ownership="none">
<type name="Gst.Caps" c:type="GstCaps*"/>
</parameter>
</parameters>
</virtual-method>
<method name="is_source_info_enabled"
c:identifier="gst_rtp_base_depayload_is_source_info_enabled"
version="1.16">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasedepayload.c"
line="1075">Queries whether #GstRTPSourceMeta will be added to depayloaded buffers.</doc>
<source-position filename="gstrtpbasedepayload.h" line="124"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtpbasedepayload.c"
line="1081">%TRUE if source-info is enabled.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="depayload" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasedepayload.c"
line="1077">a #GstRTPBaseDepayload</doc>
<type name="RTPBaseDepayload" c:type="GstRTPBaseDepayload*"/>
</instance-parameter>
</parameters>
</method>
<method name="push" c:identifier="gst_rtp_base_depayload_push">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasedepayload.c"
line="837">Push @out_buf to the peer of @filter. This function takes ownership of
@out_buf.
This function will by default apply the last incomming timestamp on
the outgoing buffer when it didn't have a timestamp already.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbasedepayload.h" line="118"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasedepayload.c"
line="848">a #GstFlowReturn.</doc>
<type name="Gst.FlowReturn" c:type="GstFlowReturn"/>
</return-value>
<parameters>
<instance-parameter name="filter" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasedepayload.c"
line="839">a #GstRTPBaseDepayload</doc>
<type name="RTPBaseDepayload" c:type="GstRTPBaseDepayload*"/>
</instance-parameter>
<parameter name="out_buf" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasedepayload.c"
line="840">a #GstBuffer</doc>
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</parameter>
</parameters>
</method>
<method name="push_list" c:identifier="gst_rtp_base_depayload_push_list">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasedepayload.c"
line="865">Push @out_list to the peer of @filter. This function takes ownership of
@out_list.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbasedepayload.h" line="121"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasedepayload.c"
line="873">a #GstFlowReturn.</doc>
<type name="Gst.FlowReturn" c:type="GstFlowReturn"/>
</return-value>
<parameters>
<instance-parameter name="filter" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasedepayload.c"
line="867">a #GstRTPBaseDepayload</doc>
<type name="RTPBaseDepayload" c:type="GstRTPBaseDepayload*"/>
</instance-parameter>
<parameter name="out_list" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasedepayload.c"
line="868">a #GstBufferList</doc>
<type name="Gst.BufferList" c:type="GstBufferList*"/>
</parameter>
</parameters>
</method>
<method name="set_source_info_enabled"
c:identifier="gst_rtp_base_depayload_set_source_info_enabled"
version="1.16">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasedepayload.c"
line="1059">Enable or disable adding #GstRTPSourceMeta to depayloaded buffers.</doc>
<source-position filename="gstrtpbasedepayload.h" line="127"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="depayload" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasedepayload.c"
line="1061">a #GstRTPBaseDepayload</doc>
<type name="RTPBaseDepayload" c:type="GstRTPBaseDepayload*"/>
</instance-parameter>
<parameter name="enable" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasedepayload.c"
line="1062">whether to add meta about RTP sources to buffer</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<property name="source-info"
version="1.16"
writable="1"
transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasedepayload.c"
line="193">Add RTP source information found in RTP header as meta to output buffer.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="stats" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasedepayload.c"
line="169">Various depayloader statistics retrieved atomically (and are therefore
synchroized with each other). This property return a GstStructure named
application/x-rtp-depayload-stats containing the following fields relating to
the last processed buffer and current state of the stream being depayloaded:
* `clock-rate`: #G_TYPE_UINT, clock-rate of the stream
* `npt-start`: #G_TYPE_UINT64, time of playback start
* `npt-stop`: #G_TYPE_UINT64, time of playback stop
* `play-speed`: #G_TYPE_DOUBLE, the playback speed
* `play-scale`: #G_TYPE_DOUBLE, the playback scale
* `running-time-dts`: #G_TYPE_UINT64, the last running-time of the
last DTS
* `running-time-pts`: #G_TYPE_UINT64, the last running-time of the
last PTS
* `seqnum`: #G_TYPE_UINT, the last seen seqnum
* `timestamp`: #G_TYPE_UINT, the last seen RTP timestamp</doc>
<type name="Gst.Structure"/>
</property>
<field name="parent">
<type name="Gst.Element" c:type="GstElement"/>
</field>
<field name="sinkpad">
<type name="Gst.Pad" c:type="GstPad*"/>
</field>
<field name="srcpad">
<type name="Gst.Pad" c:type="GstPad*"/>
</field>
<field name="clock_rate">
<type name="guint" c:type="guint"/>
</field>
<field name="segment">
<type name="Gst.Segment" c:type="GstSegment"/>
</field>
<field name="need_newsegment">
<type name="gboolean" c:type="gboolean"/>
</field>
<field name="priv" readable="0" private="1">
<type name="RTPBaseDepayloadPrivate"
c:type="GstRTPBaseDepayloadPrivate*"/>
</field>
<field name="_gst_reserved" readable="0" private="1">
2019-12-15 10:18:09 +00:00
<array zero-terminated="0" fixed-size="4">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
</class>
<record name="RTPBaseDepayloadClass"
c:type="GstRTPBaseDepayloadClass"
glib:is-gtype-struct-for="RTPBaseDepayload">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasedepayload.h"
line="66">Base class for RTP depayloaders.</doc>
<source-position filename="gstrtpbasedepayload.h" line="112"/>
<field name="parent_class">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasedepayload.h"
line="68">the parent class</doc>
<type name="Gst.ElementClass" c:type="GstElementClass"/>
</field>
<field name="set_caps">
<callback name="set_caps">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbasedepayload.h" line="94"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="filter" transfer-ownership="none">
<type name="RTPBaseDepayload" c:type="GstRTPBaseDepayload*"/>
</parameter>
<parameter name="caps" transfer-ownership="none">
<type name="Gst.Caps" c:type="GstCaps*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="process">
<callback name="process">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbasedepayload.h" line="97"/>
<return-value transfer-ownership="full">
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</return-value>
<parameters>
<parameter name="base" transfer-ownership="none">
<type name="RTPBaseDepayload" c:type="GstRTPBaseDepayload*"/>
</parameter>
<parameter name="in" transfer-ownership="none">
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="packet_lost">
<callback name="packet_lost">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbasedepayload.h" line="102"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="filter" transfer-ownership="none">
<type name="RTPBaseDepayload" c:type="GstRTPBaseDepayload*"/>
</parameter>
<parameter name="event" transfer-ownership="none">
<type name="Gst.Event" c:type="GstEvent*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="handle_event">
<callback name="handle_event">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbasedepayload.h" line="106"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="filter" transfer-ownership="none">
<type name="RTPBaseDepayload" c:type="GstRTPBaseDepayload*"/>
</parameter>
<parameter name="event" transfer-ownership="none">
<type name="Gst.Event" c:type="GstEvent*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="process_rtp_packet">
<callback name="process_rtp_packet">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbasedepayload.h" line="108"/>
<return-value transfer-ownership="full">
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</return-value>
<parameters>
<parameter name="base" transfer-ownership="none">
<type name="RTPBaseDepayload" c:type="GstRTPBaseDepayload*"/>
</parameter>
<parameter name="rtp_buffer" transfer-ownership="none">
<type name="RTPBuffer" c:type="GstRTPBuffer*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="_gst_reserved" readable="0" private="1">
2019-12-15 10:18:09 +00:00
<array zero-terminated="0" fixed-size="3">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
</record>
<record name="RTPBaseDepayloadPrivate"
c:type="GstRTPBaseDepayloadPrivate"
disguised="1">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbasedepayload.h" line="46"/>
</record>
<class name="RTPBasePayload"
c:symbol-prefix="rtp_base_payload"
c:type="GstRTPBasePayload"
parent="Gst.Element"
abstract="1"
glib:type-name="GstRTPBasePayload"
glib:get-type="gst_rtp_base_payload_get_type"
glib:type-struct="RTPBasePayloadClass">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.c"
line="15">Provides a base class for RTP payloaders</doc>
<source-position filename="gstrtpbasepayload.h" line="147"/>
<virtual-method name="get_caps">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbasepayload.h" line="132"/>
<return-value transfer-ownership="full">
<type name="Gst.Caps" c:type="GstCaps*"/>
</return-value>
<parameters>
<instance-parameter name="payload" transfer-ownership="none">
<type name="RTPBasePayload" c:type="GstRTPBasePayload*"/>
</instance-parameter>
<parameter name="pad" transfer-ownership="none">
<type name="Gst.Pad" c:type="GstPad*"/>
</parameter>
<parameter name="filter" transfer-ownership="none">
<type name="Gst.Caps" c:type="GstCaps*"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="handle_buffer">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbasepayload.h" line="138"/>
<return-value transfer-ownership="none">
<type name="Gst.FlowReturn" c:type="GstFlowReturn"/>
</return-value>
<parameters>
<instance-parameter name="payload" transfer-ownership="none">
<type name="RTPBasePayload" c:type="GstRTPBasePayload*"/>
</instance-parameter>
<parameter name="buffer" transfer-ownership="none">
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="query">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbasepayload.h" line="143"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="payload" transfer-ownership="none">
<type name="RTPBasePayload" c:type="GstRTPBasePayload*"/>
</instance-parameter>
<parameter name="pad" transfer-ownership="none">
<type name="Gst.Pad" c:type="GstPad*"/>
</parameter>
<parameter name="query" transfer-ownership="none">
<type name="Gst.Query" c:type="GstQuery*"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="set_caps">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbasepayload.h" line="134"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="payload" transfer-ownership="none">
<type name="RTPBasePayload" c:type="GstRTPBasePayload*"/>
</instance-parameter>
<parameter name="caps" transfer-ownership="none">
<type name="Gst.Caps" c:type="GstCaps*"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="sink_event">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbasepayload.h" line="141"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="payload" transfer-ownership="none">
<type name="RTPBasePayload" c:type="GstRTPBasePayload*"/>
</instance-parameter>
<parameter name="event" transfer-ownership="none">
<type name="Gst.Event" c:type="GstEvent*"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="src_event">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbasepayload.h" line="142"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="payload" transfer-ownership="none">
<type name="RTPBasePayload" c:type="GstRTPBasePayload*"/>
</instance-parameter>
<parameter name="event" transfer-ownership="none">
<type name="Gst.Event" c:type="GstEvent*"/>
</parameter>
</parameters>
</virtual-method>
<method name="allocate_output_buffer"
c:identifier="gst_rtp_base_payload_allocate_output_buffer"
version="1.16">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.c"
line="1435">Allocate a new #GstBuffer with enough data to hold an RTP packet with
minimum @csrc_count CSRCs, a payload length of @payload_len and padding of
@pad_len. If @payload has #GstRTPBasePayload:source-info %TRUE additional
CSRCs may be allocated and filled with RTP source information.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbasepayload.h" line="176"/>
<return-value transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.c"
line="1447">A newly allocated buffer that can hold an RTP packet with given
parameters.</doc>
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</return-value>
<parameters>
<instance-parameter name="payload" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.c"
line="1437">a #GstRTPBasePayload</doc>
<type name="RTPBasePayload" c:type="GstRTPBasePayload*"/>
</instance-parameter>
<parameter name="payload_len" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.c"
line="1438">the length of the payload</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="pad_len" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.c"
line="1439">the amount of padding</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
<parameter name="csrc_count" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.c"
line="1440">the minimum number of CSRC entries</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
</parameters>
</method>
<method name="get_source_count"
c:identifier="gst_rtp_base_payload_get_source_count"
version="1.16">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.c"
line="1741">Count the total number of RTP sources found in the meta of @buffer, which
will be automically added by gst_rtp_base_payload_allocate_output_buffer().
If #GstRTPBasePayload:source-info is %FALSE the count will be 0.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbasepayload.h" line="188"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.c"
line="1750">The number of sources.</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="payload" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.c"
line="1743">a #GstRTPBasePayload</doc>
<type name="RTPBasePayload" c:type="GstRTPBasePayload*"/>
</instance-parameter>
<parameter name="buffer" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.c"
line="1744">a #GstBuffer, typically the buffer to payload</doc>
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</parameter>
</parameters>
</method>
<method name="is_filled" c:identifier="gst_rtp_base_payload_is_filled">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.c"
line="1130">Check if the packet with @size and @duration would exceed the configured
maximum size.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbasepayload.h" line="164"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.c"
line="1139">%TRUE if the packet of @size and @duration would exceed the
configured MTU or max_ptime.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="payload" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.c"
line="1132">a #GstRTPBasePayload</doc>
<type name="RTPBasePayload" c:type="GstRTPBasePayload*"/>
</instance-parameter>
<parameter name="size" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.c"
line="1133">the size of the packet</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="duration" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.c"
line="1134">the duration of the packet</doc>
<type name="Gst.ClockTime" c:type="GstClockTime"/>
</parameter>
</parameters>
</method>
<method name="is_source_info_enabled"
c:identifier="gst_rtp_base_payload_is_source_info_enabled"
version="1.16">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.c"
line="1723">Queries whether the payloader will add contributing sources (CSRCs) to the
RTP header from #GstRTPSourceMeta.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbasepayload.h" line="185"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.c"
line="1730">%TRUE if source-info is enabled.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="payload" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.c"
line="1725">a #GstRTPBasePayload</doc>
<type name="RTPBasePayload" c:type="GstRTPBasePayload*"/>
</instance-parameter>
</parameters>
</method>
<method name="push" c:identifier="gst_rtp_base_payload_push">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.c"
line="1402">Push @buffer to the peer element of the payloader. The SSRC, payload type,
seqnum and timestamp of the RTP buffer will be updated first.
This function takes ownership of @buffer.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbasepayload.h" line="168"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.c"
line="1412">a #GstFlowReturn.</doc>
<type name="Gst.FlowReturn" c:type="GstFlowReturn"/>
</return-value>
<parameters>
<instance-parameter name="payload" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.c"
line="1404">a #GstRTPBasePayload</doc>
<type name="RTPBasePayload" c:type="GstRTPBasePayload*"/>
</instance-parameter>
<parameter name="buffer" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.c"
line="1405">a #GstBuffer</doc>
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</parameter>
</parameters>
</method>
<method name="push_list" c:identifier="gst_rtp_base_payload_push_list">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.c"
line="1368">Push @list to the peer element of the payloader. The SSRC, payload type,
seqnum and timestamp of the RTP buffer will be updated first.
This function takes ownership of @list.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbasepayload.h" line="172"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.c"
line="1378">a #GstFlowReturn.</doc>
<type name="Gst.FlowReturn" c:type="GstFlowReturn"/>
</return-value>
<parameters>
<instance-parameter name="payload" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.c"
line="1370">a #GstRTPBasePayload</doc>
<type name="RTPBasePayload" c:type="GstRTPBasePayload*"/>
</instance-parameter>
<parameter name="list" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.c"
line="1371">a #GstBufferList</doc>
<type name="Gst.BufferList" c:type="GstBufferList*"/>
</parameter>
</parameters>
</method>
<method name="set_options"
c:identifier="gst_rtp_base_payload_set_options">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.c"
line="732">Set the rtp options of the payloader. These options will be set in the caps
of the payloader. Subclasses must call this method before calling
gst_rtp_base_payload_push() or gst_rtp_base_payload_set_outcaps().</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbasepayload.h" line="153"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="payload" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.c"
line="734">a #GstRTPBasePayload</doc>
<type name="RTPBasePayload" c:type="GstRTPBasePayload*"/>
</instance-parameter>
<parameter name="media" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.c"
line="735">the media type (typically "audio" or "video")</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="dynamic" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.c"
line="736">if the payload type is dynamic</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="encoding_name" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.c"
line="737">the encoding name</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="clock_rate" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.c"
line="738">the clock rate of the media</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
</parameters>
</method>
<method name="set_outcaps"
c:identifier="gst_rtp_base_payload_set_outcaps"
introspectable="0">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.c"
line="784">Configure the output caps with the optional parameters.
Variable arguments should be in the form field name, field type
(as a GType), value(s). The last variable argument should be NULL.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbasepayload.h" line="160"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.c"
line="795">%TRUE if the caps could be set.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="payload" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.c"
line="786">a #GstRTPBasePayload</doc>
<type name="RTPBasePayload" c:type="GstRTPBasePayload*"/>
</instance-parameter>
<parameter name="fieldname" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.c"
line="787">the first field name or %NULL</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="..." transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.c"
line="788">field values</doc>
<varargs/>
</parameter>
</parameters>
</method>
<method name="set_source_info_enabled"
c:identifier="gst_rtp_base_payload_set_source_info_enabled"
version="1.16">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.c"
line="1706">Enable or disable adding contributing sources to RTP packets from
#GstRTPSourceMeta.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbasepayload.h" line="181"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="payload" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.c"
line="1708">a #GstRTPBasePayload</doc>
<type name="RTPBasePayload" c:type="GstRTPBasePayload*"/>
</instance-parameter>
<parameter name="enable" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.c"
line="1709">whether to add contributing sources to RTP packets</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<property name="max-ptime" writable="1" transfer-ownership="none">
<type name="gint64" c:type="gint64"/>
</property>
<property name="min-ptime" writable="1" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.c"
line="236">Minimum duration of the packet data in ns (can't go above MTU)</doc>
<type name="gint64" c:type="gint64"/>
</property>
<property name="mtu" writable="1" transfer-ownership="none">
<type name="guint" c:type="guint"/>
</property>
<property name="onvif-no-rate-control"
version="1.16"
writable="1"
transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.c"
line="325">Make the payloader timestamp packets according to the Rate-Control=no
behaviour specified in the ONVIF replay spec.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="perfect-rtptime" writable="1" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.c"
line="256">Try to use the offset fields to generate perfect RTP timestamps. When this
option is disabled, RTP timestamps are generated from GST_BUFFER_PTS of
each payloaded buffer. The PTSes of buffers may not necessarily increment
with the amount of data in each input buffer, consider e.g. the case where
the buffer arrives from a network which means that the PTS is unrelated to
the amount of data. Because the RTP timestamps are generated from
GST_BUFFER_PTS this can result in RTP timestamps that also don't increment
with the amount of data in the payloaded packet. To circumvent this it is
possible to set the perfect rtptime option enabled. When this option is
enabled the payloader will increment the RTP timestamps based on
GST_BUFFER_OFFSET which relates to the amount of data in each packet
rather than the GST_BUFFER_PTS of each buffer and therefore the RTP
timestamps will more closely correlate with the amount of data in each
buffer. Currently GstRTPBasePayload is limited to handling perfect RTP
timestamps for audio streams.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="pt" writable="1" transfer-ownership="none">
<type name="guint" c:type="guint"/>
</property>
<property name="ptime-multiple" writable="1" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.c"
line="279">Force buffers to be multiples of this duration in ns (0 disables)</doc>
<type name="gint64" c:type="gint64"/>
</property>
<property name="seqnum" transfer-ownership="none">
<type name="guint" c:type="guint"/>
</property>
<property name="seqnum-offset" writable="1" transfer-ownership="none">
<type name="gint" c:type="gint"/>
</property>
<property name="source-info"
version="1.16"
writable="1"
transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.c"
line="312">Enable writing the CSRC field in allocated RTP header based on RTP source
information found in the input buffer's #GstRTPSourceMeta.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="ssrc" writable="1" transfer-ownership="none">
<type name="guint" c:type="guint"/>
</property>
<property name="stats" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.c"
line="290">Various payloader statistics retrieved atomically (and are therefore
synchroized with each other), these can be used e.g. to generate an
RTP-Info header. This property return a GstStructure named
application/x-rtp-payload-stats containing the following fields relating to
the last processed buffer and current state of the stream being payloaded:
* `clock-rate` :#G_TYPE_UINT, clock-rate of the stream
* `running-time` :#G_TYPE_UINT64, running time
* `seqnum` :#G_TYPE_UINT, sequence number, same as #GstRTPBasePayload:seqnum
* `timestamp` :#G_TYPE_UINT, RTP timestamp, same as #GstRTPBasePayload:timestamp
* `ssrc` :#G_TYPE_UINT, The SSRC in use
* `pt` :#G_TYPE_UINT, The Payload type in use, same as #GstRTPBasePayload:pt
* `seqnum-offset` :#G_TYPE_UINT, The current offset added to the seqnum
* `timestamp-offset` :#G_TYPE_UINT, The current offset added to the timestamp</doc>
<type name="Gst.Structure"/>
</property>
<property name="timestamp" transfer-ownership="none">
<type name="guint" c:type="guint"/>
</property>
<property name="timestamp-offset" writable="1" transfer-ownership="none">
<type name="guint" c:type="guint"/>
</property>
<field name="element">
<type name="Gst.Element" c:type="GstElement"/>
</field>
<field name="sinkpad" readable="0" private="1">
<type name="Gst.Pad" c:type="GstPad*"/>
</field>
<field name="srcpad" readable="0" private="1">
<type name="Gst.Pad" c:type="GstPad*"/>
</field>
<field name="ts_base" readable="0" private="1">
<type name="guint32" c:type="guint32"/>
</field>
<field name="seqnum_base" readable="0" private="1">
<type name="guint16" c:type="guint16"/>
</field>
<field name="media" readable="0" private="1">
<type name="utf8" c:type="gchar*"/>
</field>
<field name="encoding_name" readable="0" private="1">
<type name="utf8" c:type="gchar*"/>
</field>
<field name="dynamic" readable="0" private="1">
<type name="gboolean" c:type="gboolean"/>
</field>
<field name="clock_rate" readable="0" private="1">
<type name="guint32" c:type="guint32"/>
</field>
<field name="ts_offset" readable="0" private="1">
<type name="gint32" c:type="gint32"/>
</field>
<field name="timestamp" readable="0" private="1">
<type name="guint32" c:type="guint32"/>
</field>
<field name="seqnum_offset" readable="0" private="1">
<type name="gint16" c:type="gint16"/>
</field>
<field name="seqnum" readable="0" private="1">
<type name="guint16" c:type="guint16"/>
</field>
<field name="max_ptime" readable="0" private="1">
<type name="gint64" c:type="gint64"/>
</field>
<field name="pt" readable="0" private="1">
<type name="guint" c:type="guint"/>
</field>
<field name="ssrc" readable="0" private="1">
<type name="guint" c:type="guint"/>
</field>
<field name="current_ssrc" readable="0" private="1">
<type name="guint" c:type="guint"/>
</field>
<field name="mtu" readable="0" private="1">
<type name="guint" c:type="guint"/>
</field>
<field name="segment" readable="0" private="1">
<type name="Gst.Segment" c:type="GstSegment"/>
</field>
<field name="min_ptime" readable="0" private="1">
<type name="guint64" c:type="guint64"/>
</field>
<field name="ptime" readable="0" private="1">
<type name="guint64" c:type="guint64"/>
</field>
<field name="ptime_multiple" readable="0" private="1">
<type name="guint64" c:type="guint64"/>
</field>
<field name="priv" readable="0" private="1">
<type name="RTPBasePayloadPrivate" c:type="GstRTPBasePayloadPrivate*"/>
</field>
<field name="_gst_reserved" readable="0" private="1">
2019-12-15 10:18:09 +00:00
<array zero-terminated="0" fixed-size="4">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
</class>
<record name="RTPBasePayloadClass"
c:type="GstRTPBasePayloadClass"
glib:is-gtype-struct-for="RTPBasePayload">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.h"
line="115">Base class for audio RTP payloader.</doc>
<source-position filename="gstrtpbasepayload.h" line="147"/>
<field name="parent_class">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbasepayload.h"
line="117">the parent class</doc>
<type name="Gst.ElementClass" c:type="GstElementClass"/>
</field>
<field name="get_caps">
<callback name="get_caps">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbasepayload.h" line="132"/>
<return-value transfer-ownership="full">
<type name="Gst.Caps" c:type="GstCaps*"/>
</return-value>
<parameters>
<parameter name="payload" transfer-ownership="none">
<type name="RTPBasePayload" c:type="GstRTPBasePayload*"/>
</parameter>
<parameter name="pad" transfer-ownership="none">
<type name="Gst.Pad" c:type="GstPad*"/>
</parameter>
<parameter name="filter" transfer-ownership="none">
<type name="Gst.Caps" c:type="GstCaps*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="set_caps">
<callback name="set_caps">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbasepayload.h" line="134"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="payload" transfer-ownership="none">
<type name="RTPBasePayload" c:type="GstRTPBasePayload*"/>
</parameter>
<parameter name="caps" transfer-ownership="none">
<type name="Gst.Caps" c:type="GstCaps*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="handle_buffer">
<callback name="handle_buffer">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbasepayload.h" line="138"/>
<return-value transfer-ownership="none">
<type name="Gst.FlowReturn" c:type="GstFlowReturn"/>
</return-value>
<parameters>
<parameter name="payload" transfer-ownership="none">
<type name="RTPBasePayload" c:type="GstRTPBasePayload*"/>
</parameter>
<parameter name="buffer" transfer-ownership="none">
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="sink_event">
<callback name="sink_event">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbasepayload.h" line="141"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="payload" transfer-ownership="none">
<type name="RTPBasePayload" c:type="GstRTPBasePayload*"/>
</parameter>
<parameter name="event" transfer-ownership="none">
<type name="Gst.Event" c:type="GstEvent*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="src_event">
<callback name="src_event">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbasepayload.h" line="142"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="payload" transfer-ownership="none">
<type name="RTPBasePayload" c:type="GstRTPBasePayload*"/>
</parameter>
<parameter name="event" transfer-ownership="none">
<type name="Gst.Event" c:type="GstEvent*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="query">
<callback name="query">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbasepayload.h" line="143"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="payload" transfer-ownership="none">
<type name="RTPBasePayload" c:type="GstRTPBasePayload*"/>
</parameter>
<parameter name="pad" transfer-ownership="none">
<type name="Gst.Pad" c:type="GstPad*"/>
</parameter>
<parameter name="query" transfer-ownership="none">
<type name="Gst.Query" c:type="GstQuery*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="_gst_reserved" readable="0" private="1">
2019-12-15 10:18:09 +00:00
<array zero-terminated="0" fixed-size="4">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
</record>
<record name="RTPBasePayloadPrivate"
c:type="GstRTPBasePayloadPrivate"
disguised="1">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbasepayload.h" line="44"/>
</record>
<record name="RTPBuffer" c:type="GstRTPBuffer">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="21">The GstRTPBuffer helper functions makes it easy to parse and create regular
#GstBuffer objects that contain RTP payloads. These buffers are typically of
'application/x-rtp' #GstCaps.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbuffer.h" line="60"/>
<field name="buffer" writable="1">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.h"
line="44">pointer to RTP buffer</doc>
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</field>
<field name="state" writable="1">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.h"
line="45">internal state</doc>
<type name="guint" c:type="guint"/>
</field>
<field name="data" writable="1">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.h"
line="46">array of data</doc>
<array zero-terminated="0" fixed-size="4">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
<field name="size" writable="1">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.h"
line="47">array of size</doc>
<array zero-terminated="0" fixed-size="4">
<type name="gsize" c:type="gsize"/>
</array>
</field>
<field name="map" writable="1">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.h"
line="48">array of #GstMapInfo</doc>
<array zero-terminated="0" fixed-size="4">
<type name="Gst.MapInfo" c:type="GstMapInfo"/>
</array>
</field>
<method name="add_extension_onebyte_header"
c:identifier="gst_rtp_buffer_add_extension_onebyte_header">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1508">Adds a RFC 5285 header extension with a one byte header to the end of the
RTP header. If there is already a RFC 5285 header extension with a one byte
header, the new extension will be appended.
It will not work if there is already a header extension that does not follow
the mecanism described in RFC 5285 or if there is a header extension with
a two bytes header as described in RFC 5285. In that case, use
gst_rtp_buffer_add_extension_twobytes_header()</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbuffer.h" line="219"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1523">%TRUE if header extension could be added</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="rtp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1510">the RTP packet</doc>
<type name="RTPBuffer" c:type="GstRTPBuffer*"/>
</instance-parameter>
<parameter name="id" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1511">The ID of the header extension (between 1 and 14).</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
<parameter name="data" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1512">location for data</doc>
<array length="2" zero-terminated="0" c:type="gconstpointer">
<type name="guint8"/>
</array>
</parameter>
<parameter name="size" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1513">the size of the data in bytes</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="add_extension_twobytes_header"
c:identifier="gst_rtp_buffer_add_extension_twobytes_header">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1606">Adds a RFC 5285 header extension with a two bytes header to the end of the
RTP header. If there is already a RFC 5285 header extension with a two bytes
header, the new extension will be appended.
It will not work if there is already a header extension that does not follow
the mecanism described in RFC 5285 or if there is a header extension with
a one byte header as described in RFC 5285. In that case, use
gst_rtp_buffer_add_extension_onebyte_header()</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbuffer.h" line="225"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1622">%TRUE if header extension could be added</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="rtp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1608">the RTP packet</doc>
<type name="RTPBuffer" c:type="GstRTPBuffer*"/>
</instance-parameter>
<parameter name="appbits" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1609">Application specific bits</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
<parameter name="id" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1610">The ID of the header extension</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
<parameter name="data" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1611">location for data</doc>
<array length="3" zero-terminated="0" c:type="gconstpointer">
<type name="guint8"/>
</array>
</parameter>
<parameter name="size" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1612">the size of the data in bytes</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="get_csrc" c:identifier="gst_rtp_buffer_get_csrc">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="931">Get the CSRC at index @idx in @buffer.</doc>
<source-position filename="gstrtpbuffer.h" line="148"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="938">the CSRC at index @idx in host order.</doc>
<type name="guint32" c:type="guint32"/>
</return-value>
<parameters>
<instance-parameter name="rtp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="933">the RTP packet</doc>
<type name="RTPBuffer" c:type="GstRTPBuffer*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="934">the index of the CSRC to get</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
</parameters>
</method>
<method name="get_csrc_count"
c:identifier="gst_rtp_buffer_get_csrc_count">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="917">Get the CSRC count of the RTP packet in @buffer.</doc>
<source-position filename="gstrtpbuffer.h" line="145"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="923">the CSRC count of @buffer.</doc>
<type name="guint8" c:type="guint8"/>
</return-value>
<parameters>
<instance-parameter name="rtp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="919">the RTP packet</doc>
<type name="RTPBuffer" c:type="GstRTPBuffer*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_extension" c:identifier="gst_rtp_buffer_get_extension">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="657">Check if the extension bit is set on the RTP packet in @buffer.</doc>
<source-position filename="gstrtpbuffer.h" line="123"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="663">TRUE if @buffer has the extension bit set.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="rtp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="659">the RTP packet</doc>
<type name="RTPBuffer" c:type="GstRTPBuffer*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_extension_bytes"
c:identifier="gst_rtp_buffer_get_extension_bytes"
shadows="get_extension_data"
version="1.2">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="722">Similar to gst_rtp_buffer_get_extension_data, but more suitable for language
bindings usage. @bits will contain the extension 16 bits of custom data and
the extension data (not including the extension header) is placed in a new
#GBytes structure.
If @rtp did not contain an extension, this function will return %NULL, with
@bits unchanged. If there is an extension header but no extension data then
an empty #GBytes will be returned.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbuffer.h" line="133"/>
<return-value transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="736">A new #GBytes if an extension header was present
and %NULL otherwise.</doc>
<type name="GLib.Bytes" c:type="GBytes*"/>
</return-value>
<parameters>
<instance-parameter name="rtp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="724">the RTP packet</doc>
<type name="RTPBuffer" c:type="GstRTPBuffer*"/>
</instance-parameter>
<parameter name="bits"
direction="out"
caller-allocates="0"
transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="725">location for header bits</doc>
<type name="guint16" c:type="guint16*"/>
</parameter>
</parameters>
</method>
<method name="get_extension_data"
c:identifier="gst_rtp_buffer_get_extension_data"
shadowed-by="get_extension_bytes"
introspectable="0">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="684">Get the extension data. @bits will contain the extension 16 bits of custom
data. @data will point to the data in the extension and @wordlen will contain
the length of @data in 32 bits words.
If @buffer did not contain an extension, this function will return %FALSE
with @bits, @data and @wordlen unchanged.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbuffer.h" line="129"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="698">TRUE if @buffer had the extension bit set.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="rtp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="686">the RTP packet</doc>
<type name="RTPBuffer" c:type="GstRTPBuffer*"/>
</instance-parameter>
<parameter name="bits"
direction="out"
caller-allocates="0"
transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="687">location for result bits</doc>
<type name="guint16" c:type="guint16*"/>
</parameter>
<parameter name="data"
direction="out"
caller-allocates="0"
transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="688">location for data</doc>
<array zero-terminated="0" c:type="gpointer*">
<type name="guint8"/>
</array>
</parameter>
<parameter name="wordlen"
direction="out"
caller-allocates="0"
transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="689">location for length of @data in 32 bits words</doc>
<type name="guint" c:type="guint*"/>
</parameter>
</parameters>
</method>
<method name="get_extension_onebyte_header"
c:identifier="gst_rtp_buffer_get_extension_onebyte_header">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1317">Parses RFC 5285 style header extensions with a one byte header. It will
return the nth extension with the requested id.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbuffer.h" line="204"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1329">TRUE if @buffer had the requested header extension</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="rtp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1319">the RTP packet</doc>
<type name="RTPBuffer" c:type="GstRTPBuffer*"/>
</instance-parameter>
<parameter name="id" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1320">The ID of the header extension to be read (between 1 and 14).</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
<parameter name="nth" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1321">Read the nth extension packet with the requested ID</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="data"
direction="out"
caller-allocates="0"
transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1322">
location for data</doc>
<array length="3" zero-terminated="0" c:type="gpointer*">
<type name="guint8"/>
</array>
</parameter>
<parameter name="size"
direction="out"
caller-allocates="0"
transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1324">the size of the data in bytes</doc>
<type name="guint" c:type="guint*"/>
</parameter>
</parameters>
</method>
<method name="get_extension_twobytes_header"
c:identifier="gst_rtp_buffer_get_extension_twobytes_header">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1395">Parses RFC 5285 style header extensions with a two bytes header. It will
return the nth extension with the requested id.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbuffer.h" line="211"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1408">TRUE if @buffer had the requested header extension</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="rtp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1397">the RTP packet</doc>
<type name="RTPBuffer" c:type="GstRTPBuffer*"/>
</instance-parameter>
<parameter name="appbits"
direction="out"
caller-allocates="0"
transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1398">Application specific bits</doc>
<type name="guint8" c:type="guint8*"/>
</parameter>
<parameter name="id" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1399">The ID of the header extension to be read (between 1 and 14).</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
<parameter name="nth" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1400">Read the nth extension packet with the requested ID</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="data"
direction="out"
caller-allocates="0"
transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1401">
location for data</doc>
<array length="4" zero-terminated="0" c:type="gpointer*">
<type name="guint8"/>
</array>
</parameter>
<parameter name="size"
direction="out"
caller-allocates="0"
transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1403">the size of the data in bytes</doc>
<type name="guint" c:type="guint*"/>
</parameter>
</parameters>
</method>
<method name="get_header_len"
c:identifier="gst_rtp_buffer_get_header_len">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="561">Return the total length of the header in @buffer. This include the length of
the fixed header, the CSRC list and the extension header.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbuffer.h" line="105"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="568">The total length of the header in @buffer.</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="rtp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="563">the RTP packet</doc>
<type name="RTPBuffer" c:type="GstRTPBuffer*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_marker" c:identifier="gst_rtp_buffer_get_marker">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="972">Check if the marker bit is set on the RTP packet in @buffer.</doc>
<source-position filename="gstrtpbuffer.h" line="154"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="978">TRUE if @buffer has the marker bit set.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="rtp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="974">the RTP packet</doc>
<type name="RTPBuffer" c:type="GstRTPBuffer*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_packet_len"
c:identifier="gst_rtp_buffer_get_packet_len">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="547">Return the total length of the packet in @buffer.</doc>
<source-position filename="gstrtpbuffer.h" line="102"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="553">The total length of the packet in @buffer.</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="rtp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="549">the RTP packet</doc>
<type name="RTPBuffer" c:type="GstRTPBuffer*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_padding" c:identifier="gst_rtp_buffer_get_padding">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="605">Check if the padding bit is set on the RTP packet in @buffer.</doc>
<source-position filename="gstrtpbuffer.h" line="114"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="611">TRUE if @buffer has the padding bit set.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="rtp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="607">the RTP packet</doc>
<type name="RTPBuffer" c:type="GstRTPBuffer*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_payload"
c:identifier="gst_rtp_buffer_get_payload"
shadowed-by="get_payload_bytes"
introspectable="0">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1156">Get a pointer to the payload data in @buffer. This pointer is valid as long
as a reference to @buffer is held.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbuffer.h" line="187"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1163">A pointer
to the payload data in @buffer.</doc>
<array zero-terminated="0" c:type="gpointer">
<type name="guint8"/>
</array>
</return-value>
<parameters>
<instance-parameter name="rtp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1158">the RTP packet</doc>
<type name="RTPBuffer" c:type="GstRTPBuffer*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_payload_buffer"
c:identifier="gst_rtp_buffer_get_payload_buffer">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1125">Create a buffer of the payload of the RTP packet in @buffer. This function
will internally create a subbuffer of @buffer so that a memcpy can be
avoided.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbuffer.h" line="178"/>
<return-value transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1133">A new buffer with the data of the payload.</doc>
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</return-value>
<parameters>
<instance-parameter name="rtp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1127">the RTP packet</doc>
<type name="RTPBuffer" c:type="GstRTPBuffer*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_payload_bytes"
c:identifier="gst_rtp_buffer_get_payload_bytes"
shadows="get_payload"
version="1.2">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1178">Similar to gst_rtp_buffer_get_payload, but more suitable for language
bindings usage. The return value is a pointer to a #GBytes structure
containing the payload data in @rtp.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbuffer.h" line="190"/>
<return-value transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1186">A new #GBytes containing the payload data in @rtp.</doc>
<type name="GLib.Bytes" c:type="GBytes*"/>
</return-value>
<parameters>
<instance-parameter name="rtp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1180">the RTP packet</doc>
<type name="RTPBuffer" c:type="GstRTPBuffer*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_payload_len"
c:identifier="gst_rtp_buffer_get_payload_len">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1141">Get the length of the payload of the RTP packet in @buffer.</doc>
<source-position filename="gstrtpbuffer.h" line="184"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1147">The length of the payload in @buffer.</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="rtp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1143">the RTP packet</doc>
<type name="RTPBuffer" c:type="GstRTPBuffer*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_payload_subbuffer"
c:identifier="gst_rtp_buffer_get_payload_subbuffer">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1083">Create a subbuffer of the payload of the RTP packet in @buffer. @offset bytes
are skipped in the payload and the subbuffer will be of size @len.
If @len is -1 the total payload starting from @offset is subbuffered.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbuffer.h" line="181"/>
<return-value transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1093">A new buffer with the specified data of the payload.</doc>
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</return-value>
<parameters>
<instance-parameter name="rtp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1085">the RTP packet</doc>
<type name="RTPBuffer" c:type="GstRTPBuffer*"/>
</instance-parameter>
<parameter name="offset" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1086">the offset in the payload</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="len" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1087">the length in the payload</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="get_payload_type"
c:identifier="gst_rtp_buffer_get_payload_type">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="999">Get the payload type of the RTP packet in @buffer.</doc>
<source-position filename="gstrtpbuffer.h" line="160"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1005">The payload type.</doc>
<type name="guint8" c:type="guint8"/>
</return-value>
<parameters>
<instance-parameter name="rtp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1001">the RTP packet</doc>
<type name="RTPBuffer" c:type="GstRTPBuffer*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_seq" c:identifier="gst_rtp_buffer_get_seq">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1028">Get the sequence number of the RTP packet in @buffer.</doc>
<source-position filename="gstrtpbuffer.h" line="166"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1034">The sequence number in host order.</doc>
<type name="guint16" c:type="guint16"/>
</return-value>
<parameters>
<instance-parameter name="rtp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1030">the RTP packet</doc>
<type name="RTPBuffer" c:type="GstRTPBuffer*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_ssrc" c:identifier="gst_rtp_buffer_get_ssrc">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="890">Get the SSRC of the RTP packet in @buffer.</doc>
<source-position filename="gstrtpbuffer.h" line="139"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="896">the SSRC of @buffer in host order.</doc>
<type name="guint32" c:type="guint32"/>
</return-value>
<parameters>
<instance-parameter name="rtp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="892">the RTP packet</doc>
<type name="RTPBuffer" c:type="GstRTPBuffer*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_timestamp" c:identifier="gst_rtp_buffer_get_timestamp">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1055">Get the timestamp of the RTP packet in @buffer.</doc>
<source-position filename="gstrtpbuffer.h" line="172"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1061">The timestamp in host order.</doc>
<type name="guint32" c:type="guint32"/>
</return-value>
<parameters>
<instance-parameter name="rtp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1057">the RTP packet</doc>
<type name="RTPBuffer" c:type="GstRTPBuffer*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_version" c:identifier="gst_rtp_buffer_get_version">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="576">Get the version number of the RTP packet in @buffer.</doc>
<source-position filename="gstrtpbuffer.h" line="108"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="582">The version of @buffer.</doc>
<type name="guint8" c:type="guint8"/>
</return-value>
<parameters>
<instance-parameter name="rtp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="578">the RTP packet</doc>
<type name="RTPBuffer" c:type="GstRTPBuffer*"/>
</instance-parameter>
</parameters>
</method>
<method name="pad_to" c:identifier="gst_rtp_buffer_pad_to">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="632">Set the amount of padding in the RTP packet in @buffer to
@len. If @len is 0, the padding is removed.
NOTE: This function does not work correctly.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbuffer.h" line="120"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="rtp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="634">the RTP packet</doc>
<type name="RTPBuffer" c:type="GstRTPBuffer*"/>
</instance-parameter>
<parameter name="len" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="635">the new amount of padding</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="set_csrc" c:identifier="gst_rtp_buffer_set_csrc">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="952">Modify the CSRC at index @idx in @buffer to @csrc.</doc>
<source-position filename="gstrtpbuffer.h" line="151"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="rtp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="954">the RTP packet</doc>
<type name="RTPBuffer" c:type="GstRTPBuffer*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="955">the CSRC index to set</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
<parameter name="csrc" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="956">the CSRC in host order to set at @idx</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
</parameters>
</method>
<method name="set_extension" c:identifier="gst_rtp_buffer_set_extension">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="671">Set the extension bit on the RTP packet in @buffer to @extension.</doc>
<source-position filename="gstrtpbuffer.h" line="126"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="rtp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="673">the RTP packet</doc>
<type name="RTPBuffer" c:type="GstRTPBuffer*"/>
</instance-parameter>
<parameter name="extension" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="674">the new extension</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_extension_data"
c:identifier="gst_rtp_buffer_set_extension_data">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="825">Set the extension bit of the rtp buffer and fill in the @bits and @length of the
extension header. If the existing extension data is not large enough, it will
be made larger.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbuffer.h" line="136"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="836">True if done.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="rtp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="827">the RTP packet</doc>
<type name="RTPBuffer" c:type="GstRTPBuffer*"/>
</instance-parameter>
<parameter name="bits" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="828">the bits specific for the extension</doc>
<type name="guint16" c:type="guint16"/>
</parameter>
<parameter name="length" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="829">the length that counts the number of 32-bit words in
the extension, excluding the extension header ( therefore zero is a valid length)</doc>
<type name="guint16" c:type="guint16"/>
</parameter>
</parameters>
</method>
<method name="set_marker" c:identifier="gst_rtp_buffer_set_marker">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="986">Set the marker bit on the RTP packet in @buffer to @marker.</doc>
<source-position filename="gstrtpbuffer.h" line="157"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="rtp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="988">the RTP packet</doc>
<type name="RTPBuffer" c:type="GstRTPBuffer*"/>
</instance-parameter>
<parameter name="marker" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="989">the new marker</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_packet_len"
c:identifier="gst_rtp_buffer_set_packet_len">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="518">Set the total @rtp size to @len. The data in the buffer will be made
larger if needed. Any padding will be removed from the packet.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbuffer.h" line="99"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="rtp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="520">the RTP packet</doc>
<type name="RTPBuffer" c:type="GstRTPBuffer*"/>
</instance-parameter>
<parameter name="len" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="521">the new packet length</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="set_padding" c:identifier="gst_rtp_buffer_set_padding">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="619">Set the padding bit on the RTP packet in @buffer to @padding.</doc>
<source-position filename="gstrtpbuffer.h" line="117"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="rtp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="621">the buffer</doc>
<type name="RTPBuffer" c:type="GstRTPBuffer*"/>
</instance-parameter>
<parameter name="padding" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="622">the new padding</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_payload_type"
c:identifier="gst_rtp_buffer_set_payload_type">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1013">Set the payload type of the RTP packet in @buffer to @payload_type.</doc>
<source-position filename="gstrtpbuffer.h" line="163"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="rtp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1015">the RTP packet</doc>
<type name="RTPBuffer" c:type="GstRTPBuffer*"/>
</instance-parameter>
<parameter name="payload_type" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1016">the new type</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
</parameters>
</method>
<method name="set_seq" c:identifier="gst_rtp_buffer_set_seq">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1042">Set the sequence number of the RTP packet in @buffer to @seq.</doc>
<source-position filename="gstrtpbuffer.h" line="169"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="rtp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1044">the RTP packet</doc>
<type name="RTPBuffer" c:type="GstRTPBuffer*"/>
</instance-parameter>
<parameter name="seq" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1045">the new sequence number</doc>
<type name="guint16" c:type="guint16"/>
</parameter>
</parameters>
</method>
<method name="set_ssrc" c:identifier="gst_rtp_buffer_set_ssrc">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="904">Set the SSRC on the RTP packet in @buffer to @ssrc.</doc>
<source-position filename="gstrtpbuffer.h" line="142"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="rtp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="906">the RTP packet</doc>
<type name="RTPBuffer" c:type="GstRTPBuffer*"/>
</instance-parameter>
<parameter name="ssrc" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="907">the new SSRC</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
</parameters>
</method>
<method name="set_timestamp" c:identifier="gst_rtp_buffer_set_timestamp">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1069">Set the timestamp of the RTP packet in @buffer to @timestamp.</doc>
<source-position filename="gstrtpbuffer.h" line="175"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="rtp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1071">the RTP packet</doc>
<type name="RTPBuffer" c:type="GstRTPBuffer*"/>
</instance-parameter>
<parameter name="timestamp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1072">the new timestamp</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
</parameters>
</method>
<method name="set_version" c:identifier="gst_rtp_buffer_set_version">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="590">Set the version of the RTP packet in @buffer to @version.</doc>
<source-position filename="gstrtpbuffer.h" line="111"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="rtp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="592">the RTP packet</doc>
<type name="RTPBuffer" c:type="GstRTPBuffer*"/>
</instance-parameter>
<parameter name="version" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="593">the new version</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
</parameters>
</method>
<method name="unmap" c:identifier="gst_rtp_buffer_unmap">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="492">Unmap @rtp previously mapped with gst_rtp_buffer_map().</doc>
<source-position filename="gstrtpbuffer.h" line="96"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="rtp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="494">a #GstRTPBuffer</doc>
<type name="RTPBuffer" c:type="GstRTPBuffer*"/>
</instance-parameter>
</parameters>
</method>
<function name="allocate_data"
c:identifier="gst_rtp_buffer_allocate_data">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="85">Allocate enough data in @buffer to hold an RTP packet with @csrc_count CSRCs,
a payload length of @payload_len and padding of @pad_len.
@buffer must be writable and all previous memory in @buffer will be freed.
If @pad_len is &gt;0, the padding bit will be set. All other RTP header fields
will be set to 0/FALSE.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbuffer.h" line="68"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="buffer" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="87">a #GstBuffer</doc>
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</parameter>
<parameter name="payload_len" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="88">the length of the payload</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="pad_len" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="89">the amount of padding</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
<parameter name="csrc_count" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="90">the number of CSRC entries</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
</parameters>
</function>
<function name="calc_header_len"
c:identifier="gst_rtp_buffer_calc_header_len">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="243">Calculate the header length of an RTP packet with @csrc_count CSRC entries.
An RTP packet can have at most 15 CSRC entries.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbuffer.h" line="84"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="250">The length of an RTP header with @csrc_count CSRC entries.</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<parameter name="csrc_count" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="245">the number of CSRC entries</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
</parameters>
</function>
<function name="calc_packet_len"
c:identifier="gst_rtp_buffer_calc_packet_len">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="260">Calculate the total length of an RTP packet with a payload size of @payload_len,
a padding of @pad_len and a @csrc_count CSRC entries.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbuffer.h" line="87"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="269">The total length of an RTP header with given parameters.</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<parameter name="payload_len" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="262">the length of the payload</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="pad_len" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="263">the amount of padding</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
<parameter name="csrc_count" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="264">the number of CSRC entries</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
</parameters>
</function>
<function name="calc_payload_len"
c:identifier="gst_rtp_buffer_calc_payload_len">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="281">Calculate the length of the payload of an RTP packet with size @packet_len,
a padding of @pad_len and a @csrc_count CSRC entries.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbuffer.h" line="90"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="290">The length of the payload of an RTP packet with given parameters.</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<parameter name="packet_len" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="283">the length of the total RTP packet</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="pad_len" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="284">the amount of padding</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
<parameter name="csrc_count" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="285">the number of CSRC entries</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
</parameters>
</function>
<function name="compare_seqnum"
c:identifier="gst_rtp_buffer_compare_seqnum">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1231">Compare two sequence numbers, taking care of wraparounds. This function
returns the difference between @seqnum1 and @seqnum2.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbuffer.h" line="198"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1239">a negative value if @seqnum1 is bigger than @seqnum2, 0 if they
are equal or a positive value if @seqnum1 is smaller than @segnum2.</doc>
<type name="gint" c:type="gint"/>
</return-value>
<parameters>
<parameter name="seqnum1" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1233">a sequence number</doc>
<type name="guint16" c:type="guint16"/>
</parameter>
<parameter name="seqnum2" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1234">a sequence number</doc>
<type name="guint16" c:type="guint16"/>
</parameter>
</parameters>
</function>
<function name="default_clock_rate"
c:identifier="gst_rtp_buffer_default_clock_rate">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1204">Get the default clock-rate for the static payload type @payload_type.</doc>
<source-position filename="gstrtpbuffer.h" line="195"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1210">the default clock rate or -1 if the payload type is not static or
the clock-rate is undefined.</doc>
<type name="guint32" c:type="guint32"/>
</return-value>
<parameters>
<parameter name="payload_type" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1206">the static payload type</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
</parameters>
</function>
<function name="ext_timestamp"
c:identifier="gst_rtp_buffer_ext_timestamp">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1253">Update the @exttimestamp field with the extended timestamp of @timestamp
For the first call of the method, @exttimestamp should point to a location
with a value of -1.
This function is able to handle both forward and backward timestamps taking
into account:
- timestamp wraparound making sure that the returned value is properly increased.
- timestamp unwraparound making sure that the returned value is properly decreased.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbuffer.h" line="201"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1267">The extended timestamp of @timestamp or 0 if the result can't go anywhere backwards.</doc>
<type name="guint64" c:type="guint64"/>
</return-value>
<parameters>
<parameter name="exttimestamp"
direction="inout"
caller-allocates="0"
transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1255">a previous extended timestamp</doc>
<type name="guint64" c:type="guint64*"/>
</parameter>
<parameter name="timestamp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1256">a new timestamp</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
</parameters>
</function>
<function name="map" c:identifier="gst_rtp_buffer_map">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="306">Map the contents of @buffer into @rtp.</doc>
<source-position filename="gstrtpbuffer.h" line="93"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="314">%TRUE if @buffer could be mapped.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="buffer" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="308">a #GstBuffer</doc>
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</parameter>
<parameter name="flags" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="309">#GstMapFlags</doc>
<type name="Gst.MapFlags" c:type="GstMapFlags"/>
</parameter>
<parameter name="rtp"
direction="out"
caller-allocates="1"
transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="310">a #GstRTPBuffer</doc>
<type name="RTPBuffer" c:type="GstRTPBuffer*"/>
</parameter>
</parameters>
</function>
<function name="new_allocate" c:identifier="gst_rtp_buffer_new_allocate">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="190">Allocate a new #GstBuffer with enough data to hold an RTP packet with
@csrc_count CSRCs, a payload length of @payload_len and padding of @pad_len.
All other RTP header fields will be set to 0/FALSE.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbuffer.h" line="78"/>
<return-value transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="200">A newly allocated buffer that can hold an RTP packet with given
parameters.</doc>
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</return-value>
<parameters>
<parameter name="payload_len" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="192">the length of the payload</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="pad_len" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="193">the amount of padding</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
<parameter name="csrc_count" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="194">the number of CSRC entries</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
</parameters>
</function>
<function name="new_allocate_len"
c:identifier="gst_rtp_buffer_new_allocate_len">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="217">Create a new #GstBuffer that can hold an RTP packet that is exactly
@packet_len long. The length of the payload depends on @pad_len and
@csrc_count and can be calculated with gst_rtp_buffer_calc_payload_len().
All RTP header fields will be set to 0/FALSE.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbuffer.h" line="81"/>
<return-value transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="228">A newly allocated buffer that can hold an RTP packet of @packet_len.</doc>
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</return-value>
<parameters>
<parameter name="packet_len" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="219">the total length of the packet</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="pad_len" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="220">the amount of padding</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
<parameter name="csrc_count" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="221">the number of CSRC entries</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
</parameters>
</function>
<function name="new_copy_data"
c:identifier="gst_rtp_buffer_new_copy_data">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="172">Create a new buffer and set the data to a copy of @len
bytes of @data and the size to @len. The data will be freed when the buffer
is freed.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbuffer.h" line="75"/>
<return-value transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="182">A newly allocated buffer with a copy of @data and of size @len.</doc>
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</return-value>
<parameters>
<parameter name="data" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="174">data for the new
buffer</doc>
<array length="1" zero-terminated="0" c:type="gconstpointer">
<type name="guint8"/>
</array>
</parameter>
<parameter name="len" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="176">the length of data</doc>
<type name="gsize" c:type="gsize"/>
</parameter>
</parameters>
</function>
<function name="new_take_data"
c:identifier="gst_rtp_buffer_new_take_data">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="151">Create a new buffer and set the data and size of the buffer to @data and @len
respectively. @data will be freed when the buffer is unreffed, so this
function transfers ownership of @data to the new buffer.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbuffer.h" line="72"/>
<return-value transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="161">A newly allocated buffer with @data and of size @len.</doc>
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</return-value>
<parameters>
<parameter name="data" transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="153">
data for the new buffer</doc>
<array length="1" zero-terminated="0" c:type="gpointer">
<type name="guint8"/>
</array>
</parameter>
<parameter name="len" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="155">the length of data</doc>
<type name="gsize" c:type="gsize"/>
</parameter>
</parameters>
</function>
</record>
<bitfield name="RTPBufferFlags"
version="1.10"
glib:type-name="GstRTPBufferFlags"
glib:get-type="gst_rtp_buffer_flags_get_type"
c:type="GstRTPBufferFlags">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.h"
line="231">Additional RTP buffer flags. These flags can potentially be used on any
buffers carrying RTP packets.
Note that these are only valid for #GstCaps of type: application/x-rtp (x-rtcp).
They can conflict with other extended buffer flags.</doc>
<member name="retransmission"
value="1048576"
c:identifier="GST_RTP_BUFFER_FLAG_RETRANSMISSION"
glib:nick="retransmission">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.h"
line="233">The #GstBuffer was once wrapped
in a retransmitted packet as specified by RFC 4588.</doc>
</member>
<member name="redundant"
value="2097152"
c:identifier="GST_RTP_BUFFER_FLAG_REDUNDANT"
glib:nick="redundant">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.h"
line="235">The packet represents redundant RTP packet.
The flag is used in gstrtpstorage to be able to hold the packetback
and use it only for recovery from packet loss.
Since: 1.14</doc>
</member>
<member name="last"
value="268435456"
c:identifier="GST_RTP_BUFFER_FLAG_LAST"
glib:nick="last">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.h"
line="239">Offset to define more flags.</doc>
</member>
</bitfield>
<bitfield name="RTPBufferMapFlags"
version="1.6.1"
glib:type-name="GstRTPBufferMapFlags"
glib:get-type="gst_rtp_buffer_map_flags_get_type"
c:type="GstRTPBufferMapFlags">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.h"
line="255">Additional mapping flags for gst_rtp_buffer_map().</doc>
<member name="skip_padding"
value="65536"
c:identifier="GST_RTP_BUFFER_MAP_FLAG_SKIP_PADDING"
glib:nick="skip-padding">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.h"
line="257">Skip mapping and validation of RTP
padding and RTP pad count when present. Useful for buffers where
the padding may be encrypted.</doc>
</member>
<member name="last"
value="16777216"
c:identifier="GST_RTP_BUFFER_MAP_FLAG_LAST"
glib:nick="last">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.h"
line="260">Offset to define more flags</doc>
</member>
</bitfield>
<enumeration name="RTPPayload"
glib:type-name="GstRTPPayload"
glib:get-type="gst_rtp_payload_get_type"
c:type="GstRTPPayload">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.h"
line="31">Standard predefined fixed payload types.
The official list is at:
http://www.iana.org/assignments/rtp-parameters
Audio:
reserved: 19
unassigned: 20-23,
Video:
unassigned: 24, 27, 29, 30, 35-71, 77-95
Reserved for RTCP conflict avoidance: 72-76</doc>
<member name="pcmu"
value="0"
c:identifier="GST_RTP_PAYLOAD_PCMU"
glib:nick="pcmu">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.h"
line="33">ITU-T G.711. mu-law audio (RFC 3551)</doc>
</member>
<member name="1016"
value="1"
c:identifier="GST_RTP_PAYLOAD_1016"
glib:nick="1016">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.h"
line="34">RFC 3551 says reserved</doc>
</member>
<member name="g721"
value="2"
c:identifier="GST_RTP_PAYLOAD_G721"
glib:nick="g721">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.h"
line="35">RFC 3551 says reserved</doc>
</member>
<member name="gsm"
value="3"
c:identifier="GST_RTP_PAYLOAD_GSM"
glib:nick="gsm">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.h"
line="36">GSM audio</doc>
</member>
<member name="g723"
value="4"
c:identifier="GST_RTP_PAYLOAD_G723"
glib:nick="g723">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.h"
line="37">ITU G.723.1 audio</doc>
</member>
<member name="dvi4_8000"
value="5"
c:identifier="GST_RTP_PAYLOAD_DVI4_8000"
glib:nick="dvi4-8000">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.h"
line="38">IMA ADPCM wave type (RFC 3551)</doc>
</member>
<member name="dvi4_16000"
value="6"
c:identifier="GST_RTP_PAYLOAD_DVI4_16000"
glib:nick="dvi4-16000">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.h"
line="39">IMA ADPCM wave type (RFC 3551)</doc>
</member>
<member name="lpc"
value="7"
c:identifier="GST_RTP_PAYLOAD_LPC"
glib:nick="lpc">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.h"
line="40">experimental linear predictive encoding</doc>
</member>
<member name="pcma"
value="8"
c:identifier="GST_RTP_PAYLOAD_PCMA"
glib:nick="pcma">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.h"
line="41">ITU-T G.711 A-law audio (RFC 3551)</doc>
</member>
<member name="g722"
value="9"
c:identifier="GST_RTP_PAYLOAD_G722"
glib:nick="g722">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.h"
line="42">ITU-T G.722 (RFC 3551)</doc>
</member>
<member name="l16_stereo"
value="10"
c:identifier="GST_RTP_PAYLOAD_L16_STEREO"
glib:nick="l16-stereo">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.h"
line="43">stereo PCM</doc>
</member>
<member name="l16_mono"
value="11"
c:identifier="GST_RTP_PAYLOAD_L16_MONO"
glib:nick="l16-mono">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.h"
line="44">mono PCM</doc>
</member>
<member name="qcelp"
value="12"
c:identifier="GST_RTP_PAYLOAD_QCELP"
glib:nick="qcelp">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.h"
line="45">EIA &amp; TIA standard IS-733</doc>
</member>
<member name="cn"
value="13"
c:identifier="GST_RTP_PAYLOAD_CN"
glib:nick="cn">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.h"
line="46">Comfort Noise (RFC 3389)</doc>
</member>
<member name="mpa"
value="14"
c:identifier="GST_RTP_PAYLOAD_MPA"
glib:nick="mpa">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.h"
line="47">Audio MPEG 1-3.</doc>
</member>
<member name="g728"
value="15"
c:identifier="GST_RTP_PAYLOAD_G728"
glib:nick="g728">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.h"
line="48">ITU-T G.728 Speech coder (RFC 3551)</doc>
</member>
<member name="dvi4_11025"
value="16"
c:identifier="GST_RTP_PAYLOAD_DVI4_11025"
glib:nick="dvi4-11025">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.h"
line="49">IMA ADPCM wave type (RFC 3551)</doc>
</member>
<member name="dvi4_22050"
value="17"
c:identifier="GST_RTP_PAYLOAD_DVI4_22050"
glib:nick="dvi4-22050">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.h"
line="50">IMA ADPCM wave type (RFC 3551)</doc>
</member>
<member name="g729"
value="18"
c:identifier="GST_RTP_PAYLOAD_G729"
glib:nick="g729">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.h"
line="51">ITU-T G.729 Speech coder (RFC 3551)</doc>
</member>
<member name="cellb"
value="25"
c:identifier="GST_RTP_PAYLOAD_CELLB"
glib:nick="cellb">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.h"
line="52">See RFC 2029</doc>
</member>
<member name="jpeg"
value="26"
c:identifier="GST_RTP_PAYLOAD_JPEG"
glib:nick="jpeg">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.h"
line="53">ISO Standards 10918-1 and 10918-2 (RFC 2435)</doc>
</member>
<member name="nv"
value="28"
c:identifier="GST_RTP_PAYLOAD_NV"
glib:nick="nv">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.h"
line="54">nv encoding by Ron Frederick</doc>
</member>
<member name="h261"
value="31"
c:identifier="GST_RTP_PAYLOAD_H261"
glib:nick="h261">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.h"
line="55">ITU-T Recommendation H.261 (RFC 2032)</doc>
</member>
<member name="mpv"
value="32"
c:identifier="GST_RTP_PAYLOAD_MPV"
glib:nick="mpv">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.h"
line="56">Video MPEG 1 &amp; 2 (RFC 2250)</doc>
</member>
<member name="mp2t"
value="33"
c:identifier="GST_RTP_PAYLOAD_MP2T"
glib:nick="mp2t">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.h"
line="57">MPEG-2 transport stream (RFC 2250)</doc>
</member>
<member name="h263"
value="34"
c:identifier="GST_RTP_PAYLOAD_H263"
glib:nick="h263">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.h"
line="58">Video H263 (RFC 2190)</doc>
</member>
</enumeration>
<record name="RTPPayloadInfo" c:type="GstRTPPayloadInfo">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.h"
line="164">Structure holding default payload type information.</doc>
<source-position filename="gstrtppayloads.h" line="188"/>
<field name="payload_type" writable="1">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.h"
line="166">payload type, -1 means dynamic</doc>
<type name="guint8" c:type="guint8"/>
</field>
<field name="media" writable="1">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.h"
line="167">the media type(s), usually "audio", "video", "application", "text",
"message".</doc>
<type name="utf8" c:type="const gchar*"/>
</field>
<field name="encoding_name" writable="1">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.h"
line="169">the encoding name of @pt</doc>
<type name="utf8" c:type="const gchar*"/>
</field>
<field name="clock_rate" writable="1">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.h"
line="170">default clock rate, 0 = unknown/variable</doc>
<type name="guint" c:type="guint"/>
</field>
<field name="encoding_parameters" writable="1">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.h"
line="171">encoding parameters. For audio this is the number of
channels. NULL = not applicable.</doc>
<type name="utf8" c:type="const gchar*"/>
</field>
<field name="bitrate" writable="1">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.h"
line="173">the bitrate of the media. 0 = unknown/variable.</doc>
<type name="guint" c:type="guint"/>
</field>
<field name="_gst_reserved" readable="0" private="1">
2019-12-15 10:18:09 +00:00
<array zero-terminated="0" fixed-size="4">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
<function name="for_name" c:identifier="gst_rtp_payload_info_for_name">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.c"
line="202">Get the #GstRTPPayloadInfo for @media and @encoding_name. This function is
mostly used to get the default clock-rate and bandwidth for dynamic payload
types specified with @media and @encoding name.
The search for @encoding_name will be performed in a case insensitve way.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtppayloads.h" line="194"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.c"
line="213">a #GstRTPPayloadInfo or NULL when no info could be found.</doc>
<type name="RTPPayloadInfo" c:type="const GstRTPPayloadInfo*"/>
</return-value>
<parameters>
<parameter name="media" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.c"
line="204">the media to find</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="encoding_name" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.c"
line="205">the encoding name to find</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
<function name="for_pt" c:identifier="gst_rtp_payload_info_for_pt">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.c"
line="177">Get the #GstRTPPayloadInfo for @payload_type. This function is
mostly used to get the default clock-rate and bandwidth for static payload
types specified with @payload_type.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtppayloads.h" line="191"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.c"
line="185">a #GstRTPPayloadInfo or NULL when no info could be found.</doc>
<type name="RTPPayloadInfo" c:type="const GstRTPPayloadInfo*"/>
</return-value>
<parameters>
<parameter name="payload_type" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.c"
line="179">the payload_type to find</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
</parameters>
</function>
</record>
<enumeration name="RTPProfile"
version="1.6"
glib:type-name="GstRTPProfile"
glib:get-type="gst_rtp_profile_get_type"
c:type="GstRTPProfile">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpdefs.h"
line="38">The transfer profile to use.</doc>
<member name="unknown"
value="0"
c:identifier="GST_RTP_PROFILE_UNKNOWN"
glib:nick="unknown">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpdefs.h"
line="40">invalid profile</doc>
</member>
<member name="avp"
value="1"
c:identifier="GST_RTP_PROFILE_AVP"
glib:nick="avp">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpdefs.h"
line="41">the Audio/Visual profile (RFC 3551)</doc>
</member>
<member name="savp"
value="2"
c:identifier="GST_RTP_PROFILE_SAVP"
glib:nick="savp">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpdefs.h"
line="42">the secure Audio/Visual profile (RFC 3711)</doc>
</member>
<member name="avpf"
value="3"
c:identifier="GST_RTP_PROFILE_AVPF"
glib:nick="avpf">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpdefs.h"
line="43">the Audio/Visual profile with feedback (RFC 4585)</doc>
</member>
<member name="savpf"
value="4"
c:identifier="GST_RTP_PROFILE_SAVPF"
glib:nick="savpf">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpdefs.h"
line="44">the secure Audio/Visual profile with feedback (RFC 5124)</doc>
</member>
</enumeration>
<record name="RTPSourceMeta" c:type="GstRTPSourceMeta" version="1.16">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpmeta.h"
line="34">Meta describing the source(s) of the buffer.</doc>
<source-position filename="gstrtpmeta.h" line="54"/>
<field name="meta" writable="1">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpmeta.h"
line="36">parent #GstMeta</doc>
<type name="Gst.Meta" c:type="GstMeta"/>
</field>
<field name="ssrc" writable="1">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpmeta.h"
line="37">the SSRC</doc>
<type name="guint32" c:type="guint32"/>
</field>
<field name="ssrc_valid" writable="1">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpmeta.h"
line="38">whether @ssrc is set and valid</doc>
<type name="gboolean" c:type="gboolean"/>
</field>
<field name="csrc" writable="1">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpmeta.h"
line="39">pointer to the CSRCs</doc>
<array zero-terminated="0" fixed-size="15">
<type name="guint32" c:type="guint32"/>
</array>
</field>
<field name="csrc_count" writable="1">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpmeta.h"
line="40">number of elements in @csrc</doc>
<type name="guint" c:type="guint"/>
</field>
<method name="append_csrc"
c:identifier="gst_rtp_source_meta_append_csrc"
version="1.16">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpmeta.c"
line="161">Appends @csrc to the list of contributing sources in @meta.</doc>
<source-position filename="gstrtpmeta.h" line="72"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtpmeta.c"
line="169">%TRUE if all elements in @csrc was added, %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="meta" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpmeta.c"
line="163">a #GstRTPSourceMeta</doc>
<type name="RTPSourceMeta" c:type="GstRTPSourceMeta*"/>
</instance-parameter>
<parameter name="csrc" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpmeta.c"
line="164">the csrcs to append</doc>
<type name="guint32" c:type="const guint32*"/>
</parameter>
<parameter name="csrc_count" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpmeta.c"
line="165">number of elements in @csrc</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="get_source_count"
c:identifier="gst_rtp_source_meta_get_source_count"
version="1.16">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpmeta.c"
line="117">Count the total number of RTP sources found in @meta, both SSRC and CSRC.</doc>
<source-position filename="gstrtpmeta.h" line="66"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtpmeta.c"
line="123">The number of RTP sources</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="meta" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpmeta.c"
line="119">a #GstRTPSourceMeta</doc>
<type name="RTPSourceMeta" c:type="const GstRTPSourceMeta*"/>
</instance-parameter>
</parameters>
</method>
<method name="set_ssrc"
c:identifier="gst_rtp_source_meta_set_ssrc"
version="1.16">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpmeta.c"
line="137">Sets @ssrc in @meta. If @ssrc is %NULL the ssrc of @meta will be unset.</doc>
<source-position filename="gstrtpmeta.h" line="69"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstrtpmeta.c"
line="144">%TRUE on success, %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="meta" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpmeta.c"
line="139">a #GstRTPSourceMeta</doc>
<type name="RTPSourceMeta" c:type="GstRTPSourceMeta*"/>
</instance-parameter>
<parameter name="ssrc"
transfer-ownership="none"
nullable="1"
allow-none="1">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpmeta.c"
line="140">pointer to the SSRC</doc>
<type name="guint32" c:type="guint32*"/>
</parameter>
</parameters>
</method>
<function name="get_info" c:identifier="gst_rtp_source_meta_get_info">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpmeta.h" line="75"/>
<return-value transfer-ownership="none">
<type name="Gst.MetaInfo" c:type="const GstMetaInfo*"/>
</return-value>
</function>
</record>
2019-12-15 10:18:09 +00:00
<function-macro name="RTP_BASE_AUDIO_PAYLOAD"
c:identifier="GST_RTP_BASE_AUDIO_PAYLOAD"
introspectable="0">
<source-position filename="gstrtpbaseaudiopayload.h" line="35"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="RTP_BASE_AUDIO_PAYLOAD_CAST"
c:identifier="GST_RTP_BASE_AUDIO_PAYLOAD_CAST"
introspectable="0">
<source-position filename="gstrtpbaseaudiopayload.h" line="45"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="RTP_BASE_AUDIO_PAYLOAD_CLASS"
c:identifier="GST_RTP_BASE_AUDIO_PAYLOAD_CLASS"
introspectable="0">
<source-position filename="gstrtpbaseaudiopayload.h" line="38"/>
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="RTP_BASE_DEPAYLOAD"
c:identifier="GST_RTP_BASE_DEPAYLOAD"
introspectable="0">
<source-position filename="gstrtpbasedepayload.h" line="29"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="RTP_BASE_DEPAYLOAD_CAST"
c:identifier="GST_RTP_BASE_DEPAYLOAD_CAST"
introspectable="0">
<source-position filename="gstrtpbasedepayload.h" line="39"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="RTP_BASE_DEPAYLOAD_CLASS"
c:identifier="GST_RTP_BASE_DEPAYLOAD_CLASS"
introspectable="0">
<source-position filename="gstrtpbasedepayload.h" line="31"/>
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="RTP_BASE_DEPAYLOAD_GET_CLASS"
c:identifier="GST_RTP_BASE_DEPAYLOAD_GET_CLASS"
introspectable="0">
<source-position filename="gstrtpbasedepayload.h" line="33"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="RTP_BASE_DEPAYLOAD_SINKPAD"
c:identifier="GST_RTP_BASE_DEPAYLOAD_SINKPAD"
introspectable="0">
<source-position filename="gstrtpbasedepayload.h" line="41"/>
<parameters>
<parameter name="depayload">
</parameter>
</parameters>
</function-macro>
<function-macro name="RTP_BASE_DEPAYLOAD_SRCPAD"
c:identifier="GST_RTP_BASE_DEPAYLOAD_SRCPAD"
introspectable="0">
<source-position filename="gstrtpbasedepayload.h" line="42"/>
<parameters>
<parameter name="depayload">
</parameter>
</parameters>
</function-macro>
<function-macro name="RTP_BASE_PAYLOAD"
c:identifier="GST_RTP_BASE_PAYLOAD"
introspectable="0">
<source-position filename="gstrtpbasepayload.h" line="29"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="RTP_BASE_PAYLOAD_CAST"
c:identifier="GST_RTP_BASE_PAYLOAD_CAST"
introspectable="0">
<source-position filename="gstrtpbasepayload.h" line="39"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="RTP_BASE_PAYLOAD_CLASS"
c:identifier="GST_RTP_BASE_PAYLOAD_CLASS"
introspectable="0">
<source-position filename="gstrtpbasepayload.h" line="31"/>
<parameters>
<parameter name="klass">
</parameter>
</parameters>
</function-macro>
<function-macro name="RTP_BASE_PAYLOAD_GET_CLASS"
c:identifier="GST_RTP_BASE_PAYLOAD_GET_CLASS"
introspectable="0">
<source-position filename="gstrtpbasepayload.h" line="33"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="RTP_BASE_PAYLOAD_MTU"
c:identifier="GST_RTP_BASE_PAYLOAD_MTU"
introspectable="0">
<doc xml:space="preserve"
filename="gstrtpbasepayload.h"
line="69">Get access to the configured MTU of @payload.</doc>
<source-position filename="gstrtpbasepayload.h" line="74"/>
<parameters>
<parameter name="payload">
<doc xml:space="preserve"
filename="gstrtpbasepayload.h"
line="71">a #GstRTPBasePayload</doc>
</parameter>
</parameters>
</function-macro>
<function-macro name="RTP_BASE_PAYLOAD_PT"
c:identifier="GST_RTP_BASE_PAYLOAD_PT"
introspectable="0">
<doc xml:space="preserve"
filename="gstrtpbasepayload.h"
line="62">Get access to the configured payload type of @payload.</doc>
<source-position filename="gstrtpbasepayload.h" line="67"/>
<parameters>
<parameter name="payload">
<doc xml:space="preserve"
filename="gstrtpbasepayload.h"
line="64">a #GstRTPBasePayload</doc>
</parameter>
</parameters>
</function-macro>
<function-macro name="RTP_BASE_PAYLOAD_SINKPAD"
c:identifier="GST_RTP_BASE_PAYLOAD_SINKPAD"
introspectable="0">
<doc xml:space="preserve"
filename="gstrtpbasepayload.h"
line="47">Get access to the sinkpad of @payload.</doc>
<source-position filename="gstrtpbasepayload.h" line="52"/>
<parameters>
<parameter name="payload">
<doc xml:space="preserve"
filename="gstrtpbasepayload.h"
line="49">a #GstRTPBasePayload</doc>
</parameter>
</parameters>
</function-macro>
<function-macro name="RTP_BASE_PAYLOAD_SRCPAD"
c:identifier="GST_RTP_BASE_PAYLOAD_SRCPAD"
introspectable="0">
<doc xml:space="preserve"
filename="gstrtpbasepayload.h"
line="54">Get access to the srcpad of @payload.</doc>
<source-position filename="gstrtpbasepayload.h" line="59"/>
<parameters>
<parameter name="payload">
<doc xml:space="preserve"
filename="gstrtpbasepayload.h"
line="56">a #GstRTPBasePayload</doc>
</parameter>
</parameters>
</function-macro>
<constant name="RTP_HDREXT_BASE"
value="urn:ietf:params:rtp-hdrext:"
c:type="GST_RTP_HDREXT_BASE">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtphdrext.h" line="30"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="RTP_HDREXT_NTP_56"
value="ntp-56"
c:type="GST_RTP_HDREXT_NTP_56">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtphdrext.h" line="43"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="RTP_HDREXT_NTP_56_SIZE"
value="7"
c:type="GST_RTP_HDREXT_NTP_56_SIZE">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtphdrext.h" line="45"/>
<type name="gint" c:type="gint"/>
</constant>
<constant name="RTP_HDREXT_NTP_64"
value="ntp-64"
c:type="GST_RTP_HDREXT_NTP_64">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtphdrext.h" line="33"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="RTP_HDREXT_NTP_64_SIZE"
value="8"
c:type="GST_RTP_HDREXT_NTP_64_SIZE">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtphdrext.h" line="35"/>
<type name="gint" c:type="gint"/>
</constant>
<constant name="RTP_PAYLOAD_1016_STRING"
value="1"
c:type="GST_RTP_PAYLOAD_1016_STRING">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtppayloads.h" line="124"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="RTP_PAYLOAD_CELLB_STRING"
value="25"
c:type="GST_RTP_PAYLOAD_CELLB_STRING">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtppayloads.h" line="143"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="RTP_PAYLOAD_CN_STRING"
value="13"
c:type="GST_RTP_PAYLOAD_CN_STRING">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtppayloads.h" line="136"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="RTP_PAYLOAD_DVI4_11025_STRING"
value="16"
c:type="GST_RTP_PAYLOAD_DVI4_11025_STRING">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtppayloads.h" line="139"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="RTP_PAYLOAD_DVI4_16000_STRING"
value="6"
c:type="GST_RTP_PAYLOAD_DVI4_16000_STRING">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtppayloads.h" line="129"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="RTP_PAYLOAD_DVI4_22050_STRING"
value="17"
c:type="GST_RTP_PAYLOAD_DVI4_22050_STRING">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtppayloads.h" line="140"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="RTP_PAYLOAD_DVI4_8000_STRING"
value="5"
c:type="GST_RTP_PAYLOAD_DVI4_8000_STRING">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtppayloads.h" line="128"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="RTP_PAYLOAD_DYNAMIC_STRING"
value="[96, 127]"
c:type="GST_RTP_PAYLOAD_DYNAMIC_STRING">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtppayloads.h" line="152"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="RTP_PAYLOAD_G721_STRING"
value="2"
c:type="GST_RTP_PAYLOAD_G721_STRING">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtppayloads.h" line="125"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="RTP_PAYLOAD_G722_STRING"
value="9"
c:type="GST_RTP_PAYLOAD_G722_STRING">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtppayloads.h" line="132"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="RTP_PAYLOAD_G723_53"
value="17"
c:type="GST_RTP_PAYLOAD_G723_53">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtppayloads.h" line="111"/>
<type name="gint" c:type="gint"/>
</constant>
<constant name="RTP_PAYLOAD_G723_53_STRING"
value="17"
c:type="GST_RTP_PAYLOAD_G723_53_STRING">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtppayloads.h" line="116"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="RTP_PAYLOAD_G723_63"
value="16"
c:type="GST_RTP_PAYLOAD_G723_63">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtppayloads.h" line="110"/>
<type name="gint" c:type="gint"/>
</constant>
<constant name="RTP_PAYLOAD_G723_63_STRING"
value="16"
c:type="GST_RTP_PAYLOAD_G723_63_STRING">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtppayloads.h" line="115"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="RTP_PAYLOAD_G723_STRING"
value="4"
c:type="GST_RTP_PAYLOAD_G723_STRING">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtppayloads.h" line="127"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="RTP_PAYLOAD_G728_STRING"
value="15"
c:type="GST_RTP_PAYLOAD_G728_STRING">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtppayloads.h" line="138"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="RTP_PAYLOAD_G729_STRING"
value="18"
c:type="GST_RTP_PAYLOAD_G729_STRING">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtppayloads.h" line="141"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="RTP_PAYLOAD_GSM_STRING"
value="3"
c:type="GST_RTP_PAYLOAD_GSM_STRING">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtppayloads.h" line="126"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="RTP_PAYLOAD_H261_STRING"
value="31"
c:type="GST_RTP_PAYLOAD_H261_STRING">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtppayloads.h" line="147"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="RTP_PAYLOAD_H263_STRING"
value="34"
c:type="GST_RTP_PAYLOAD_H263_STRING">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtppayloads.h" line="150"/>
<type name="utf8" c:type="gchar*"/>
</constant>
2019-12-15 10:18:09 +00:00
<function-macro name="RTP_PAYLOAD_IS_DYNAMIC"
c:identifier="GST_RTP_PAYLOAD_IS_DYNAMIC"
introspectable="0">
<doc xml:space="preserve"
filename="gstrtppayloads.h"
line="154">Check if @pt is a dynamic payload type.</doc>
<source-position filename="gstrtppayloads.h" line="160"/>
<parameters>
<parameter name="pt">
<doc xml:space="preserve"
filename="gstrtppayloads.h"
line="156">a payload type</doc>
</parameter>
</parameters>
</function-macro>
<constant name="RTP_PAYLOAD_JPEG_STRING"
value="26"
c:type="GST_RTP_PAYLOAD_JPEG_STRING">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtppayloads.h" line="144"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="RTP_PAYLOAD_L16_MONO_STRING"
value="11"
c:type="GST_RTP_PAYLOAD_L16_MONO_STRING">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtppayloads.h" line="134"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="RTP_PAYLOAD_L16_STEREO_STRING"
value="10"
c:type="GST_RTP_PAYLOAD_L16_STEREO_STRING">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtppayloads.h" line="133"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="RTP_PAYLOAD_LPC_STRING"
value="7"
c:type="GST_RTP_PAYLOAD_LPC_STRING">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtppayloads.h" line="130"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="RTP_PAYLOAD_MP2T_STRING"
value="33"
c:type="GST_RTP_PAYLOAD_MP2T_STRING">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtppayloads.h" line="149"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="RTP_PAYLOAD_MPA_STRING"
value="14"
c:type="GST_RTP_PAYLOAD_MPA_STRING">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtppayloads.h" line="137"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="RTP_PAYLOAD_MPV_STRING"
value="32"
c:type="GST_RTP_PAYLOAD_MPV_STRING">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtppayloads.h" line="148"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="RTP_PAYLOAD_NV_STRING"
value="28"
c:type="GST_RTP_PAYLOAD_NV_STRING">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtppayloads.h" line="145"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="RTP_PAYLOAD_PCMA_STRING"
value="8"
c:type="GST_RTP_PAYLOAD_PCMA_STRING">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtppayloads.h" line="131"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="RTP_PAYLOAD_PCMU_STRING"
value="0"
c:type="GST_RTP_PAYLOAD_PCMU_STRING">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtppayloads.h" line="123"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="RTP_PAYLOAD_QCELP_STRING"
value="12"
c:type="GST_RTP_PAYLOAD_QCELP_STRING">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtppayloads.h" line="135"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="RTP_PAYLOAD_TS41" value="19" c:type="GST_RTP_PAYLOAD_TS41">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtppayloads.h" line="113"/>
<type name="gint" c:type="gint"/>
</constant>
<constant name="RTP_PAYLOAD_TS41_STRING"
value="19"
c:type="GST_RTP_PAYLOAD_TS41_STRING">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtppayloads.h" line="118"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="RTP_PAYLOAD_TS48" value="18" c:type="GST_RTP_PAYLOAD_TS48">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtppayloads.h" line="112"/>
<type name="gint" c:type="gint"/>
</constant>
<constant name="RTP_PAYLOAD_TS48_STRING"
value="18"
c:type="GST_RTP_PAYLOAD_TS48_STRING">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtppayloads.h" line="117"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="RTP_SOURCE_META_MAX_CSRC_COUNT"
value="15"
c:type="GST_RTP_SOURCE_META_MAX_CSRC_COUNT">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpmeta.h" line="32"/>
<type name="gint" c:type="gint"/>
</constant>
<constant name="RTP_VERSION" value="2" c:type="GST_RTP_VERSION">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.h"
line="32">The supported RTP version 2.</doc>
<source-position filename="gstrtpbuffer.h" line="37"/>
<type name="gint" c:type="gint"/>
</constant>
<function name="buffer_add_rtp_source_meta"
c:identifier="gst_buffer_add_rtp_source_meta"
version="1.16">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpmeta.c"
line="34">Attaches RTP source information to @buffer.</doc>
<source-position filename="gstrtpmeta.h" line="60"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpmeta.c"
line="43">the #GstRTPSourceMeta on @buffer.</doc>
<type name="RTPSourceMeta" c:type="GstRTPSourceMeta*"/>
</return-value>
<parameters>
<parameter name="buffer" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpmeta.c"
line="36">a #GstBuffer</doc>
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</parameter>
<parameter name="ssrc"
transfer-ownership="none"
nullable="1"
allow-none="1">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpmeta.c"
line="37">pointer to the SSRC</doc>
<type name="guint32" c:type="const guint32*"/>
</parameter>
<parameter name="csrc"
transfer-ownership="none"
nullable="1"
allow-none="1">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpmeta.c"
line="38">pointer to the CSRCs</doc>
<type name="guint32" c:type="const guint32*"/>
</parameter>
<parameter name="csrc_count" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpmeta.c"
line="39">number of elements in @csrc</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</function>
<function name="buffer_get_rtp_source_meta"
c:identifier="gst_buffer_get_rtp_source_meta"
version="1.16">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpmeta.c"
line="78">Find the #GstRTPSourceMeta on @buffer.</doc>
<source-position filename="gstrtpmeta.h" line="63"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpmeta.c"
line="84">the #GstRTPSourceMeta or %NULL when there
is no such metadata on @buffer.</doc>
<type name="RTPSourceMeta" c:type="GstRTPSourceMeta*"/>
</return-value>
<parameters>
<parameter name="buffer" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpmeta.c"
line="80">a #GstBuffer</doc>
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</parameter>
</parameters>
</function>
<function name="rtcp_buffer_map"
c:identifier="gst_rtcp_buffer_map"
moved-to="RTCPBuffer.map">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="297">Open @buffer for reading or writing, depending on @flags. The resulting RTCP
buffer state is stored in @rtcp.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="280"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="buffer" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="299">a buffer with an RTCP packet</doc>
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</parameter>
<parameter name="flags" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="300">flags for the mapping</doc>
<type name="Gst.MapFlags" c:type="GstMapFlags"/>
</parameter>
<parameter name="rtcp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="301">resulting #GstRTCPBuffer</doc>
<type name="RTCPBuffer" c:type="GstRTCPBuffer*"/>
</parameter>
</parameters>
</function>
<function name="rtcp_buffer_new"
c:identifier="gst_rtcp_buffer_new"
moved-to="RTCPBuffer.new">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="273">Create a new buffer for constructing RTCP packets. The packet will have a
maximum size of @mtu.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="277"/>
<return-value transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="280">A newly allocated buffer.</doc>
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</return-value>
<parameters>
<parameter name="mtu" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="275">the maximum mtu size.</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</function>
<function name="rtcp_buffer_new_copy_data"
c:identifier="gst_rtcp_buffer_new_copy_data"
moved-to="RTCPBuffer.new_copy_data">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="73">Create a new buffer and set the data to a copy of @len
bytes of @data and the size to @len. The data will be freed when the buffer
is freed.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="261"/>
<return-value transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="82">A newly allocated buffer with a copy of @data and of size @len.</doc>
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</return-value>
<parameters>
<parameter name="data" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="75">data for the new buffer</doc>
<array length="1" zero-terminated="0" c:type="gconstpointer">
<type name="guint8"/>
</array>
</parameter>
<parameter name="len" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="76">the length of data</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</function>
<function name="rtcp_buffer_new_take_data"
c:identifier="gst_rtcp_buffer_new_take_data"
moved-to="RTCPBuffer.new_take_data">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="49">Create a new buffer and set the data and size of the buffer to @data and @len
respectively. @data will be freed when the buffer is unreffed, so this
function transfers ownership of @data to the new buffer.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="258"/>
<return-value transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="58">A newly allocated buffer with @data and of size @len.</doc>
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</return-value>
<parameters>
<parameter name="data" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="51">data for the new buffer</doc>
<array length="1" zero-terminated="0" c:type="gpointer">
<type name="guint8"/>
</array>
</parameter>
<parameter name="len" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="52">the length of data</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</function>
<function name="rtcp_buffer_validate"
c:identifier="gst_rtcp_buffer_validate"
moved-to="RTCPBuffer.validate">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="249">Check if the data pointed to by @buffer is a valid RTCP packet using
gst_rtcp_buffer_validate_data().</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="267"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="256">TRUE if @buffer is a valid RTCP packet.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="buffer" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="251">the buffer to validate</doc>
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</parameter>
</parameters>
</function>
<function name="rtcp_buffer_validate_data"
c:identifier="gst_rtcp_buffer_validate_data"
moved-to="RTCPBuffer.validate_data">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="204">Check if the @data and @size point to the data of a valid compound,
non-reduced size RTCP packet.
Use this function to validate a packet before using the other functions in
this module.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="264"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="214">TRUE if the data points to a valid RTCP packet.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="data" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="206">the data to validate</doc>
<array length="1" zero-terminated="0" c:type="guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
<parameter name="len" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="207">the length of @data to validate</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</function>
<function name="rtcp_buffer_validate_data_reduced"
c:identifier="gst_rtcp_buffer_validate_data_reduced"
moved-to="RTCPBuffer.validate_data_reduced"
version="1.6">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="180">Check if the @data and @size point to the data of a valid RTCP packet.
Use this function to validate a packet before using the other functions in
this module.
This function is updated to support reduced size rtcp packets according to
RFC 5506 and will validate full compound RTCP packets as well as reduced
size RTCP packets.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="270"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="193">TRUE if the data points to a valid RTCP packet.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="data" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="182">the data to validate</doc>
<array length="1" zero-terminated="0" c:type="guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
<parameter name="len" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="183">the length of @data to validate</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</function>
<function name="rtcp_buffer_validate_reduced"
c:identifier="gst_rtcp_buffer_validate_reduced"
moved-to="RTCPBuffer.validate_reduced"
version="1.6">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="223">Check if the data pointed to by @buffer is a valid RTCP packet using
gst_rtcp_buffer_validate_reduced().</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="273"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="230">TRUE if @buffer is a valid RTCP packet.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="buffer" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="225">the buffer to validate</doc>
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</parameter>
</parameters>
</function>
<function name="rtcp_ntp_to_unix" c:identifier="gst_rtcp_ntp_to_unix">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2103">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.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="499"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2112">the UNIX time for @ntptime in nanoseconds.</doc>
<type name="guint64" c:type="guint64"/>
</return-value>
<parameters>
<parameter name="ntptime" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2105">an NTP timestamp</doc>
<type name="guint64" c:type="guint64"/>
</parameter>
</parameters>
</function>
<function name="rtcp_sdes_name_to_type"
c:identifier="gst_rtcp_sdes_name_to_type">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2205">Convert @name into a @GstRTCPSDESType. @name is typically a key in a
#GstStructure containing SDES items.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="508"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2212">the #GstRTCPSDESType for @name or #GST_RTCP_SDES_PRIV when @name
is a private sdes item.</doc>
<type name="RTCPSDESType" c:type="GstRTCPSDESType"/>
</return-value>
<parameters>
<parameter name="name" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2207">a SDES name</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
<function name="rtcp_sdes_type_to_name"
c:identifier="gst_rtcp_sdes_type_to_name">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2159">Converts @type to the string equivalent. The string is typically used as a
key in a #GstStructure containing SDES items.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="505"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2166">the string equivalent of @type</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<parameter name="type" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2161">a #GstRTCPSDESType</doc>
<type name="RTCPSDESType" c:type="GstRTCPSDESType"/>
</parameter>
</parameters>
</function>
<function name="rtcp_unix_to_ntp" c:identifier="gst_rtcp_unix_to_ntp">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2130">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.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtcpbuffer.h" line="502"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2140">the NTP time for @unixtime.</doc>
<type name="guint64" c:type="guint64"/>
</return-value>
<parameters>
<parameter name="unixtime" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtcpbuffer.c"
line="2132">an UNIX timestamp in nanoseconds</doc>
<type name="guint64" c:type="guint64"/>
</parameter>
</parameters>
</function>
<function name="rtp_buffer_allocate_data"
c:identifier="gst_rtp_buffer_allocate_data"
moved-to="RTPBuffer.allocate_data">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="85">Allocate enough data in @buffer to hold an RTP packet with @csrc_count CSRCs,
a payload length of @payload_len and padding of @pad_len.
@buffer must be writable and all previous memory in @buffer will be freed.
If @pad_len is &gt;0, the padding bit will be set. All other RTP header fields
will be set to 0/FALSE.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbuffer.h" line="68"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="buffer" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="87">a #GstBuffer</doc>
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</parameter>
<parameter name="payload_len" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="88">the length of the payload</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="pad_len" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="89">the amount of padding</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
<parameter name="csrc_count" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="90">the number of CSRC entries</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
</parameters>
</function>
<function name="rtp_buffer_calc_header_len"
c:identifier="gst_rtp_buffer_calc_header_len"
moved-to="RTPBuffer.calc_header_len">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="243">Calculate the header length of an RTP packet with @csrc_count CSRC entries.
An RTP packet can have at most 15 CSRC entries.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbuffer.h" line="84"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="250">The length of an RTP header with @csrc_count CSRC entries.</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<parameter name="csrc_count" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="245">the number of CSRC entries</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
</parameters>
</function>
<function name="rtp_buffer_calc_packet_len"
c:identifier="gst_rtp_buffer_calc_packet_len"
moved-to="RTPBuffer.calc_packet_len">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="260">Calculate the total length of an RTP packet with a payload size of @payload_len,
a padding of @pad_len and a @csrc_count CSRC entries.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbuffer.h" line="87"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="269">The total length of an RTP header with given parameters.</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<parameter name="payload_len" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="262">the length of the payload</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="pad_len" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="263">the amount of padding</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
<parameter name="csrc_count" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="264">the number of CSRC entries</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
</parameters>
</function>
<function name="rtp_buffer_calc_payload_len"
c:identifier="gst_rtp_buffer_calc_payload_len"
moved-to="RTPBuffer.calc_payload_len">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="281">Calculate the length of the payload of an RTP packet with size @packet_len,
a padding of @pad_len and a @csrc_count CSRC entries.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbuffer.h" line="90"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="290">The length of the payload of an RTP packet with given parameters.</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<parameter name="packet_len" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="283">the length of the total RTP packet</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="pad_len" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="284">the amount of padding</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
<parameter name="csrc_count" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="285">the number of CSRC entries</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
</parameters>
</function>
<function name="rtp_buffer_compare_seqnum"
c:identifier="gst_rtp_buffer_compare_seqnum"
moved-to="RTPBuffer.compare_seqnum">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1231">Compare two sequence numbers, taking care of wraparounds. This function
returns the difference between @seqnum1 and @seqnum2.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbuffer.h" line="198"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1239">a negative value if @seqnum1 is bigger than @seqnum2, 0 if they
are equal or a positive value if @seqnum1 is smaller than @segnum2.</doc>
<type name="gint" c:type="gint"/>
</return-value>
<parameters>
<parameter name="seqnum1" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1233">a sequence number</doc>
<type name="guint16" c:type="guint16"/>
</parameter>
<parameter name="seqnum2" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1234">a sequence number</doc>
<type name="guint16" c:type="guint16"/>
</parameter>
</parameters>
</function>
<function name="rtp_buffer_default_clock_rate"
c:identifier="gst_rtp_buffer_default_clock_rate"
moved-to="RTPBuffer.default_clock_rate">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1204">Get the default clock-rate for the static payload type @payload_type.</doc>
<source-position filename="gstrtpbuffer.h" line="195"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1210">the default clock rate or -1 if the payload type is not static or
the clock-rate is undefined.</doc>
<type name="guint32" c:type="guint32"/>
</return-value>
<parameters>
<parameter name="payload_type" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1206">the static payload type</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
</parameters>
</function>
<function name="rtp_buffer_ext_timestamp"
c:identifier="gst_rtp_buffer_ext_timestamp"
moved-to="RTPBuffer.ext_timestamp">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1253">Update the @exttimestamp field with the extended timestamp of @timestamp
For the first call of the method, @exttimestamp should point to a location
with a value of -1.
This function is able to handle both forward and backward timestamps taking
into account:
- timestamp wraparound making sure that the returned value is properly increased.
- timestamp unwraparound making sure that the returned value is properly decreased.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbuffer.h" line="201"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1267">The extended timestamp of @timestamp or 0 if the result can't go anywhere backwards.</doc>
<type name="guint64" c:type="guint64"/>
</return-value>
<parameters>
<parameter name="exttimestamp"
direction="inout"
caller-allocates="0"
transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1255">a previous extended timestamp</doc>
<type name="guint64" c:type="guint64*"/>
</parameter>
<parameter name="timestamp" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="1256">a new timestamp</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
</parameters>
</function>
<function name="rtp_buffer_map"
c:identifier="gst_rtp_buffer_map"
moved-to="RTPBuffer.map">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="306">Map the contents of @buffer into @rtp.</doc>
<source-position filename="gstrtpbuffer.h" line="93"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="314">%TRUE if @buffer could be mapped.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="buffer" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="308">a #GstBuffer</doc>
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</parameter>
<parameter name="flags" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="309">#GstMapFlags</doc>
<type name="Gst.MapFlags" c:type="GstMapFlags"/>
</parameter>
<parameter name="rtp"
direction="out"
caller-allocates="1"
transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="310">a #GstRTPBuffer</doc>
<type name="RTPBuffer" c:type="GstRTPBuffer*"/>
</parameter>
</parameters>
</function>
<function name="rtp_buffer_new_allocate"
c:identifier="gst_rtp_buffer_new_allocate"
moved-to="RTPBuffer.new_allocate">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="190">Allocate a new #GstBuffer with enough data to hold an RTP packet with
@csrc_count CSRCs, a payload length of @payload_len and padding of @pad_len.
All other RTP header fields will be set to 0/FALSE.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbuffer.h" line="78"/>
<return-value transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="200">A newly allocated buffer that can hold an RTP packet with given
parameters.</doc>
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</return-value>
<parameters>
<parameter name="payload_len" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="192">the length of the payload</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="pad_len" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="193">the amount of padding</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
<parameter name="csrc_count" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="194">the number of CSRC entries</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
</parameters>
</function>
<function name="rtp_buffer_new_allocate_len"
c:identifier="gst_rtp_buffer_new_allocate_len"
moved-to="RTPBuffer.new_allocate_len">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="217">Create a new #GstBuffer that can hold an RTP packet that is exactly
@packet_len long. The length of the payload depends on @pad_len and
@csrc_count and can be calculated with gst_rtp_buffer_calc_payload_len().
All RTP header fields will be set to 0/FALSE.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbuffer.h" line="81"/>
<return-value transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="228">A newly allocated buffer that can hold an RTP packet of @packet_len.</doc>
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</return-value>
<parameters>
<parameter name="packet_len" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="219">the total length of the packet</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="pad_len" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="220">the amount of padding</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
<parameter name="csrc_count" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="221">the number of CSRC entries</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
</parameters>
</function>
<function name="rtp_buffer_new_copy_data"
c:identifier="gst_rtp_buffer_new_copy_data"
moved-to="RTPBuffer.new_copy_data">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="172">Create a new buffer and set the data to a copy of @len
bytes of @data and the size to @len. The data will be freed when the buffer
is freed.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbuffer.h" line="75"/>
<return-value transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="182">A newly allocated buffer with a copy of @data and of size @len.</doc>
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</return-value>
<parameters>
<parameter name="data" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="174">data for the new
buffer</doc>
<array length="1" zero-terminated="0" c:type="gconstpointer">
<type name="guint8"/>
</array>
</parameter>
<parameter name="len" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="176">the length of data</doc>
<type name="gsize" c:type="gsize"/>
</parameter>
</parameters>
</function>
<function name="rtp_buffer_new_take_data"
c:identifier="gst_rtp_buffer_new_take_data"
moved-to="RTPBuffer.new_take_data">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="151">Create a new buffer and set the data and size of the buffer to @data and @len
respectively. @data will be freed when the buffer is unreffed, so this
function transfers ownership of @data to the new buffer.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpbuffer.h" line="72"/>
<return-value transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="161">A newly allocated buffer with @data and of size @len.</doc>
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</return-value>
<parameters>
<parameter name="data" transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="153">
data for the new buffer</doc>
<array length="1" zero-terminated="0" c:type="gpointer">
<type name="guint8"/>
</array>
</parameter>
<parameter name="len" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtpbuffer.c"
line="155">the length of data</doc>
<type name="gsize" c:type="gsize"/>
</parameter>
</parameters>
</function>
<function name="rtp_hdrext_get_ntp_56"
c:identifier="gst_rtp_hdrext_get_ntp_56">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtphdrext.c"
line="108">Reads the NTP time from the @size NTP-56 extension bytes in @data and store the
result in @ntptime.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtphdrext.h" line="51"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtphdrext.c"
line="117">%TRUE on success.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="data" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtphdrext.c"
line="110">the data to read from</doc>
<array length="1" zero-terminated="0" c:type="gpointer">
<type name="guint8"/>
</array>
</parameter>
<parameter name="size" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtphdrext.c"
line="111">the size of @data</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="ntptime"
direction="out"
caller-allocates="0"
transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtphdrext.c"
line="112">the result NTP time</doc>
<type name="guint64" c:type="guint64*"/>
</parameter>
</parameters>
</function>
<function name="rtp_hdrext_get_ntp_64"
c:identifier="gst_rtp_hdrext_get_ntp_64">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtphdrext.c"
line="58">Reads the NTP time from the @size NTP-64 extension bytes in @data and store the
result in @ntptime.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtphdrext.h" line="41"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtphdrext.c"
line="67">%TRUE on success.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="data" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtphdrext.c"
line="60">the data to read from</doc>
<array length="1" zero-terminated="0" c:type="gpointer">
<type name="guint8"/>
</array>
</parameter>
<parameter name="size" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtphdrext.c"
line="61">the size of @data</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="ntptime"
direction="out"
caller-allocates="0"
transfer-ownership="full">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtphdrext.c"
line="62">the result NTP time</doc>
<type name="guint64" c:type="guint64*"/>
</parameter>
</parameters>
</function>
<function name="rtp_hdrext_set_ntp_56"
c:identifier="gst_rtp_hdrext_set_ntp_56">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtphdrext.c"
line="81">Writes 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.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtphdrext.h" line="48"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtphdrext.c"
line="90">%TRUE on success.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="data"
transfer-ownership="none"
nullable="1"
allow-none="1">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtphdrext.c"
line="83">the data to write to</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
<parameter name="size" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtphdrext.c"
line="84">the size of @data</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="ntptime" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtphdrext.c"
line="85">the NTP time</doc>
<type name="guint64" c:type="guint64"/>
</parameter>
</parameters>
</function>
<function name="rtp_hdrext_set_ntp_64"
c:identifier="gst_rtp_hdrext_set_ntp_64">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtphdrext.c"
line="36">Writes 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.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtphdrext.h" line="38"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtphdrext.c"
line="45">%TRUE on success.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="data"
transfer-ownership="none"
nullable="1"
allow-none="1">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtphdrext.c"
line="38">the data to write to</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
<parameter name="size" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtphdrext.c"
line="39">the size of @data</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="ntptime" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtphdrext.c"
line="40">the NTP time</doc>
<type name="guint64" c:type="guint64"/>
</parameter>
</parameters>
</function>
<function name="rtp_payload_info_for_name"
c:identifier="gst_rtp_payload_info_for_name"
moved-to="RTPPayloadInfo.for_name">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.c"
line="202">Get the #GstRTPPayloadInfo for @media and @encoding_name. This function is
mostly used to get the default clock-rate and bandwidth for dynamic payload
types specified with @media and @encoding name.
The search for @encoding_name will be performed in a case insensitve way.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtppayloads.h" line="194"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.c"
line="213">a #GstRTPPayloadInfo or NULL when no info could be found.</doc>
<type name="RTPPayloadInfo" c:type="const GstRTPPayloadInfo*"/>
</return-value>
<parameters>
<parameter name="media" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.c"
line="204">the media to find</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="encoding_name" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.c"
line="205">the encoding name to find</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
<function name="rtp_payload_info_for_pt"
c:identifier="gst_rtp_payload_info_for_pt"
moved-to="RTPPayloadInfo.for_pt">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.c"
line="177">Get the #GstRTPPayloadInfo for @payload_type. This function is
mostly used to get the default clock-rate and bandwidth for static payload
types specified with @payload_type.</doc>
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtppayloads.h" line="191"/>
<return-value transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.c"
line="185">a #GstRTPPayloadInfo or NULL when no info could be found.</doc>
<type name="RTPPayloadInfo" c:type="const GstRTPPayloadInfo*"/>
</return-value>
<parameters>
<parameter name="payload_type" transfer-ownership="none">
2019-12-15 10:18:09 +00:00
<doc xml:space="preserve"
filename="gstrtppayloads.c"
line="179">the payload_type to find</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
</parameters>
</function>
<function name="rtp_source_meta_api_get_type"
c:identifier="gst_rtp_source_meta_api_get_type">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpmeta.h" line="57"/>
<return-value transfer-ownership="none">
<type name="GType" c:type="GType"/>
</return-value>
</function>
<function name="rtp_source_meta_get_info"
c:identifier="gst_rtp_source_meta_get_info"
moved-to="RTPSourceMeta.get_info">
2019-12-15 10:18:09 +00:00
<source-position filename="gstrtpmeta.h" line="75"/>
<return-value transfer-ownership="none">
<type name="Gst.MetaInfo" c:type="const GstMetaInfo*"/>
</return-value>
</function>
</namespace>
</repository>