gstreamer-rs/gir-files/GstSdp-1.0.gir
2019-12-15 12:18:09 +02:00

6479 lines
275 KiB
XML

<?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"/>
<package name="gstreamer-sdp-1.0"/>
<c:include name="gst/sdp/sdp.h"/>
<namespace name="GstSdp"
version="1.0"
shared-library="libgstsdp-1.0.so.0"
c:identifier-prefixes="Gst"
c:symbol-prefixes="gst">
<enumeration name="MIKEYCacheType" c:type="GstMIKEYCacheType">
<doc xml:space="preserve"
filename="gstmikey.h"
line="282">The different cache types</doc>
<source-position filename="gstmikey.h" line="296"/>
<member name="none" value="0" c:identifier="GST_MIKEY_CACHE_NONE">
<doc xml:space="preserve"
filename="gstmikey.h"
line="284">The envelope key MUST NOT be cached</doc>
</member>
<member name="always" value="1" c:identifier="GST_MIKEY_CACHE_ALWAYS">
<doc xml:space="preserve"
filename="gstmikey.h"
line="285">The envelope key MUST be cached</doc>
</member>
<member name="for_csb" value="2" c:identifier="GST_MIKEY_CACHE_FOR_CSB">
<doc xml:space="preserve"
filename="gstmikey.h"
line="286">The envelope key MUST be cached, but only
to be used for the specific CSB.</doc>
</member>
</enumeration>
<record name="MIKEYDecryptInfo" c:type="GstMIKEYDecryptInfo" disguised="1">
<source-position filename="gstmikey.h" line="36"/>
</record>
<enumeration name="MIKEYEncAlg" c:type="GstMIKEYEncAlg">
<doc xml:space="preserve"
filename="gstmikey.h"
line="217">The encryption algorithm used to encrypt the Encr data field</doc>
<source-position filename="gstmikey.h" line="232"/>
<member name="null" value="0" c:identifier="GST_MIKEY_ENC_NULL">
<doc xml:space="preserve"
filename="gstmikey.h"
line="219">no encryption</doc>
</member>
<member name="aes_cm_128"
value="1"
c:identifier="GST_MIKEY_ENC_AES_CM_128">
<doc xml:space="preserve"
filename="gstmikey.h"
line="220">AES-CM using a 128-bit key</doc>
</member>
<member name="aes_kw_128"
value="2"
c:identifier="GST_MIKEY_ENC_AES_KW_128">
<doc xml:space="preserve"
filename="gstmikey.h"
line="221">AES Key Wrap using a 128-bit key</doc>
</member>
<member name="aes_gcm_128"
value="6"
c:identifier="GST_MIKEY_ENC_AES_GCM_128">
<doc xml:space="preserve"
filename="gstmikey.h"
line="222">AES-GCM using a 128-bit key (Since: 1.16)</doc>
</member>
</enumeration>
<record name="MIKEYEncryptInfo" c:type="GstMIKEYEncryptInfo" disguised="1">
<source-position filename="gstmikey.h" line="35"/>
</record>
<enumeration name="MIKEYKVType" c:type="GstMIKEYKVType">
<doc xml:space="preserve"
filename="gstmikey.h"
line="487">The key validity type</doc>
<source-position filename="gstmikey.h" line="500"/>
<member name="null" value="0" c:identifier="GST_MIKEY_KV_NULL">
<doc xml:space="preserve"
filename="gstmikey.h"
line="489">No specific usage rule</doc>
</member>
<member name="spi" value="1" c:identifier="GST_MIKEY_KV_SPI">
<doc xml:space="preserve"
filename="gstmikey.h"
line="490">The key is associated with the SPI/MKI</doc>
</member>
<member name="interval" value="2" c:identifier="GST_MIKEY_KV_INTERVAL">
<doc xml:space="preserve"
filename="gstmikey.h"
line="491">The key has a start and expiration time</doc>
</member>
</enumeration>
<enumeration name="MIKEYKeyDataType" c:type="GstMIKEYKeyDataType">
<doc xml:space="preserve"
filename="gstmikey.h"
line="474">The type of key.</doc>
<source-position filename="gstmikey.h" line="485"/>
<member name="tgk" value="0" c:identifier="GST_MIKEY_KD_TGK">
<doc xml:space="preserve"
filename="gstmikey.h"
line="476">a TEK Generation Key</doc>
</member>
<member name="tek" value="2" c:identifier="GST_MIKEY_KD_TEK">
<doc xml:space="preserve"
filename="gstmikey.h"
line="477">Traffic-Encrypting Key</doc>
</member>
</enumeration>
<enumeration name="MIKEYMacAlg" c:type="GstMIKEYMacAlg">
<doc xml:space="preserve"
filename="gstmikey.h"
line="234">Specifies the authentication algorithm used</doc>
<source-position filename="gstmikey.h" line="245"/>
<member name="null" value="0" c:identifier="GST_MIKEY_MAC_NULL">
<doc xml:space="preserve"
filename="gstmikey.h"
line="236">no authentication</doc>
</member>
<member name="hmac_sha_1_160"
value="1"
c:identifier="GST_MIKEY_MAC_HMAC_SHA_1_160">
<doc xml:space="preserve"
filename="gstmikey.h"
line="237">HMAC-SHA-1-160</doc>
</member>
</enumeration>
<record name="MIKEYMapSRTP" c:type="GstMIKEYMapSRTP">
<doc xml:space="preserve"
filename="gstmikey.h"
line="132">The Security policy Map item for SRTP</doc>
<source-position filename="gstmikey.h" line="144"/>
<field name="policy" writable="1">
<doc xml:space="preserve"
filename="gstmikey.h"
line="134">The security policy applied for the stream with @ssrc</doc>
<type name="guint8" c:type="guint8"/>
</field>
<field name="ssrc" writable="1">
<doc xml:space="preserve"
filename="gstmikey.h"
line="135">the SSRC that must be used for the stream</doc>
<type name="guint32" c:type="guint32"/>
</field>
<field name="roc" writable="1">
<doc xml:space="preserve"
filename="gstmikey.h"
line="136">current rollover counter</doc>
<type name="guint32" c:type="guint32"/>
</field>
</record>
<enumeration name="MIKEYMapType" c:type="GstMIKEYMapType">
<doc xml:space="preserve"
filename="gstmikey.h"
line="120">Specifies the method of uniquely mapping Crypto Sessions to the security
protocol sessions.</doc>
<source-position filename="gstmikey.h" line="130"/>
<member name="mikey_map_type_srtp"
value="0"
c:identifier="GST_MIKEY_MAP_TYPE_SRTP">
<doc xml:space="preserve" filename="gstmikey.h" line="122">SRTP</doc>
</member>
</enumeration>
<record name="MIKEYMessage"
c:type="GstMIKEYMessage"
glib:type-name="GstMIKEYMessage"
glib:get-type="gst_mikey_message_get_type"
c:symbol-prefix="mikey_message">
<doc xml:space="preserve"
filename="gstmikey.h"
line="548">Structure holding the information of the MIKEY message</doc>
<source-position filename="gstmikey.h" line="575"/>
<field name="mini_object" readable="0" private="1">
<type name="Gst.MiniObject" c:type="GstMiniObject"/>
</field>
<field name="version" writable="1">
<doc xml:space="preserve"
filename="gstmikey.h"
line="550">the version</doc>
<type name="guint8" c:type="guint8"/>
</field>
<field name="type" writable="1">
<doc xml:space="preserve"
filename="gstmikey.h"
line="551">the #GstMIKEYType message type</doc>
<type name="MIKEYType" c:type="GstMIKEYType"/>
</field>
<field name="V" writable="1">
<doc xml:space="preserve"
filename="gstmikey.h"
line="552">verify flag</doc>
<type name="gboolean" c:type="gboolean"/>
</field>
<field name="prf_func" writable="1">
<doc xml:space="preserve"
filename="gstmikey.h"
line="553">a #GstMIKEYPRFFunc</doc>
<type name="MIKEYPRFFunc" c:type="GstMIKEYPRFFunc"/>
</field>
<field name="CSB_id" writable="1">
<doc xml:space="preserve"
filename="gstmikey.h"
line="554">Identifies the Crypto Session Bundle</doc>
<type name="guint32" c:type="guint32"/>
</field>
<field name="map_type" writable="1">
<doc xml:space="preserve"
filename="gstmikey.h"
line="555">a #GstMIKEYMapType</doc>
<type name="MIKEYMapType" c:type="GstMIKEYMapType"/>
</field>
<field name="map_info" writable="1">
<doc xml:space="preserve"
filename="gstmikey.h"
line="556">map info array of type depending on @map_type</doc>
<array name="GLib.Array" c:type="GArray*">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
<field name="payloads" writable="1">
<doc xml:space="preserve"
filename="gstmikey.h"
line="557">the payload array of #GstMIKEYPayload</doc>
<array name="GLib.Array" c:type="GArray*">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
<constructor name="new"
c:identifier="gst_mikey_message_new"
version="1.4">
<doc xml:space="preserve"
filename="gstmikey.c"
line="868">Make a new MIKEY message.</doc>
<source-position filename="gstmikey.h" line="579"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="gstmikey.c"
line="873">a new #GstMIKEYMessage on success</doc>
<type name="MIKEYMessage" c:type="GstMIKEYMessage*"/>
</return-value>
</constructor>
<constructor name="new_from_bytes"
c:identifier="gst_mikey_message_new_from_bytes"
version="1.4"
throws="1">
<doc xml:space="preserve"
filename="gstmikey.c"
line="894">Make a new #GstMIKEYMessage from @bytes.</doc>
<source-position filename="gstmikey.h" line="586"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="gstmikey.c"
line="902">a new #GstMIKEYMessage</doc>
<type name="MIKEYMessage" c:type="GstMIKEYMessage*"/>
</return-value>
<parameters>
<parameter name="bytes" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="896">a #GBytes</doc>
<type name="GLib.Bytes" c:type="GBytes*"/>
</parameter>
<parameter name="info" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="897">a #GstMIKEYDecryptInfo</doc>
<type name="MIKEYDecryptInfo" c:type="GstMIKEYDecryptInfo*"/>
</parameter>
</parameters>
</constructor>
<constructor name="new_from_caps"
c:identifier="gst_mikey_message_new_from_caps"
version="1.8">
<doc xml:space="preserve"
filename="gstmikey.c"
line="2232">Makes mikey message including:
- Security Policy Payload
- Key Data Transport Payload
- Key Data Sub-Payload</doc>
<source-position filename="gstmikey.h" line="594"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="gstmikey.c"
line="2241">a #GstMIKEYMessage,
or %NULL if there is no srtp information in the caps.</doc>
<type name="MIKEYMessage" c:type="GstMIKEYMessage*"/>
</return-value>
<parameters>
<parameter name="caps" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="2234">a #GstCaps, including SRTP parameters (srtp/srtcp cipher, authorization, key data)</doc>
<type name="Gst.Caps" c:type="GstCaps*"/>
</parameter>
</parameters>
</constructor>
<constructor name="new_from_data"
c:identifier="gst_mikey_message_new_from_data"
version="1.4"
throws="1">
<doc xml:space="preserve"
filename="gstmikey.c"
line="2046">Parse @size bytes from @data into a #GstMIKEYMessage. @info contains the
parameters to decrypt and verify the data.</doc>
<source-position filename="gstmikey.h" line="582"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="gstmikey.c"
line="2056">a #GstMIKEYMessage on success or %NULL when parsing failed and
@error will be set.</doc>
<type name="MIKEYMessage" c:type="GstMIKEYMessage*"/>
</return-value>
<parameters>
<parameter name="data" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="2048">bytes to read</doc>
<array length="1" zero-terminated="0" c:type="gconstpointer">
<type name="guint8"/>
</array>
</parameter>
<parameter name="size" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="2049">length of @data</doc>
<type name="gsize" c:type="gsize"/>
</parameter>
<parameter name="info" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="2050">#GstMIKEYDecryptInfo</doc>
<type name="MIKEYDecryptInfo" c:type="GstMIKEYDecryptInfo*"/>
</parameter>
</parameters>
</constructor>
<method name="add_cs_srtp"
c:identifier="gst_mikey_message_add_cs_srtp"
version="1.4">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1073">Add a Crypto policy for SRTP to @msg.</doc>
<source-position filename="gstmikey.h" line="675"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1082">%TRUE on success</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1075">a #GstMIKEYMessage</doc>
<type name="MIKEYMessage" c:type="GstMIKEYMessage*"/>
</instance-parameter>
<parameter name="policy" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1076">The security policy applied for the stream with @ssrc</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
<parameter name="ssrc" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1077">the SSRC that must be used for the stream</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
<parameter name="roc" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1078">current rollover counter</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
</parameters>
</method>
<method name="add_payload"
c:identifier="gst_mikey_message_add_payload"
version="1.4">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1229">Add a new payload to @msg.</doc>
<source-position filename="gstmikey.h" line="698"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1236">%TRUE on success</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1231">a #GstMIKEYMessage</doc>
<type name="MIKEYMessage" c:type="GstMIKEYMessage*"/>
</instance-parameter>
<parameter name="payload" transfer-ownership="full">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1232">a #GstMIKEYPayload</doc>
<type name="MIKEYPayload" c:type="GstMIKEYPayload*"/>
</parameter>
</parameters>
</method>
<method name="add_pke"
c:identifier="gst_mikey_message_add_pke"
version="1.4">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1275">Add a new PKE payload to @msg with the given parameters.</doc>
<source-position filename="gstmikey.h" line="710"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1284">%TRUE on success</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1277">a #GstMIKEYMessage</doc>
<type name="MIKEYMessage" c:type="GstMIKEYMessage*"/>
</instance-parameter>
<parameter name="C" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1278">envelope key cache indicator</doc>
<type name="MIKEYCacheType" c:type="GstMIKEYCacheType"/>
</parameter>
<parameter name="data_len" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1279">the length of @data</doc>
<type name="guint16" c:type="guint16"/>
</parameter>
<parameter name="data" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1280">the encrypted envelope key</doc>
<array length="1" zero-terminated="0" c:type="const guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
</parameters>
</method>
<method name="add_rand"
c:identifier="gst_mikey_message_add_rand"
version="1.4">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1365">Add a new RAND payload to @msg with the given parameters.</doc>
<source-position filename="gstmikey.h" line="732"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1373">%TRUE on success</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1367">a #GstMIKEYMessage</doc>
<type name="MIKEYMessage" c:type="GstMIKEYMessage*"/>
</instance-parameter>
<parameter name="len" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1368">the length of @rand</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
<parameter name="rand" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1369">random data</doc>
<array length="0" zero-terminated="0" c:type="const guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
</parameters>
</method>
<method name="add_rand_len"
c:identifier="gst_mikey_message_add_rand_len"
version="1.4">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1395">Add a new RAND payload to @msg with @len random bytes.</doc>
<source-position filename="gstmikey.h" line="736"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1402">%TRUE on success</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1397">a #GstMIKEYMessage</doc>
<type name="MIKEYMessage" c:type="GstMIKEYMessage*"/>
</instance-parameter>
<parameter name="len" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1398">length</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
</parameters>
</method>
<method name="add_t"
c:identifier="gst_mikey_message_add_t"
version="1.4">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1305">Add a new T payload to @msg with the given parameters.</doc>
<source-position filename="gstmikey.h" line="719"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1313">%TRUE on success</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1307">a #GstMIKEYMessage</doc>
<type name="MIKEYMessage" c:type="GstMIKEYMessage*"/>
</instance-parameter>
<parameter name="type" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1308">specifies the timestamp type used</doc>
<type name="MIKEYTSType" c:type="GstMIKEYTSType"/>
</parameter>
<parameter name="ts_value" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1309">The timestamp value of the specified @type</doc>
<array zero-terminated="0" c:type="const guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
</parameters>
</method>
<method name="add_t_now_ntp_utc"
c:identifier="gst_mikey_message_add_t_now_ntp_utc"
version="1.4">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1334">Add a new T payload to @msg that contains the current time
in NTP-UTC format.</doc>
<source-position filename="gstmikey.h" line="723"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1341">%TRUE on success</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1336">a #GstMIKEYMessage</doc>
<type name="MIKEYMessage" c:type="GstMIKEYMessage*"/>
</instance-parameter>
</parameters>
</method>
<method name="base64_encode"
c:identifier="gst_mikey_message_base64_encode"
version="1.8">
<source-position filename="gstmikey.h" line="600"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="gstmikey.c"
line="2516">a #gchar, base64-encoded data</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="2514">a #GstMIKEYMessage</doc>
<type name="MIKEYMessage" c:type="GstMIKEYMessage*"/>
</instance-parameter>
</parameters>
</method>
<method name="find_payload"
c:identifier="gst_mikey_message_find_payload"
version="1.4">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1144">Find the @nth occurence of the payload with @type in @msg.</doc>
<source-position filename="gstmikey.h" line="687"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1152">the @nth #GstMIKEYPayload of @type.</doc>
<type name="MIKEYPayload" c:type="const GstMIKEYPayload*"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1146">a #GstMIKEYMessage</doc>
<type name="MIKEYMessage" c:type="const GstMIKEYMessage*"/>
</instance-parameter>
<parameter name="type" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1147">a #GstMIKEYPayloadType</doc>
<type name="MIKEYPayloadType" c:type="GstMIKEYPayloadType"/>
</parameter>
<parameter name="nth" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1148">payload to find</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="get_cs_srtp"
c:identifier="gst_mikey_message_get_cs_srtp"
version="1.4">
<doc xml:space="preserve"
filename="gstmikey.c"
line="970">Get the policy information of @msg at @idx.</doc>
<source-position filename="gstmikey.h" line="661"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="977">a #GstMIKEYMapSRTP</doc>
<type name="MIKEYMapSRTP" c:type="const GstMIKEYMapSRTP*"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="972">a #GstMIKEYMessage</doc>
<type name="MIKEYMessage" c:type="const GstMIKEYMessage*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="973">an index</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="get_n_cs"
c:identifier="gst_mikey_message_get_n_cs"
version="1.4">
<doc xml:space="preserve"
filename="gstmikey.c"
line="952">Get the number of crypto sessions in @msg.</doc>
<source-position filename="gstmikey.h" line="656"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="958">the number of crypto sessions</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="954">a #GstMIKEYMessage</doc>
<type name="MIKEYMessage" c:type="const GstMIKEYMessage*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_n_payloads"
c:identifier="gst_mikey_message_get_n_payloads"
version="1.4">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1103">Get the number of payloads in @msg.</doc>
<source-position filename="gstmikey.h" line="681"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1109">the number of payloads in @msg</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1105">a #GstMIKEYMessage</doc>
<type name="MIKEYMessage" c:type="const GstMIKEYMessage*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_payload"
c:identifier="gst_mikey_message_get_payload"
version="1.4">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1121">Get the #GstMIKEYPayload at @idx in @msg</doc>
<source-position filename="gstmikey.h" line="684"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1128">the #GstMIKEYPayload at @idx. The payload
remains valid for as long as it is part of @msg.</doc>
<type name="MIKEYPayload" c:type="const GstMIKEYPayload*"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1123">a #GstMIKEYMessage</doc>
<type name="MIKEYMessage" c:type="const GstMIKEYMessage*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1124">an index</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="insert_cs_srtp"
c:identifier="gst_mikey_message_insert_cs_srtp"
version="1.4">
<doc xml:space="preserve"
filename="gstmikey.c"
line="993">Insert a Crypto Session map for SRTP in @msg at @idx
When @idx is -1, the policy will be appended.</doc>
<source-position filename="gstmikey.h" line="664"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1003">%TRUE on success</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="995">a #GstMIKEYMessage</doc>
<type name="MIKEYMessage" c:type="GstMIKEYMessage*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="996">the index to insert at</doc>
<type name="gint" c:type="gint"/>
</parameter>
<parameter name="map" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="997">the map info</doc>
<type name="MIKEYMapSRTP" c:type="const GstMIKEYMapSRTP*"/>
</parameter>
</parameters>
</method>
<method name="insert_payload"
c:identifier="gst_mikey_message_insert_payload"
version="1.4">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1200">Insert the @payload at index @idx in @msg. If @idx is -1, the payload
will be appended to @msg.</doc>
<source-position filename="gstmikey.h" line="694"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1209">%TRUE on success</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1202">a #GstMIKEYMessage</doc>
<type name="MIKEYMessage" c:type="GstMIKEYMessage*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1203">an index</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="payload" transfer-ownership="full">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1204">a #GstMIKEYPayload</doc>
<type name="MIKEYPayload" c:type="GstMIKEYPayload*"/>
</parameter>
</parameters>
</method>
<method name="remove_cs_srtp"
c:identifier="gst_mikey_message_remove_cs_srtp"
version="1.4">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1050">Remove the SRTP policy at @idx.</doc>
<source-position filename="gstmikey.h" line="672"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1057">%TRUE on success</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1052">a #GstMIKEYMessage</doc>
<type name="MIKEYMessage" c:type="GstMIKEYMessage*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1053">the index to remove</doc>
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
</method>
<method name="remove_payload"
c:identifier="gst_mikey_message_remove_payload"
version="1.4">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1178">Remove the payload in @msg at @idx</doc>
<source-position filename="gstmikey.h" line="691"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1185">%TRUE on success</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1180">a #GstMIKEYMessage</doc>
<type name="MIKEYMessage" c:type="GstMIKEYMessage*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1181">an index</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="replace_cs_srtp"
c:identifier="gst_mikey_message_replace_cs_srtp"
version="1.4">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1024">Replace a Crypto Session map for SRTP in @msg at @idx with @map.</doc>
<source-position filename="gstmikey.h" line="668"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1032">%TRUE on success</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1026">a #GstMIKEYMessage</doc>
<type name="MIKEYMessage" c:type="GstMIKEYMessage*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1027">the index to insert at</doc>
<type name="gint" c:type="gint"/>
</parameter>
<parameter name="map" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1028">the map info</doc>
<type name="MIKEYMapSRTP" c:type="const GstMIKEYMapSRTP*"/>
</parameter>
</parameters>
</method>
<method name="replace_payload"
c:identifier="gst_mikey_message_replace_payload"
version="1.4">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1246">Replace the payload at @idx in @msg with @payload.</doc>
<source-position filename="gstmikey.h" line="702"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1254">%TRUE on success</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1248">a #GstMIKEYMessage</doc>
<type name="MIKEYMessage" c:type="GstMIKEYMessage*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1249">an index</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="payload" transfer-ownership="full">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1250">a #GstMIKEYPayload</doc>
<type name="MIKEYPayload" c:type="GstMIKEYPayload*"/>
</parameter>
</parameters>
</method>
<method name="set_info"
c:identifier="gst_mikey_message_set_info"
version="1.4">
<doc xml:space="preserve"
filename="gstmikey.c"
line="919">Set the information in @msg.</doc>
<source-position filename="gstmikey.h" line="650"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="931">%TRUE on success</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="921">a #GstMIKEYMessage</doc>
<type name="MIKEYMessage" c:type="GstMIKEYMessage*"/>
</instance-parameter>
<parameter name="version" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="922">a version</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
<parameter name="type" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="923">a #GstMIKEYType</doc>
<type name="MIKEYType" c:type="GstMIKEYType"/>
</parameter>
<parameter name="V" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="924">verify flag</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="prf_func" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="925">the #GstMIKEYPRFFunc function to use</doc>
<type name="MIKEYPRFFunc" c:type="GstMIKEYPRFFunc"/>
</parameter>
<parameter name="CSB_id" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="926">the Crypto Session Bundle id</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
<parameter name="map_type" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="927">the #GstMIKEYMapType</doc>
<type name="MIKEYMapType" c:type="GstMIKEYMapType"/>
</parameter>
</parameters>
</method>
<method name="to_bytes"
c:identifier="gst_mikey_message_to_bytes"
version="1.4"
throws="1">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1662">Convert @msg to a #GBytes.</doc>
<source-position filename="gstmikey.h" line="590"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1670">a new #GBytes for @msg.</doc>
<type name="GLib.Bytes" c:type="GBytes*"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1664">a #GstMIKEYMessage</doc>
<type name="MIKEYMessage" c:type="GstMIKEYMessage*"/>
</instance-parameter>
<parameter name="info" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="1665">a #GstMIKEYEncryptInfo</doc>
<type name="MIKEYEncryptInfo" c:type="GstMIKEYEncryptInfo*"/>
</parameter>
</parameters>
</method>
<method name="to_caps"
c:identifier="gst_mikey_message_to_caps"
version="1.8.1">
<source-position filename="gstmikey.h" line="597"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="2372">%TRUE on success</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="2369">a #GstMIKEYMessage</doc>
<type name="MIKEYMessage" c:type="const GstMIKEYMessage*"/>
</instance-parameter>
<parameter name="caps" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="2370">a #GstCaps to be filled with SRTP parameters (srtp/srtcp cipher, authorization, key data)</doc>
<type name="Gst.Caps" c:type="GstCaps*"/>
</parameter>
</parameters>
</method>
</record>
<enumeration name="MIKEYPRFFunc" c:type="GstMIKEYPRFFunc">
<doc xml:space="preserve"
filename="gstmikey.h"
line="109">The PRF function that has been/will be used for key derivation</doc>
<source-position filename="gstmikey.h" line="118"/>
<member name="mikey_prf_mikey_1"
value="0"
c:identifier="GST_MIKEY_PRF_MIKEY_1">
<doc xml:space="preserve"
filename="gstmikey.h"
line="111">MIKEY-1 PRF function</doc>
</member>
</enumeration>
<record name="MIKEYPayload"
c:type="GstMIKEYPayload"
glib:type-name="GstMIKEYPayload"
glib:get-type="gst_mikey_payload_get_type"
c:symbol-prefix="mikey_payload">
<doc xml:space="preserve"
filename="gstmikey.h"
line="152">Hold the common fields for all payloads</doc>
<source-position filename="gstmikey.h" line="166"/>
<field name="mini_object" readable="0" private="1">
<type name="Gst.MiniObject" c:type="GstMiniObject"/>
</field>
<field name="type" writable="1">
<doc xml:space="preserve"
filename="gstmikey.h"
line="154">the payload type</doc>
<type name="MIKEYPayloadType" c:type="GstMIKEYPayloadType"/>
</field>
<field name="len" writable="1">
<doc xml:space="preserve"
filename="gstmikey.h"
line="155">length of the payload</doc>
<type name="guint" c:type="guint"/>
</field>
<constructor name="new"
c:identifier="gst_mikey_payload_new"
version="1.4">
<doc xml:space="preserve"
filename="gstmikey.c"
line="760">Make a new #GstMIKEYPayload with @type.</doc>
<source-position filename="gstmikey.h" line="169"/>
<return-value transfer-ownership="full" nullable="1">
<doc xml:space="preserve"
filename="gstmikey.c"
line="766">a new #GstMIKEYPayload or %NULL on failure.</doc>
<type name="MIKEYPayload" c:type="GstMIKEYPayload*"/>
</return-value>
<parameters>
<parameter name="type" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="762">a #GstMIKEYPayloadType</doc>
<type name="MIKEYPayloadType" c:type="GstMIKEYPayloadType"/>
</parameter>
</parameters>
</constructor>
<method name="kemac_add_sub"
c:identifier="gst_mikey_payload_kemac_add_sub"
version="1.4">
<doc xml:space="preserve"
filename="gstmikey.c"
line="223">Add a new sub payload to @payload.</doc>
<source-position filename="gstmikey.h" line="279"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="230">%TRUE on success.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="payload" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="225">a #GstMIKEYPayload</doc>
<type name="MIKEYPayload" c:type="GstMIKEYPayload*"/>
</instance-parameter>
<parameter name="newpay" transfer-ownership="full">
<doc xml:space="preserve"
filename="gstmikey.c"
line="226">a #GstMIKEYPayload to add</doc>
<type name="MIKEYPayload" c:type="GstMIKEYPayload*"/>
</parameter>
</parameters>
</method>
<method name="kemac_get_n_sub"
c:identifier="gst_mikey_payload_kemac_get_n_sub"
version="1.4">
<doc xml:space="preserve"
filename="gstmikey.c"
line="150">Get the number of sub payloads of @payload. @payload should be of type
%GST_MIKEY_PT_KEMAC.</doc>
<source-position filename="gstmikey.h" line="270"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="157">the number of sub payloads in @payload</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="payload" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="152">a #GstMIKEYPayload</doc>
<type name="MIKEYPayload" c:type="const GstMIKEYPayload*"/>
</instance-parameter>
</parameters>
</method>
<method name="kemac_get_sub"
c:identifier="gst_mikey_payload_kemac_get_sub"
version="1.4">
<doc xml:space="preserve"
filename="gstmikey.c"
line="172">Get the sub payload of @payload at @idx. @payload should be of type
%GST_MIKEY_PT_KEMAC.</doc>
<source-position filename="gstmikey.h" line="273"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="180">the #GstMIKEYPayload at @idx.</doc>
<type name="MIKEYPayload" c:type="const GstMIKEYPayload*"/>
</return-value>
<parameters>
<instance-parameter name="payload" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="174">a #GstMIKEYPayload</doc>
<type name="MIKEYPayload" c:type="const GstMIKEYPayload*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="175">an index</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="kemac_remove_sub"
c:identifier="gst_mikey_payload_kemac_remove_sub"
version="1.4">
<doc xml:space="preserve"
filename="gstmikey.c"
line="198">Remove the sub payload at @idx in @payload.</doc>
<source-position filename="gstmikey.h" line="276"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="205">%TRUE on success.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="payload" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="200">a #GstMIKEYPayload</doc>
<type name="MIKEYPayload" c:type="GstMIKEYPayload*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="201">the index to remove</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="kemac_set"
c:identifier="gst_mikey_payload_kemac_set"
version="1.4">
<doc xml:space="preserve"
filename="gstmikey.c"
line="98">Set the KEMAC parameters. @payload should point to a %GST_MIKEY_PT_KEMAC
payload.</doc>
<source-position filename="gstmikey.h" line="265"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="107">%TRUE on success</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="payload" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="100">a #GstMIKEYPayload</doc>
<type name="MIKEYPayload" c:type="GstMIKEYPayload*"/>
</instance-parameter>
<parameter name="enc_alg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="101">the #GstMIKEYEncAlg</doc>
<type name="MIKEYEncAlg" c:type="GstMIKEYEncAlg"/>
</parameter>
<parameter name="mac_alg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="102">a #GstMIKEYMacAlg</doc>
<type name="MIKEYMacAlg" c:type="GstMIKEYMacAlg"/>
</parameter>
</parameters>
</method>
<method name="key_data_set_interval"
c:identifier="gst_mikey_payload_key_data_set_interval"
version="1.4">
<doc xml:space="preserve"
filename="gstmikey.c"
line="682">Set the key validity period in the %GST_MIKEY_PT_KEY_DATA @payload.</doc>
<source-position filename="gstmikey.h" line="544"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="692">%TRUE on success</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="payload" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="684">a #GstMIKEYPayload</doc>
<type name="MIKEYPayload" c:type="GstMIKEYPayload*"/>
</instance-parameter>
<parameter name="vf_len" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="685">the length of @vf_data</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
<parameter name="vf_data" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="686">the Valid From data</doc>
<array length="1" zero-terminated="0" c:type="const guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
<parameter name="vt_len" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="687">the length of @vt_data</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
<parameter name="vt_data" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="688">the Valid To data</doc>
<array length="2" zero-terminated="0" c:type="const guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
</parameters>
</method>
<method name="key_data_set_key"
c:identifier="gst_mikey_payload_key_data_set_key"
version="1.4">
<doc xml:space="preserve"
filename="gstmikey.c"
line="587">Set @key_len bytes of @key_data of type @key_type as the key for the
%GST_MIKEY_PT_KEY_DATA @payload.</doc>
<source-position filename="gstmikey.h" line="531"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="597">%TRUE on success</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="payload" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="589">a #GstMIKEYPayload</doc>
<type name="MIKEYPayload" c:type="GstMIKEYPayload*"/>
</instance-parameter>
<parameter name="key_type" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="590">a #GstMIKEYKeyDataType</doc>
<type name="MIKEYKeyDataType" c:type="GstMIKEYKeyDataType"/>
</parameter>
<parameter name="key_len" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="591">the length of @key_data</doc>
<type name="guint16" c:type="guint16"/>
</parameter>
<parameter name="key_data" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="592">the key of type @key_type</doc>
<array length="1" zero-terminated="0" c:type="const guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
</parameters>
</method>
<method name="key_data_set_salt"
c:identifier="gst_mikey_payload_key_data_set_salt"
version="1.4">
<doc xml:space="preserve"
filename="gstmikey.c"
line="618">Set the salt key data. If @salt_len is 0 and @salt_data is %NULL, the
salt data will be removed.</doc>
<source-position filename="gstmikey.h" line="536"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="627">%TRUE on success</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="payload" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="620">a #GstMIKEYPayload</doc>
<type name="MIKEYPayload" c:type="GstMIKEYPayload*"/>
</instance-parameter>
<parameter name="salt_len" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="621">the length of @salt_data</doc>
<type name="guint16" c:type="guint16"/>
</parameter>
<parameter name="salt_data"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve"
filename="gstmikey.c"
line="622">the salt</doc>
<array length="0" zero-terminated="0" c:type="const guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
</parameters>
</method>
<method name="key_data_set_spi"
c:identifier="gst_mikey_payload_key_data_set_spi"
version="1.4">
<doc xml:space="preserve"
filename="gstmikey.c"
line="650">Set the SPI/MKI validity in the %GST_MIKEY_PT_KEY_DATA @payload.</doc>
<source-position filename="gstmikey.h" line="540"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="658">%TRUE on success</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="payload" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="652">a #GstMIKEYPayload</doc>
<type name="MIKEYPayload" c:type="GstMIKEYPayload*"/>
</instance-parameter>
<parameter name="spi_len" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="653">the length of @spi_data</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
<parameter name="spi_data" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="654">the SPI/MKI data</doc>
<array length="0" zero-terminated="0" c:type="const guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
</parameters>
</method>
<method name="pke_set"
c:identifier="gst_mikey_payload_pke_set"
version="1.4">
<doc xml:space="preserve"
filename="gstmikey.c"
line="249">Set the PKE values in @payload. @payload must be of type
%GST_MIKEY_PT_PKE.</doc>
<source-position filename="gstmikey.h" line="319"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="259">%TRUE on success</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="payload" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="251">a #GstMIKEYPayload</doc>
<type name="MIKEYPayload" c:type="GstMIKEYPayload*"/>
</instance-parameter>
<parameter name="C" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="252">envelope key cache indicator</doc>
<type name="MIKEYCacheType" c:type="GstMIKEYCacheType"/>
</parameter>
<parameter name="data_len" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="253">the length of @data</doc>
<type name="guint16" c:type="guint16"/>
</parameter>
<parameter name="data" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="254">the encrypted envelope key</doc>
<array length="1" zero-terminated="0" c:type="const guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
</parameters>
</method>
<method name="rand_set"
c:identifier="gst_mikey_payload_rand_set"
version="1.4">
<doc xml:space="preserve"
filename="gstmikey.c"
line="539">Set the random values in a %GST_MIKEY_PT_RAND @payload.</doc>
<source-position filename="gstmikey.h" line="471"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="547">%TRUE on success</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="payload" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="541">a #GstMIKEYPayload</doc>
<type name="MIKEYPayload" c:type="GstMIKEYPayload*"/>
</instance-parameter>
<parameter name="len" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="542">the length of @rand</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
<parameter name="rand" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="543">random values</doc>
<array length="0" zero-terminated="0" c:type="const guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
</parameters>
</method>
<method name="sp_add_param"
c:identifier="gst_mikey_payload_sp_add_param"
version="1.4">
<doc xml:space="preserve"
filename="gstmikey.c"
line="505">Add a new parameter to the %GST_MIKEY_PT_SP @payload with @type, @len
and @val.</doc>
<source-position filename="gstmikey.h" line="452"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="515">%TRUE on success</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="payload" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="507">a #GstMIKEYPayload</doc>
<type name="MIKEYPayload" c:type="GstMIKEYPayload*"/>
</instance-parameter>
<parameter name="type" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="508">a type</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
<parameter name="len" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="509">a length</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
<parameter name="val" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="510">@len bytes of data</doc>
<array length="1" zero-terminated="0" c:type="const guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
</parameters>
</method>
<method name="sp_get_n_params"
c:identifier="gst_mikey_payload_sp_get_n_params"
version="1.4">
<doc xml:space="preserve"
filename="gstmikey.c"
line="430">Get the number of security policy parameters in a %GST_MIKEY_PT_SP
@payload.</doc>
<source-position filename="gstmikey.h" line="442"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="437">the number of parameters in @payload</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="payload" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="432">a #GstMIKEYPayload</doc>
<type name="MIKEYPayload" c:type="const GstMIKEYPayload*"/>
</instance-parameter>
</parameters>
</method>
<method name="sp_get_param"
c:identifier="gst_mikey_payload_sp_get_param"
version="1.4">
<doc xml:space="preserve"
filename="gstmikey.c"
line="453">Get the Security Policy parameter in a %GST_MIKEY_PT_SP @payload
at @idx.</doc>
<source-position filename="gstmikey.h" line="446"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="461">the #GstMIKEYPayloadSPParam at @idx in @payload</doc>
<type name="MIKEYPayloadSPParam"
c:type="const GstMIKEYPayloadSPParam*"/>
</return-value>
<parameters>
<instance-parameter name="payload" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="455">a #GstMIKEYPayload</doc>
<type name="MIKEYPayload" c:type="const GstMIKEYPayload*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="456">an index</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="sp_remove_param"
c:identifier="gst_mikey_payload_sp_remove_param"
version="1.4">
<doc xml:space="preserve"
filename="gstmikey.c"
line="479">Remove the Security Policy parameters from a %GST_MIKEY_PT_SP
@payload at @idx.</doc>
<source-position filename="gstmikey.h" line="449"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="487">%TRUE on success</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="payload" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="481">a #GstMIKEYPayload</doc>
<type name="MIKEYPayload" c:type="GstMIKEYPayload*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="482">an index</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="sp_set"
c:identifier="gst_mikey_payload_sp_set"
version="1.4">
<doc xml:space="preserve"
filename="gstmikey.c"
line="378">Set the Security Policy parameters for @payload.</doc>
<source-position filename="gstmikey.h" line="439"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="386">%TRUE on success</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="payload" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="380">a #GstMIKEYPayload</doc>
<type name="MIKEYPayload" c:type="GstMIKEYPayload*"/>
</instance-parameter>
<parameter name="policy" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="381">the policy number</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="proto" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="382">a #GstMIKEYSecProto</doc>
<type name="MIKEYSecProto" c:type="GstMIKEYSecProto"/>
</parameter>
</parameters>
</method>
<method name="t_set"
c:identifier="gst_mikey_payload_t_set"
version="1.4">
<doc xml:space="preserve"
filename="gstmikey.c"
line="320">Set the timestamp in a %GST_MIKEY_PT_T @payload.</doc>
<source-position filename="gstmikey.h" line="355"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="328">%TRUE on success</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="payload" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="322">a #GstMIKEYPayload</doc>
<type name="MIKEYPayload" c:type="GstMIKEYPayload*"/>
</instance-parameter>
<parameter name="type" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="323">the #GstMIKEYTSType</doc>
<type name="MIKEYTSType" c:type="GstMIKEYTSType"/>
</parameter>
<parameter name="ts_value" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstmikey.c"
line="324">the timestamp value</doc>
<array zero-terminated="0" c:type="const guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
</parameters>
</method>
</record>
<record name="MIKEYPayloadKEMAC" c:type="GstMIKEYPayloadKEMAC">
<doc xml:space="preserve"
filename="gstmikey.h"
line="247">A structure holding the KEMAC payload</doc>
<source-position filename="gstmikey.h" line="262"/>
<field name="pt" writable="1">
<doc xml:space="preserve"
filename="gstmikey.h"
line="249">the common #GstMIKEYPayload</doc>
<type name="MIKEYPayload" c:type="GstMIKEYPayload"/>
</field>
<field name="enc_alg" writable="1">
<doc xml:space="preserve"
filename="gstmikey.h"
line="250">the #GstMIKEYEncAlg</doc>
<type name="MIKEYEncAlg" c:type="GstMIKEYEncAlg"/>
</field>
<field name="mac_alg" writable="1">
<doc xml:space="preserve"
filename="gstmikey.h"
line="251">the #GstMIKEYMacAlg</doc>
<type name="MIKEYMacAlg" c:type="GstMIKEYMacAlg"/>
</field>
<field name="subpayloads" writable="1">
<doc xml:space="preserve"
filename="gstmikey.h"
line="252">the subpayloads</doc>
<array name="GLib.Array" c:type="GArray*">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
</record>
<record name="MIKEYPayloadKeyData" c:type="GstMIKEYPayloadKeyData">
<doc xml:space="preserve"
filename="gstmikey.h"
line="502">The Key data payload contains key material. It should be added as sub
payload to the KEMAC.</doc>
<source-position filename="gstmikey.h" line="528"/>
<field name="pt" writable="1">
<doc xml:space="preserve"
filename="gstmikey.h"
line="504">the payload header</doc>
<type name="MIKEYPayload" c:type="GstMIKEYPayload"/>
</field>
<field name="key_type" writable="1">
<doc xml:space="preserve"
filename="gstmikey.h"
line="505">the #GstMIKEYKeyDataType of @key_data</doc>
<type name="MIKEYKeyDataType" c:type="GstMIKEYKeyDataType"/>
</field>
<field name="key_len" writable="1">
<doc xml:space="preserve"
filename="gstmikey.h"
line="506">length of @key_data</doc>
<type name="guint16" c:type="guint16"/>
</field>
<field name="key_data" writable="1">
<doc xml:space="preserve"
filename="gstmikey.h"
line="507">the key data</doc>
<type name="guint8" c:type="guint8*"/>
</field>
<field name="salt_len" writable="1">
<doc xml:space="preserve"
filename="gstmikey.h"
line="508">the length of @salt_data, can be 0</doc>
<type name="guint16" c:type="guint16"/>
</field>
<field name="salt_data" writable="1">
<doc xml:space="preserve"
filename="gstmikey.h"
line="509">salt data</doc>
<type name="guint8" c:type="guint8*"/>
</field>
<field name="kv_type" writable="1">
<doc xml:space="preserve"
filename="gstmikey.h"
line="510">the Key Validity type</doc>
<type name="MIKEYKVType" c:type="GstMIKEYKVType"/>
</field>
<field name="kv_len" writable="1">
<doc xml:space="preserve"
filename="gstmikey.h"
line="511">length of @kv_data</doc>
<array zero-terminated="0" fixed-size="2">
<type name="guint8" c:type="guint8"/>
</array>
</field>
<field name="kv_data" writable="1">
<doc xml:space="preserve"
filename="gstmikey.h"
line="512">key validity data</doc>
<array zero-terminated="0" c:type="guint8" fixed-size="2">
<type name="guint8" c:type="guint8*"/>
</array>
</field>
</record>
<record name="MIKEYPayloadPKE" c:type="GstMIKEYPayloadPKE">
<doc xml:space="preserve"
filename="gstmikey.h"
line="298">The Envelope data payload contains the encrypted envelope key that is
used in the public-key transport to protect the data in the Key data
transport payload. The encryption algorithm used is implicit from
the certificate/public key used.</doc>
<source-position filename="gstmikey.h" line="316"/>
<field name="pt" writable="1">
<doc xml:space="preserve"
filename="gstmikey.h"
line="300">the common #GstMIKEYPayload</doc>
<type name="MIKEYPayload" c:type="GstMIKEYPayload"/>
</field>
<field name="C" writable="1">
<doc xml:space="preserve"
filename="gstmikey.h"
line="301">envelope key cache indicator</doc>
<type name="MIKEYCacheType" c:type="GstMIKEYCacheType"/>
</field>
<field name="data_len" writable="1">
<doc xml:space="preserve"
filename="gstmikey.h"
line="302">length of @data</doc>
<type name="guint16" c:type="guint16"/>
</field>
<field name="data" writable="1">
<doc xml:space="preserve"
filename="gstmikey.h"
line="303">the encrypted envelope key</doc>
<type name="guint8" c:type="guint8*"/>
</field>
</record>
<record name="MIKEYPayloadRAND" c:type="GstMIKEYPayloadRAND">
<doc xml:space="preserve"
filename="gstmikey.h"
line="455">The RAND payload consists of a (pseudo-)random bit-string</doc>
<source-position filename="gstmikey.h" line="468"/>
<field name="pt" writable="1">
<doc xml:space="preserve"
filename="gstmikey.h"
line="457">the payload header</doc>
<type name="MIKEYPayload" c:type="GstMIKEYPayload"/>
</field>
<field name="len" writable="1">
<doc xml:space="preserve"
filename="gstmikey.h"
line="458">the length of @rand</doc>
<type name="guint8" c:type="guint8"/>
</field>
<field name="rand" writable="1">
<doc xml:space="preserve"
filename="gstmikey.h"
line="459">random values</doc>
<type name="guint8" c:type="guint8*"/>
</field>
</record>
<record name="MIKEYPayloadSP" c:type="GstMIKEYPayloadSP">
<doc xml:space="preserve"
filename="gstmikey.h"
line="420">The Security Policy payload defines a set of policies that apply to a
specific security protocol</doc>
<source-position filename="gstmikey.h" line="436"/>
<field name="pt" writable="1">
<doc xml:space="preserve"
filename="gstmikey.h"
line="422">the payload header</doc>
<type name="MIKEYPayload" c:type="GstMIKEYPayload"/>
</field>
<field name="policy" writable="1">
<doc xml:space="preserve"
filename="gstmikey.h"
line="423">the policy number</doc>
<type name="guint" c:type="guint"/>
</field>
<field name="proto" writable="1">
<doc xml:space="preserve"
filename="gstmikey.h"
line="424">the security protocol</doc>
<type name="MIKEYSecProto" c:type="GstMIKEYSecProto"/>
</field>
<field name="params" writable="1">
<doc xml:space="preserve"
filename="gstmikey.h"
line="425">array of #GstMIKEYPayloadSPParam</doc>
<array name="GLib.Array" c:type="GArray*">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
</record>
<record name="MIKEYPayloadSPParam" c:type="GstMIKEYPayloadSPParam">
<doc xml:space="preserve"
filename="gstmikey.h"
line="358">A Type/Length/Value field for security paramaters</doc>
<source-position filename="gstmikey.h" line="370"/>
<field name="type" writable="1">
<doc xml:space="preserve"
filename="gstmikey.h"
line="360">specifies the type of the parameter</doc>
<type name="guint8" c:type="guint8"/>
</field>
<field name="len" writable="1">
<doc xml:space="preserve"
filename="gstmikey.h"
line="361">specifies the length of @val</doc>
<type name="guint8" c:type="guint8"/>
</field>
<field name="val" writable="1">
<doc xml:space="preserve"
filename="gstmikey.h"
line="362">specifies the value of the parameter</doc>
<type name="guint8" c:type="guint8*"/>
</field>
</record>
<record name="MIKEYPayloadT" c:type="GstMIKEYPayloadT">
<doc xml:space="preserve"
filename="gstmikey.h"
line="339">The timestamp payload carries the timestamp information</doc>
<source-position filename="gstmikey.h" line="352"/>
<field name="pt" writable="1">
<doc xml:space="preserve"
filename="gstmikey.h"
line="341">the payload header</doc>
<type name="MIKEYPayload" c:type="GstMIKEYPayload"/>
</field>
<field name="type" writable="1">
<doc xml:space="preserve"
filename="gstmikey.h"
line="342">a #GstMIKEYTSType</doc>
<type name="MIKEYTSType" c:type="GstMIKEYTSType"/>
</field>
<field name="ts_value" writable="1">
<doc xml:space="preserve"
filename="gstmikey.h"
line="343">the timestamp value</doc>
<type name="guint8" c:type="guint8*"/>
</field>
</record>
<enumeration name="MIKEYPayloadType" c:type="GstMIKEYPayloadType">
<doc xml:space="preserve"
filename="gstmikey.h"
line="70">Different MIKEY Payload types.</doc>
<source-position filename="gstmikey.h" line="107"/>
<member name="last" value="0" c:identifier="GST_MIKEY_PT_LAST">
<doc xml:space="preserve"
filename="gstmikey.h"
line="72">Last payload</doc>
</member>
<member name="kemac" value="1" c:identifier="GST_MIKEY_PT_KEMAC">
<doc xml:space="preserve"
filename="gstmikey.h"
line="73">Key data transport payload</doc>
</member>
<member name="pke" value="2" c:identifier="GST_MIKEY_PT_PKE">
<doc xml:space="preserve"
filename="gstmikey.h"
line="74">Envelope data payload</doc>
</member>
<member name="dh" value="3" c:identifier="GST_MIKEY_PT_DH">
<doc xml:space="preserve"
filename="gstmikey.h"
line="75">DH data payload</doc>
</member>
<member name="sign" value="4" c:identifier="GST_MIKEY_PT_SIGN">
<doc xml:space="preserve"
filename="gstmikey.h"
line="76">Signature payload</doc>
</member>
<member name="t" value="5" c:identifier="GST_MIKEY_PT_T">
<doc xml:space="preserve"
filename="gstmikey.h"
line="77">Timestamp payload</doc>
</member>
<member name="id" value="6" c:identifier="GST_MIKEY_PT_ID">
<doc xml:space="preserve"
filename="gstmikey.h"
line="78">ID payload</doc>
</member>
<member name="cert" value="7" c:identifier="GST_MIKEY_PT_CERT">
<doc xml:space="preserve"
filename="gstmikey.h"
line="79">Certificate Payload</doc>
</member>
<member name="chash" value="8" c:identifier="GST_MIKEY_PT_CHASH">
<doc xml:space="preserve"
filename="gstmikey.h"
line="80">Cert hash payload</doc>
</member>
<member name="v" value="9" c:identifier="GST_MIKEY_PT_V">
<doc xml:space="preserve"
filename="gstmikey.h"
line="81">Verfication message payload</doc>
</member>
<member name="sp" value="10" c:identifier="GST_MIKEY_PT_SP">
<doc xml:space="preserve"
filename="gstmikey.h"
line="82">Security Policy payload</doc>
</member>
<member name="rand" value="11" c:identifier="GST_MIKEY_PT_RAND">
<doc xml:space="preserve"
filename="gstmikey.h"
line="83">RAND payload</doc>
</member>
<member name="err" value="12" c:identifier="GST_MIKEY_PT_ERR">
<doc xml:space="preserve"
filename="gstmikey.h"
line="84">Error payload</doc>
</member>
<member name="key_data" value="20" c:identifier="GST_MIKEY_PT_KEY_DATA">
<doc xml:space="preserve"
filename="gstmikey.h"
line="85">Key data sub-payload</doc>
</member>
<member name="gen_ext" value="21" c:identifier="GST_MIKEY_PT_GEN_EXT">
<doc xml:space="preserve"
filename="gstmikey.h"
line="86">General Extension Payload</doc>
</member>
</enumeration>
<enumeration name="MIKEYSecProto" c:type="GstMIKEYSecProto">
<doc xml:space="preserve"
filename="gstmikey.h"
line="372">Specifies the security protocol</doc>
<source-position filename="gstmikey.h" line="381"/>
<member name="mikey_sec_proto_srtp"
value="0"
c:identifier="GST_MIKEY_SEC_PROTO_SRTP">
<doc xml:space="preserve" filename="gstmikey.h" line="374">SRTP</doc>
</member>
</enumeration>
<enumeration name="MIKEYSecSRTP" c:type="GstMIKEYSecSRTP">
<doc xml:space="preserve"
filename="gstmikey.h"
line="383">This policy specifies the parameters for SRTP and SRTCP</doc>
<source-position filename="gstmikey.h" line="418"/>
<member name="enc_alg"
value="0"
c:identifier="GST_MIKEY_SP_SRTP_ENC_ALG">
<doc xml:space="preserve"
filename="gstmikey.h"
line="385">Encryption algorithm</doc>
</member>
<member name="enc_key_len"
value="1"
c:identifier="GST_MIKEY_SP_SRTP_ENC_KEY_LEN">
<doc xml:space="preserve"
filename="gstmikey.h"
line="386">Session Encr. key length</doc>
</member>
<member name="auth_alg"
value="2"
c:identifier="GST_MIKEY_SP_SRTP_AUTH_ALG">
<doc xml:space="preserve"
filename="gstmikey.h"
line="387">Authentication algorithm</doc>
</member>
<member name="auth_key_len"
value="3"
c:identifier="GST_MIKEY_SP_SRTP_AUTH_KEY_LEN">
<doc xml:space="preserve"
filename="gstmikey.h"
line="388">Session Auth. key length</doc>
</member>
<member name="salt_key_len"
value="4"
c:identifier="GST_MIKEY_SP_SRTP_SALT_KEY_LEN">
<doc xml:space="preserve"
filename="gstmikey.h"
line="389">Session Salt key length</doc>
</member>
<member name="prf" value="5" c:identifier="GST_MIKEY_SP_SRTP_PRF">
<doc xml:space="preserve"
filename="gstmikey.h"
line="390">SRTP Pseudo Random Function</doc>
</member>
<member name="key_deriv_rate"
value="6"
c:identifier="GST_MIKEY_SP_SRTP_KEY_DERIV_RATE">
<doc xml:space="preserve"
filename="gstmikey.h"
line="391">Key derivation rate</doc>
</member>
<member name="srtp_enc"
value="7"
c:identifier="GST_MIKEY_SP_SRTP_SRTP_ENC">
<doc xml:space="preserve"
filename="gstmikey.h"
line="392">SRTP encryption off/on, 0 if off, 1 if on</doc>
</member>
<member name="srtcp_enc"
value="8"
c:identifier="GST_MIKEY_SP_SRTP_SRTCP_ENC">
<doc xml:space="preserve"
filename="gstmikey.h"
line="393">SRTCP encryption off/on, 0 if off, 1 if on</doc>
</member>
<member name="fec_order"
value="9"
c:identifier="GST_MIKEY_SP_SRTP_FEC_ORDER">
<doc xml:space="preserve"
filename="gstmikey.h"
line="394">sender's FEC order</doc>
</member>
<member name="srtp_auth"
value="10"
c:identifier="GST_MIKEY_SP_SRTP_SRTP_AUTH">
<doc xml:space="preserve"
filename="gstmikey.h"
line="395">SRTP authentication off/on, 0 if off, 1 if on</doc>
</member>
<member name="auth_tag_len"
value="11"
c:identifier="GST_MIKEY_SP_SRTP_AUTH_TAG_LEN">
<doc xml:space="preserve"
filename="gstmikey.h"
line="396">Authentication tag length</doc>
</member>
<member name="srtp_prefix_len"
value="12"
c:identifier="GST_MIKEY_SP_SRTP_SRTP_PREFIX_LEN">
<doc xml:space="preserve"
filename="gstmikey.h"
line="397">SRTP prefix length</doc>
</member>
<member name="aead_auth_tag_len"
value="20"
c:identifier="GST_MIKEY_SP_SRTP_AEAD_AUTH_TAG_LEN">
<doc xml:space="preserve"
filename="gstmikey.h"
line="398">AEAD authentication tag length (Since: 1.16)</doc>
</member>
</enumeration>
<enumeration name="MIKEYTSType" c:type="GstMIKEYTSType">
<doc xml:space="preserve"
filename="gstmikey.h"
line="324">Specifies the timestamp type.</doc>
<source-position filename="gstmikey.h" line="337"/>
<member name="ntp_utc"
value="0"
c:identifier="GST_MIKEY_TS_TYPE_NTP_UTC">
<doc xml:space="preserve"
filename="gstmikey.h"
line="326">an NTP time in UTC timezone</doc>
</member>
<member name="ntp" value="1" c:identifier="GST_MIKEY_TS_TYPE_NTP">
<doc xml:space="preserve"
filename="gstmikey.h"
line="327">an NTP time</doc>
</member>
<member name="counter"
value="2"
c:identifier="GST_MIKEY_TS_TYPE_COUNTER">
<doc xml:space="preserve"
filename="gstmikey.h"
line="328">a counter</doc>
</member>
</enumeration>
<enumeration name="MIKEYType" c:type="GstMIKEYType">
<doc xml:space="preserve"
filename="gstmikey.h"
line="45">Different MIKEY data types.</doc>
<source-position filename="gstmikey.h" line="68"/>
<member name="invalid" value="-1" c:identifier="GST_MIKEY_TYPE_INVALID">
<doc xml:space="preserve"
filename="gstmikey.h"
line="47">Invalid type</doc>
</member>
<member name="psk_init" value="0" c:identifier="GST_MIKEY_TYPE_PSK_INIT">
<doc xml:space="preserve"
filename="gstmikey.h"
line="48">Initiator's pre-shared key message</doc>
</member>
<member name="psk_verify"
value="1"
c:identifier="GST_MIKEY_TYPE_PSK_VERIFY">
<doc xml:space="preserve"
filename="gstmikey.h"
line="49">Verification message of a Pre-shared key message</doc>
</member>
<member name="pk_init" value="2" c:identifier="GST_MIKEY_TYPE_PK_INIT">
<doc xml:space="preserve"
filename="gstmikey.h"
line="50">Initiator's public-key transport message</doc>
</member>
<member name="pk_verify"
value="3"
c:identifier="GST_MIKEY_TYPE_PK_VERIFY">
<doc xml:space="preserve"
filename="gstmikey.h"
line="51">Verification message of a public-key message</doc>
</member>
<member name="dh_init" value="4" c:identifier="GST_MIKEY_TYPE_DH_INIT">
<doc xml:space="preserve"
filename="gstmikey.h"
line="52">Initiator's DH exchange message</doc>
</member>
<member name="dh_resp" value="5" c:identifier="GST_MIKEY_TYPE_DH_RESP">
<doc xml:space="preserve"
filename="gstmikey.h"
line="53">Responder's DH exchange message</doc>
</member>
<member name="error" value="6" c:identifier="GST_MIKEY_TYPE_ERROR">
<doc xml:space="preserve"
filename="gstmikey.h"
line="54">Error message</doc>
</member>
</enumeration>
<constant name="MIKEY_VERSION" value="1" c:type="GST_MIKEY_VERSION">
<doc xml:space="preserve"
filename="gstmikey.h"
line="38">The supported MIKEY version 1.</doc>
<source-position filename="gstmikey.h" line="43"/>
<type name="gint" c:type="gint"/>
</constant>
<record name="SDPAttribute" c:type="GstSDPAttribute">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="229">The contents of the SDP "a=" field which contains a key/value pair.</doc>
<source-position filename="gstsdpmessage.h" line="239"/>
<field name="key" writable="1">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="231">the attribute key</doc>
<type name="utf8" c:type="gchar*"/>
</field>
<field name="value" writable="1">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="232">the attribute value or NULL when it was a property attribute</doc>
<type name="utf8" c:type="gchar*"/>
</field>
<method name="clear"
c:identifier="gst_sdp_attribute_clear"
version="1.2">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1584">Clear the attribute.</doc>
<source-position filename="gstsdpmessage.h" line="246"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1590">@GST_SDP_OK.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="attr" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1586">a #GstSDPAttribute</doc>
<type name="SDPAttribute" c:type="GstSDPAttribute*"/>
</instance-parameter>
</parameters>
</method>
<method name="set" c:identifier="gst_sdp_attribute_set" version="1.2">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1560">Set the attribute with @key and @value.</doc>
<source-position filename="gstsdpmessage.h" line="242"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1568">@GST_SDP_OK.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="attr" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1562">a #GstSDPAttribute</doc>
<type name="SDPAttribute" c:type="GstSDPAttribute*"/>
</instance-parameter>
<parameter name="key" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1563">the key</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="value"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1564">the value</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
</record>
<record name="SDPBandwidth" c:type="GstSDPBandwidth">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="150">The contents of the SDP "b=" field which specifies the proposed bandwidth to
be used by the session or media.</doc>
<source-position filename="gstsdpmessage.h" line="161"/>
<field name="bwtype" writable="1">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="152">the bandwidth modifier type</doc>
<type name="utf8" c:type="gchar*"/>
</field>
<field name="bandwidth" writable="1">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="153">the bandwidth in kilobits per second</doc>
<type name="guint" c:type="guint"/>
</field>
<method name="clear"
c:identifier="gst_sdp_bandwidth_clear"
version="1.2">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1128">Reset the bandwidth information in @bw.</doc>
<source-position filename="gstsdpmessage.h" line="168"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1134">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="bw" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1130">a #GstSDPBandwidth</doc>
<type name="SDPBandwidth" c:type="GstSDPBandwidth*"/>
</instance-parameter>
</parameters>
</method>
<method name="set" c:identifier="gst_sdp_bandwidth_set" version="1.2">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1105">Set bandwidth information in @bw.</doc>
<source-position filename="gstsdpmessage.h" line="164"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1113">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="bw" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1107">a #GstSDPBandwidth</doc>
<type name="SDPBandwidth" c:type="GstSDPBandwidth*"/>
</instance-parameter>
<parameter name="bwtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1108">the bandwidth modifier type</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="bandwidth" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1109">the bandwidth in kilobits per second</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
</record>
<record name="SDPConnection" c:type="GstSDPConnection">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="81">The contents of the SDP "c=" field which contains connection data.</doc>
<source-position filename="gstsdpmessage.h" line="98"/>
<field name="nettype" writable="1">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="83">the type of network. "IN" is defined to have the meaning
"Internet".</doc>
<type name="utf8" c:type="gchar*"/>
</field>
<field name="addrtype" writable="1">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="85">the type of @address.</doc>
<type name="utf8" c:type="gchar*"/>
</field>
<field name="address" writable="1">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="86">the address</doc>
<type name="utf8" c:type="gchar*"/>
</field>
<field name="ttl" writable="1">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="87">the time to live of the address</doc>
<type name="guint" c:type="guint"/>
</field>
<field name="addr_number" writable="1">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="88">the number of layers</doc>
<type name="guint" c:type="guint"/>
</field>
<method name="clear"
c:identifier="gst_sdp_connection_clear"
version="1.2">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2382">Clear the connection.</doc>
<source-position filename="gstsdpmessage.h" line="108"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2388">@GST_SDP_OK.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="conn" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2384">a #GstSDPConnection</doc>
<type name="SDPConnection" c:type="GstSDPConnection*"/>
</instance-parameter>
</parameters>
</method>
<method name="set" c:identifier="gst_sdp_connection_set" version="1.2">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2349">Set the connection with the given parameters.</doc>
<source-position filename="gstsdpmessage.h" line="101"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2361">@GST_SDP_OK.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="conn" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2351">a #GstSDPConnection</doc>
<type name="SDPConnection" c:type="GstSDPConnection*"/>
</instance-parameter>
<parameter name="nettype" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2352">the type of network. "IN" is defined to have the meaning
"Internet".</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="addrtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2354">the type of address.</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="address" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2355">the address</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="ttl" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2356">the time to live of the address</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="addr_number" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2357">the number of layers</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
</record>
<record name="SDPKey" c:type="GstSDPKey">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="216">The contents of the SDP "k=" field which is used to convey encryption
keys.</doc>
<source-position filename="gstsdpmessage.h" line="227"/>
<field name="type" writable="1">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="218">the encryption type</doc>
<type name="utf8" c:type="gchar*"/>
</field>
<field name="data" writable="1">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="219">the encryption data</doc>
<type name="utf8" c:type="gchar*"/>
</field>
</record>
<record name="SDPMedia" c:type="GstSDPMedia">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="248">The contents of the SDP "m=" field with all related fields.</doc>
<source-position filename="gstsdpmessage.h" line="274"/>
<field name="media" writable="1">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="250">the media type</doc>
<type name="utf8" c:type="gchar*"/>
</field>
<field name="port" writable="1">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="251">the transport port to which the media stream will be sent</doc>
<type name="guint" c:type="guint"/>
</field>
<field name="num_ports" writable="1">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="252">the number of ports or -1 if only one port was specified</doc>
<type name="guint" c:type="guint"/>
</field>
<field name="proto" writable="1">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="253">the transport protocol</doc>
<type name="utf8" c:type="gchar*"/>
</field>
<field name="fmts" writable="1">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="254">an array of #gchar formats</doc>
<array name="GLib.Array" c:type="GArray*">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
<field name="information" writable="1">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="255">the media title</doc>
<type name="utf8" c:type="gchar*"/>
</field>
<field name="connections" writable="1">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="256">array of #GstSDPConnection with media connection information</doc>
<array name="GLib.Array" c:type="GArray*">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
<field name="bandwidths" writable="1">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="257">array of #GstSDPBandwidth with media bandwidth information</doc>
<array name="GLib.Array" c:type="GArray*">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
<field name="key" writable="1">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="258">the encryption key</doc>
<type name="SDPKey" c:type="GstSDPKey"/>
</field>
<field name="attributes" writable="1">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="259">array of #GstSDPAttribute with the additional media attributes</doc>
<array name="GLib.Array" c:type="GArray*">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
<method name="add_attribute" c:identifier="gst_sdp_media_add_attribute">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2754">Add the attribute with @key and @value to @media.</doc>
<source-position filename="gstsdpmessage.h" line="734"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2762">#GST_SDP_OK.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2756">a #GstSDPMedia</doc>
<type name="SDPMedia" c:type="GstSDPMedia*"/>
</instance-parameter>
<parameter name="key" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2757">a key</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="value"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2758">a value</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="add_bandwidth" c:identifier="gst_sdp_media_add_bandwidth">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2673">Add the bandwidth information with @bwtype and @bandwidth to @media.</doc>
<source-position filename="gstsdpmessage.h" line="696"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2681">#GST_SDP_OK.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2675">a #GstSDPMedia</doc>
<type name="SDPMedia" c:type="GstSDPMedia*"/>
</instance-parameter>
<parameter name="bwtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2676">the bandwidth modifier type</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="bandwidth" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2677">the bandwidth in kilobits per second</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="add_connection"
c:identifier="gst_sdp_media_add_connection">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2525">Add the given connection parameters to @media.</doc>
<source-position filename="gstsdpmessage.h" line="670"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2537">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2527">a #GstSDPMedia</doc>
<type name="SDPMedia" c:type="GstSDPMedia*"/>
</instance-parameter>
<parameter name="nettype" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2528">the type of network. "IN" is defined to have the meaning
"Internet".</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="addrtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2530">the type of address.</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="address" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2531">the address</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="ttl" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2532">the time to live of the address</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="addr_number" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2533">the number of layers</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="add_format" c:identifier="gst_sdp_media_add_format">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2289">Add the format information to @media.</doc>
<source-position filename="gstsdpmessage.h" line="640"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2296">#GST_SDP_OK.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2291">a #GstSDPMedia</doc>
<type name="SDPMedia" c:type="GstSDPMedia*"/>
</instance-parameter>
<parameter name="format" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2292">the format</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="as_text" c:identifier="gst_sdp_media_as_text">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1962">Convert the contents of @media to a text string.</doc>
<source-position filename="gstsdpmessage.h" line="596"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1968">A dynamically allocated string representing the media.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1964">a #GstSDPMedia</doc>
<type name="SDPMedia" c:type="const GstSDPMedia*"/>
</instance-parameter>
</parameters>
</method>
<method name="attributes_len"
c:identifier="gst_sdp_media_attributes_len">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2738">Get the number of attribute fields in @media.</doc>
<source-position filename="gstsdpmessage.h" line="710"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2744">the number of attributes in @media.</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2740">a #GstSDPMedia</doc>
<type name="SDPMedia" c:type="const GstSDPMedia*"/>
</instance-parameter>
</parameters>
</method>
<method name="attributes_to_caps"
c:identifier="gst_sdp_media_attributes_to_caps"
version="1.8">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="4114">Mapping of attributes of #GstSDPMedia to #GstCaps</doc>
<source-position filename="gstsdpmessage.h" line="756"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="4121">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="4116">a #GstSDPMedia</doc>
<type name="SDPMedia" c:type="const GstSDPMedia*"/>
</instance-parameter>
<parameter name="caps" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="4117">a #GstCaps</doc>
<type name="Gst.Caps" c:type="GstCaps*"/>
</parameter>
</parameters>
</method>
<method name="bandwidths_len"
c:identifier="gst_sdp_media_bandwidths_len">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2556">Get the number of bandwidth fields in @media.</doc>
<source-position filename="gstsdpmessage.h" line="679"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2562">the number of bandwidths in @media.</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2558">a #GstSDPMedia</doc>
<type name="SDPMedia" c:type="const GstSDPMedia*"/>
</instance-parameter>
</parameters>
</method>
<method name="connections_len"
c:identifier="gst_sdp_media_connections_len">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2406">Get the number of connection fields in @media.</doc>
<source-position filename="gstsdpmessage.h" line="653"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2412">the number of connections in @media.</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2408">a #GstSDPMedia</doc>
<type name="SDPMedia" c:type="const GstSDPMedia*"/>
</instance-parameter>
</parameters>
</method>
<method name="copy" c:identifier="gst_sdp_media_copy" version="1.2">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1897">Allocate a new copy of @media and store the result in @copy. The value in
@copy should be release with gst_sdp_media_free function.</doc>
<source-position filename="gstsdpmessage.h" line="593"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1905">a #GstSDPResult</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1899">a #GstSDPMedia</doc>
<type name="SDPMedia" c:type="const GstSDPMedia*"/>
</instance-parameter>
<parameter name="copy"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1900">pointer to new #GstSDPMedia</doc>
<type name="SDPMedia" c:type="GstSDPMedia**"/>
</parameter>
</parameters>
</method>
<method name="formats_len" c:identifier="gst_sdp_media_formats_len">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2169">Get the number of formats in @media.</doc>
<source-position filename="gstsdpmessage.h" line="623"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2175">the number of formats in @media.</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2171">a #GstSDPMedia</doc>
<type name="SDPMedia" c:type="const GstSDPMedia*"/>
</instance-parameter>
</parameters>
</method>
<method name="free" c:identifier="gst_sdp_media_free">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1876">Free all resources allocated by @media. @media should not be used anymore after
this function. This function should be used when @media was dynamically
allocated with gst_sdp_media_new().</doc>
<source-position filename="gstsdpmessage.h" line="590"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1884">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1878">a #GstSDPMedia</doc>
<type name="SDPMedia" c:type="GstSDPMedia*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_attribute" c:identifier="gst_sdp_media_get_attribute">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2779">Get the attribute at position @idx in @media.</doc>
<source-position filename="gstsdpmessage.h" line="713"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2786">the #GstSDPAttribute at position @idx.</doc>
<type name="SDPAttribute" c:type="const GstSDPAttribute*"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2781">a #GstSDPMedia</doc>
<type name="SDPMedia" c:type="const GstSDPMedia*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2782">an index</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="get_attribute_val"
c:identifier="gst_sdp_media_get_attribute_val">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2830">Get the first attribute value for @key in @media.</doc>
<source-position filename="gstsdpmessage.h" line="716"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2837">the first attribute value for @key.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2832">a #GstSDPMedia</doc>
<type name="SDPMedia" c:type="const GstSDPMedia*"/>
</instance-parameter>
<parameter name="key" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2833">a key</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="get_attribute_val_n"
c:identifier="gst_sdp_media_get_attribute_val_n">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2797">Get the @nth attribute value for @key in @media.</doc>
<source-position filename="gstsdpmessage.h" line="719"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2805">the @nth attribute value.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2799">a #GstSDPMedia</doc>
<type name="SDPMedia" c:type="const GstSDPMedia*"/>
</instance-parameter>
<parameter name="key" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2800">a key</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="nth" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2801">an index</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="get_bandwidth" c:identifier="gst_sdp_media_get_bandwidth">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2572">Get the bandwidth at position @idx in @media.</doc>
<source-position filename="gstsdpmessage.h" line="682"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2579">the #GstSDPBandwidth at position @idx.</doc>
<type name="SDPBandwidth" c:type="const GstSDPBandwidth*"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2574">a #GstSDPMedia</doc>
<type name="SDPMedia" c:type="const GstSDPMedia*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2575">an index</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="get_caps_from_media"
c:identifier="gst_sdp_media_get_caps_from_media"
version="1.8">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="3543">Mapping of caps from SDP fields:
a=rtpmap:(payload) (encoding_name)/(clock_rate)[/(encoding_params)]
a=framesize:(payload) (width)-(height)
a=fmtp:(payload) (param)[=(value)];...</doc>
<source-position filename="gstsdpmessage.h" line="738"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="3556">a #GstCaps, or %NULL if an error happened</doc>
<type name="Gst.Caps" c:type="GstCaps*"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="3545">a #GstSDPMedia</doc>
<type name="SDPMedia" c:type="const GstSDPMedia*"/>
</instance-parameter>
<parameter name="pt" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="3546">a payload type</doc>
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
</method>
<method name="get_connection"
c:identifier="gst_sdp_media_get_connection">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2422">Get the connection at position @idx in @media.</doc>
<source-position filename="gstsdpmessage.h" line="656"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2429">the #GstSDPConnection at position @idx.</doc>
<type name="SDPConnection" c:type="const GstSDPConnection*"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2424">a #GstSDPMedia</doc>
<type name="SDPMedia" c:type="const GstSDPMedia*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2425">an index</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="get_format" c:identifier="gst_sdp_media_get_format">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2185">Get the format information at position @idx in @media.</doc>
<source-position filename="gstsdpmessage.h" line="626"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2192">the format at position @idx.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2187">a #GstSDPMedia</doc>
<type name="SDPMedia" c:type="const GstSDPMedia*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2188">an index</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="get_information"
c:identifier="gst_sdp_media_get_information">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2313">Get the information of @media</doc>
<source-position filename="gstsdpmessage.h" line="645"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2319">the information of @media.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2315">a #GstSDPMedia</doc>
<type name="SDPMedia" c:type="const GstSDPMedia*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_key" c:identifier="gst_sdp_media_get_key">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2722">Get the encryption information from @media.</doc>
<source-position filename="gstsdpmessage.h" line="702"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2728">a #GstSDPKey.</doc>
<type name="SDPKey" c:type="const GstSDPKey*"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2724">a #GstSDPMedia</doc>
<type name="SDPMedia" c:type="const GstSDPMedia*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_media" c:identifier="gst_sdp_media_get_media">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2043">Get the media description of @media.</doc>
<source-position filename="gstsdpmessage.h" line="601"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2049">the media description.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2045">a #GstSDPMedia</doc>
<type name="SDPMedia" c:type="const GstSDPMedia*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_num_ports" c:identifier="gst_sdp_media_get_num_ports">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2096">Get the number of ports for @media.</doc>
<source-position filename="gstsdpmessage.h" line="610"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2102">the number of ports for @media.</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2098">a #GstSDPMedia</doc>
<type name="SDPMedia" c:type="const GstSDPMedia*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_port" c:identifier="gst_sdp_media_get_port">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2080">Get the port number for @media.</doc>
<source-position filename="gstsdpmessage.h" line="607"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2086">the port number of @media.</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2082">a #GstSDPMedia</doc>
<type name="SDPMedia" c:type="const GstSDPMedia*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_proto" c:identifier="gst_sdp_media_get_proto">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2133">Get the transport protocol of @media</doc>
<source-position filename="gstsdpmessage.h" line="617"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2139">the transport protocol of @media.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2135">a #GstSDPMedia</doc>
<type name="SDPMedia" c:type="const GstSDPMedia*"/>
</instance-parameter>
</parameters>
</method>
<method name="init" c:identifier="gst_sdp_media_init">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1820">Initialize @media so that its contents are as if it was freshly allocated
with gst_sdp_media_new(). This function is mostly used to initialize a media
allocated on the stack. gst_sdp_media_uninit() undoes this operation.
When this function is invoked on newly allocated data (with malloc or on the
stack), its contents should be set to 0 before calling this function.</doc>
<source-position filename="gstsdpmessage.h" line="584"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1831">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1822">a #GstSDPMedia</doc>
<type name="SDPMedia" c:type="GstSDPMedia*"/>
</instance-parameter>
</parameters>
</method>
<method name="insert_attribute"
c:identifier="gst_sdp_media_insert_attribute"
version="1.2">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2848">Insert the attribute to @media at @idx. When @idx is -1,
the attribute is appended.</doc>
<source-position filename="gstsdpmessage.h" line="723"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2857">#GST_SDP_OK.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2850">a #GstSDPMedia</doc>
<type name="SDPMedia" c:type="GstSDPMedia*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2851">an index</doc>
<type name="gint" c:type="gint"/>
</parameter>
<parameter name="attr" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2852">a #GstSDPAttribute</doc>
<type name="SDPAttribute" c:type="GstSDPAttribute*"/>
</parameter>
</parameters>
</method>
<method name="insert_bandwidth"
c:identifier="gst_sdp_media_insert_bandwidth"
version="1.2">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2589">Insert the bandwidth information to @media at @idx. When @idx is -1,
the bandwidth is appended.</doc>
<source-position filename="gstsdpmessage.h" line="685"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2598">#GST_SDP_OK.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2591">a #GstSDPMedia</doc>
<type name="SDPMedia" c:type="GstSDPMedia*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2592">an index</doc>
<type name="gint" c:type="gint"/>
</parameter>
<parameter name="bw" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2593">a #GstSDPBandwidth</doc>
<type name="SDPBandwidth" c:type="GstSDPBandwidth*"/>
</parameter>
</parameters>
</method>
<method name="insert_connection"
c:identifier="gst_sdp_media_insert_connection"
version="1.2">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2440">Insert the connection information to @media at @idx. When @idx is -1,
the connection is appended.</doc>
<source-position filename="gstsdpmessage.h" line="659"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2449">#GST_SDP_OK.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2442">a #GstSDPMedia</doc>
<type name="SDPMedia" c:type="GstSDPMedia*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2443">an index</doc>
<type name="gint" c:type="gint"/>
</parameter>
<parameter name="conn" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2444">a #GstSDPConnection</doc>
<type name="SDPConnection" c:type="GstSDPConnection*"/>
</parameter>
</parameters>
</method>
<method name="insert_format"
c:identifier="gst_sdp_media_insert_format"
version="1.2">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2204">Insert the format information to @media at @idx. When @idx is -1,
the format is appended.</doc>
<source-position filename="gstsdpmessage.h" line="629"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2213">#GST_SDP_OK.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2206">a #GstSDPMedia</doc>
<type name="SDPMedia" c:type="GstSDPMedia*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2207">an index</doc>
<type name="gint" c:type="gint"/>
</parameter>
<parameter name="format" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2208">the format</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="parse_keymgmt"
c:identifier="gst_sdp_media_parse_keymgmt"
version="1.8.1">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="4010">Creates a new #GstMIKEYMessage after parsing the key-mgmt attribute
from a #GstSDPMedia.</doc>
<source-position filename="gstsdpmessage.h" line="750"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="4018">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="4012">a #GstSDPMedia</doc>
<type name="SDPMedia" c:type="const GstSDPMedia*"/>
</instance-parameter>
<parameter name="mikey"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="4013">pointer to new #GstMIKEYMessage</doc>
<type name="MIKEYMessage" c:type="GstMIKEYMessage**"/>
</parameter>
</parameters>
</method>
<method name="remove_attribute"
c:identifier="gst_sdp_media_remove_attribute"
version="1.2">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2907">Remove the attribute in @media at @idx.</doc>
<source-position filename="gstsdpmessage.h" line="731"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2914">#GST_SDP_OK.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2909">a #GstSDPMedia</doc>
<type name="SDPMedia" c:type="GstSDPMedia*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2910">an index</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="remove_bandwidth"
c:identifier="gst_sdp_media_remove_bandwidth"
version="1.2">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2647">Remove the bandwidth information in @media at @idx.</doc>
<source-position filename="gstsdpmessage.h" line="693"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2654">#GST_SDP_OK.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2649">a #GstSDPMedia</doc>
<type name="SDPMedia" c:type="GstSDPMedia*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2650">an index</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="remove_connection"
c:identifier="gst_sdp_media_remove_connection"
version="1.2">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2499">Remove the connection information in @media at @idx.</doc>
<source-position filename="gstsdpmessage.h" line="667"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2506">#GST_SDP_OK.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2501">a #GstSDPMedia</doc>
<type name="SDPMedia" c:type="GstSDPMedia*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2502">an index</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="remove_format"
c:identifier="gst_sdp_media_remove_format"
version="1.2">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2264">Remove the format information in @media at @idx.</doc>
<source-position filename="gstsdpmessage.h" line="637"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2271">#GST_SDP_OK.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2266">a #GstSDPMedia</doc>
<type name="SDPMedia" c:type="GstSDPMedia*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2267">an index</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="replace_attribute"
c:identifier="gst_sdp_media_replace_attribute"
version="1.2">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2878">Replace the attribute in @media at @idx with @attr.</doc>
<source-position filename="gstsdpmessage.h" line="727"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2886">#GST_SDP_OK.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2880">a #GstSDPMedia</doc>
<type name="SDPMedia" c:type="GstSDPMedia*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2881">an index</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="attr" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2882">a #GstSDPAttribute</doc>
<type name="SDPAttribute" c:type="GstSDPAttribute*"/>
</parameter>
</parameters>
</method>
<method name="replace_bandwidth"
c:identifier="gst_sdp_media_replace_bandwidth"
version="1.2">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2619">Replace the bandwidth information in @media at @idx with @bw.</doc>
<source-position filename="gstsdpmessage.h" line="689"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2627">#GST_SDP_OK.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2621">a #GstSDPMedia</doc>
<type name="SDPMedia" c:type="GstSDPMedia*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2622">an index</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="bw" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2623">a #GstSDPBandwidth</doc>
<type name="SDPBandwidth" c:type="GstSDPBandwidth*"/>
</parameter>
</parameters>
</method>
<method name="replace_connection"
c:identifier="gst_sdp_media_replace_connection"
version="1.2">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2470">Replace the connection information in @media at @idx with @conn.</doc>
<source-position filename="gstsdpmessage.h" line="663"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2478">#GST_SDP_OK.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2472">a #GstSDPMedia</doc>
<type name="SDPMedia" c:type="GstSDPMedia*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2473">an index</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="conn" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2474">a #GstSDPConnection</doc>
<type name="SDPConnection" c:type="GstSDPConnection*"/>
</parameter>
</parameters>
</method>
<method name="replace_format"
c:identifier="gst_sdp_media_replace_format"
version="1.2">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2236">Replace the format information in @media at @idx with @format.</doc>
<source-position filename="gstsdpmessage.h" line="633"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2244">#GST_SDP_OK.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2238">a #GstSDPMedia</doc>
<type name="SDPMedia" c:type="GstSDPMedia*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2239">an index</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="format" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2240">the format</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_information"
c:identifier="gst_sdp_media_set_information">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2329">Set the media information of @media to @information.</doc>
<source-position filename="gstsdpmessage.h" line="648"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2336">#GST_SDP_OK.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2331">a #GstSDPMedia</doc>
<type name="SDPMedia" c:type="GstSDPMedia*"/>
</instance-parameter>
<parameter name="information" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2332">the media information</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_key" c:identifier="gst_sdp_media_set_key">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2698">Adds the encryption information to @media.</doc>
<source-position filename="gstsdpmessage.h" line="705"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2706">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2700">a #GstSDPMedia</doc>
<type name="SDPMedia" c:type="GstSDPMedia*"/>
</instance-parameter>
<parameter name="type" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2701">the encryption type</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="data" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2702">the encryption data</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_media" c:identifier="gst_sdp_media_set_media">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2059">Set the media description of @media to @med.</doc>
<source-position filename="gstsdpmessage.h" line="604"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2066">#GST_SDP_OK.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2061">a #GstSDPMedia</doc>
<type name="SDPMedia" c:type="GstSDPMedia*"/>
</instance-parameter>
<parameter name="med" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2062">the media description</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_port_info" c:identifier="gst_sdp_media_set_port_info">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2112">Set the port information in @media.</doc>
<source-position filename="gstsdpmessage.h" line="613"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2120">#GST_SDP_OK.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2114">a #GstSDPMedia</doc>
<type name="SDPMedia" c:type="GstSDPMedia*"/>
</instance-parameter>
<parameter name="port" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2115">the port number</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="num_ports" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2116">the number of ports</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="set_proto" c:identifier="gst_sdp_media_set_proto">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2149">Set the media transport protocol of @media to @proto.</doc>
<source-position filename="gstsdpmessage.h" line="620"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2156">#GST_SDP_OK.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2151">a #GstSDPMedia</doc>
<type name="SDPMedia" c:type="GstSDPMedia*"/>
</instance-parameter>
<parameter name="proto" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="2152">the media transport protocol</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="uninit" c:identifier="gst_sdp_media_uninit">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1852">Free all resources allocated in @media. @media should not be used anymore after
this function. This function should be used when @media was allocated on the
stack and initialized with gst_sdp_media_init().</doc>
<source-position filename="gstsdpmessage.h" line="587"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1860">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1854">a #GstSDPMedia</doc>
<type name="SDPMedia" c:type="GstSDPMedia*"/>
</instance-parameter>
</parameters>
</method>
<function name="new" c:identifier="gst_sdp_media_new">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1798">Allocate a new GstSDPMedia and store the result in @media.</doc>
<source-position filename="gstsdpmessage.h" line="581"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1804">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<parameter name="media"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1800">pointer to new #GstSDPMedia</doc>
<type name="SDPMedia" c:type="GstSDPMedia**"/>
</parameter>
</parameters>
</function>
<function name="set_media_from_caps"
c:identifier="gst_sdp_media_set_media_from_caps"
version="1.8">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="3740">Mapping of caps to SDP fields:
a=rtpmap:(payload) (encoding_name) or (clock_rate)[or (encoding_params)]
a=framesize:(payload) (width)-(height)
a=fmtp:(payload) (param)[=(value)];...
a=rtcp-fb:(payload) (param1) [param2]...</doc>
<source-position filename="gstsdpmessage.h" line="741"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="3755">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<parameter name="caps" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="3742">a #GstCaps</doc>
<type name="Gst.Caps" c:type="const GstCaps*"/>
</parameter>
<parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="3743">a #GstSDPMedia</doc>
<type name="SDPMedia" c:type="GstSDPMedia*"/>
</parameter>
</parameters>
</function>
</record>
<record name="SDPMessage"
c:type="GstSDPMessage"
glib:type-name="GstSDPMessage"
glib:get-type="gst_sdp_message_get_type"
c:symbol-prefix="sdp_message">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="43">The GstSDPMessage helper functions makes it easy to parse and create SDP
messages.</doc>
<source-position filename="gstsdpmessage.h" line="310"/>
<field name="version" writable="1">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="278">the protocol version</doc>
<type name="utf8" c:type="gchar*"/>
</field>
<field name="origin" writable="1">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="279">owner/creator and session identifier</doc>
<type name="SDPOrigin" c:type="GstSDPOrigin"/>
</field>
<field name="session_name" writable="1">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="280">session name</doc>
<type name="utf8" c:type="gchar*"/>
</field>
<field name="information" writable="1">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="281">session information</doc>
<type name="utf8" c:type="gchar*"/>
</field>
<field name="uri" writable="1">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="282">URI of description</doc>
<type name="utf8" c:type="gchar*"/>
</field>
<field name="emails" writable="1">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="283">array of #gchar with email addresses</doc>
<array name="GLib.Array" c:type="GArray*">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
<field name="phones" writable="1">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="284">array of #gchar with phone numbers</doc>
<array name="GLib.Array" c:type="GArray*">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
<field name="connection" writable="1">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="285">connection information for the session</doc>
<type name="SDPConnection" c:type="GstSDPConnection"/>
</field>
<field name="bandwidths" writable="1">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="286">array of #GstSDPBandwidth with bandwidth information</doc>
<array name="GLib.Array" c:type="GArray*">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
<field name="times" writable="1">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="287">array of #GstSDPTime with time descriptions</doc>
<array name="GLib.Array" c:type="GArray*">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
<field name="zones" writable="1">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="288">array of #GstSDPZone with time zone adjustments</doc>
<array name="GLib.Array" c:type="GArray*">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
<field name="key" writable="1">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="289">encryption key</doc>
<type name="SDPKey" c:type="GstSDPKey"/>
</field>
<field name="attributes" writable="1">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="290">array of #GstSDPAttribute with session attributes</doc>
<array name="GLib.Array" c:type="GArray*">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
<field name="medias" writable="1">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="291">array of #GstSDPMedia with media descriptions</doc>
<array name="GLib.Array" c:type="GArray*">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
<method name="add_attribute"
c:identifier="gst_sdp_message_add_attribute">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1721">Add the attribute with @key and @value to @msg.</doc>
<source-position filename="gstsdpmessage.h" line="561"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1729">@GST_SDP_OK.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1723">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="GstSDPMessage*"/>
</instance-parameter>
<parameter name="key" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1724">the key</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="value"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1725">the value</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="add_bandwidth"
c:identifier="gst_sdp_message_add_bandwidth">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1216">Add the specified bandwidth information to @msg.</doc>
<source-position filename="gstsdpmessage.h" line="475"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1224">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1218">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="GstSDPMessage*"/>
</instance-parameter>
<parameter name="bwtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1219">the bandwidth modifier type</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="bandwidth" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1220">the bandwidth in kilobits per second</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="add_email" c:identifier="gst_sdp_message_add_email">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="975">Add @email to the list of emails in @msg.</doc>
<source-position filename="gstsdpmessage.h" line="422"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="982">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="977">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="GstSDPMessage*"/>
</instance-parameter>
<parameter name="email" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="978">an email</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="add_media" c:identifier="gst_sdp_message_add_media">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1766">Adds @media to the array of medias in @msg. This function takes ownership of
the contents of @media so that @media will have to be reinitialized with
gst_sdp_media_init() before it can be used again.</doc>
<source-position filename="gstsdpmessage.h" line="573"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1775">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1768">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="GstSDPMessage*"/>
</instance-parameter>
<parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1769">a #GstSDPMedia to add</doc>
<type name="SDPMedia" c:type="GstSDPMedia*"/>
</parameter>
</parameters>
</method>
<method name="add_phone" c:identifier="gst_sdp_message_add_phone">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1048">Add @phone to the list of phones in @msg.</doc>
<source-position filename="gstsdpmessage.h" line="444"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1055">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1050">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="GstSDPMessage*"/>
</instance-parameter>
<parameter name="phone" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1051">a phone</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="add_time" c:identifier="gst_sdp_message_add_time">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1363">Add time information @start and @stop to @msg.</doc>
<source-position filename="gstsdpmessage.h" line="499"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1372">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1365">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="GstSDPMessage*"/>
</instance-parameter>
<parameter name="start" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1366">the start time</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="stop" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1367">the stop time</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="repeat" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1368">the repeat times</doc>
<array c:type="const gchar**">
<type name="utf8" c:type="gchar*"/>
</array>
</parameter>
</parameters>
</method>
<method name="add_zone" c:identifier="gst_sdp_message_add_zone">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1498">Add time zone information to @msg.</doc>
<source-position filename="gstsdpmessage.h" line="522"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1506">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1500">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="GstSDPMessage*"/>
</instance-parameter>
<parameter name="adj_time" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1501">the NTP time that a time zone adjustment happens</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="typed_time" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1502">the offset from the time when the session was first scheduled</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="as_text" c:identifier="gst_sdp_message_as_text">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="485">Convert the contents of @msg to a text string.</doc>
<source-position filename="gstsdpmessage.h" line="341"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="491">A dynamically allocated string representing the SDP description.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="487">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="const GstSDPMessage*"/>
</instance-parameter>
</parameters>
</method>
<method name="attributes_len"
c:identifier="gst_sdp_message_attributes_len">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1604">Get the number of attributes in @msg.</doc>
<source-position filename="gstsdpmessage.h" line="536"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1610">the number of attributes in @msg.</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1606">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="const GstSDPMessage*"/>
</instance-parameter>
</parameters>
</method>
<method name="attributes_to_caps"
c:identifier="gst_sdp_message_attributes_to_caps"
version="1.8">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="4078">Mapping of attributes of #GstSDPMessage to #GstCaps</doc>
<source-position filename="gstsdpmessage.h" line="753"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="4085">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="4080">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="const GstSDPMessage*"/>
</instance-parameter>
<parameter name="caps" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="4081">a #GstCaps</doc>
<type name="Gst.Caps" c:type="GstCaps*"/>
</parameter>
</parameters>
</method>
<method name="bandwidths_len"
c:identifier="gst_sdp_message_bandwidths_len">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1148">Get the number of bandwidth information in @msg.</doc>
<source-position filename="gstsdpmessage.h" line="458"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1154">the number of bandwidth information in @msg.</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1150">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="const GstSDPMessage*"/>
</instance-parameter>
</parameters>
</method>
<method name="copy" c:identifier="gst_sdp_message_copy" version="1.2">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="327">Allocate a new copy of @msg and store the result in @copy. The value in
@copy should be release with gst_sdp_message_free function.</doc>
<source-position filename="gstsdpmessage.h" line="335"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="335">a #GstSDPResult</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="329">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="const GstSDPMessage*"/>
</instance-parameter>
<parameter name="copy"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="330">pointer to new #GstSDPMessage</doc>
<type name="SDPMessage" c:type="GstSDPMessage**"/>
</parameter>
</parameters>
</method>
<method name="dump" c:identifier="gst_sdp_message_dump">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="3275">Dump the parsed contents of @msg to stdout.</doc>
<source-position filename="gstsdpmessage.h" line="576"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="3281">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="3277">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="const GstSDPMessage*"/>
</instance-parameter>
</parameters>
</method>
<method name="emails_len" c:identifier="gst_sdp_message_emails_len">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="913">Get the number of emails in @msg.</doc>
<source-position filename="gstsdpmessage.h" line="405"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="919">the number of emails in @msg.</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="915">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="const GstSDPMessage*"/>
</instance-parameter>
</parameters>
</method>
<method name="free" c:identifier="gst_sdp_message_free">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="431">Free all resources allocated by @msg. @msg should not be used anymore after
this function. This function should be used when @msg was dynamically
allocated with gst_sdp_message_new().</doc>
<source-position filename="gstsdpmessage.h" line="332"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="439">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="433">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="GstSDPMessage*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_attribute"
c:identifier="gst_sdp_message_get_attribute">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1614">Get the attribute at position @idx in @msg.</doc>
<source-position filename="gstsdpmessage.h" line="539"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1621">the #GstSDPAttribute at position @idx.</doc>
<type name="SDPAttribute" c:type="const GstSDPAttribute*"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1616">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="const GstSDPMessage*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1617">the index</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="get_attribute_val"
c:identifier="gst_sdp_message_get_attribute_val">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1658">Get the first attribute with key @key in @msg.</doc>
<source-position filename="gstsdpmessage.h" line="542"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1665">the attribute value of the first attribute with @key.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1660">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="const GstSDPMessage*"/>
</instance-parameter>
<parameter name="key" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1661">the key</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="get_attribute_val_n"
c:identifier="gst_sdp_message_get_attribute_val_n">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1625">Get the @nth attribute with key @key in @msg.</doc>
<source-position filename="gstsdpmessage.h" line="546"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1633">the attribute value of the @nth attribute with @key.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1627">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="const GstSDPMessage*"/>
</instance-parameter>
<parameter name="key" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1628">the key</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="nth" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1629">the index</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="get_bandwidth"
c:identifier="gst_sdp_message_get_bandwidth">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1157">Get the bandwidth at index @idx from @msg.</doc>
<source-position filename="gstsdpmessage.h" line="461"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1164">a #GstSDPBandwidth.</doc>
<type name="SDPBandwidth" c:type="const GstSDPBandwidth*"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1159">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="const GstSDPMessage*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1160">the bandwidth index</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="get_connection"
c:identifier="gst_sdp_message_get_connection">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1089">Get the connection of @msg.</doc>
<source-position filename="gstsdpmessage.h" line="449"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1095">a #GstSDPConnection. The result remains valid as long as @msg is valid.</doc>
<type name="SDPConnection" c:type="const GstSDPConnection*"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1091">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="const GstSDPMessage*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_email" c:identifier="gst_sdp_message_get_email">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="922">Get the email with number @idx from @msg.</doc>
<source-position filename="gstsdpmessage.h" line="408"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="929">the email at position @idx.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="924">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="const GstSDPMessage*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="925">an email index</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="get_information"
c:identifier="gst_sdp_message_get_information">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="884">Get the information in @msg.</doc>
<source-position filename="gstsdpmessage.h" line="389"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="890">a #GstSDPResult.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="886">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="const GstSDPMessage*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_key" c:identifier="gst_sdp_message_get_key">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1544">Get the encryption information from @msg.</doc>
<source-position filename="gstsdpmessage.h" line="528"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1550">a #GstSDPKey.</doc>
<type name="SDPKey" c:type="const GstSDPKey*"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1546">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="const GstSDPMessage*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_media" c:identifier="gst_sdp_message_get_media">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1755">Get the media description at index @idx in @msg.</doc>
<source-position filename="gstsdpmessage.h" line="570"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1762">a #GstSDPMedia.</doc>
<type name="SDPMedia" c:type="const GstSDPMedia*"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1757">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="const GstSDPMessage*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1758">the index</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="get_origin" c:identifier="gst_sdp_message_get_origin">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="839">Get the origin of @msg.</doc>
<source-position filename="gstsdpmessage.h" line="370"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="845">a #GstSDPOrigin. The result remains valid as long as @msg is valid.</doc>
<type name="SDPOrigin" c:type="const GstSDPOrigin*"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="841">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="const GstSDPMessage*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_phone" c:identifier="gst_sdp_message_get_phone">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="995">Get the phone with number @idx from @msg.</doc>
<source-position filename="gstsdpmessage.h" line="430"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1002">the phone at position @idx.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="997">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="const GstSDPMessage*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="998">a phone index</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="get_session_name"
c:identifier="gst_sdp_message_get_session_name">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="865">Get the session name in @msg.</doc>
<source-position filename="gstsdpmessage.h" line="381"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="871">a #GstSDPResult.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="867">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="const GstSDPMessage*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_time" c:identifier="gst_sdp_message_get_time">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1305">Get time information with index @idx from @msg.</doc>
<source-position filename="gstsdpmessage.h" line="485"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1312">a #GstSDPTime.</doc>
<type name="SDPTime" c:type="const GstSDPTime*"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1307">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="const GstSDPMessage*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1308">the time index</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="get_uri" c:identifier="gst_sdp_message_get_uri">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="903">Get the URI in @msg.</doc>
<source-position filename="gstsdpmessage.h" line="397"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="909">a #GstSDPResult.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="905">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="const GstSDPMessage*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_version" c:identifier="gst_sdp_message_get_version">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="798">Get the version in @msg.</doc>
<source-position filename="gstsdpmessage.h" line="362"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="804">a #GstSDPResult.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="800">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="const GstSDPMessage*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_zone" c:identifier="gst_sdp_message_get_zone">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1440">Get time zone information with index @idx from @msg.</doc>
<source-position filename="gstsdpmessage.h" line="508"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1447">a #GstSDPZone.</doc>
<type name="SDPZone" c:type="const GstSDPZone*"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1442">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="const GstSDPMessage*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1443">the zone index</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="init" c:identifier="gst_sdp_message_init">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="263">Initialize @msg so that its contents are as if it was freshly allocated
with gst_sdp_message_new(). This function is mostly used to initialize a message
allocated on the stack. gst_sdp_message_uninit() undoes this operation.
When this function is invoked on newly allocated data (with malloc or on the
stack), its contents should be set to 0 before calling this function.</doc>
<source-position filename="gstsdpmessage.h" line="326"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="274">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="265">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="GstSDPMessage*"/>
</instance-parameter>
</parameters>
</method>
<method name="insert_attribute"
c:identifier="gst_sdp_message_insert_attribute"
version="1.2">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1676">Insert attribute into the array of attributes in @msg
at index @idx.
When -1 is given as @idx, the attribute is inserted at the end.</doc>
<source-position filename="gstsdpmessage.h" line="550"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1686">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1678">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="GstSDPMessage*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1679">an index</doc>
<type name="gint" c:type="gint"/>
</parameter>
<parameter name="attr" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1680">a #GstSDPAttribute</doc>
<type name="SDPAttribute" c:type="GstSDPAttribute*"/>
</parameter>
</parameters>
</method>
<method name="insert_bandwidth"
c:identifier="gst_sdp_message_insert_bandwidth"
version="1.2">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1171">Insert bandwidth parameters into the array of bandwidths in @msg
at index @idx.
When -1 is given as @idx, the bandwidth is inserted at the end.</doc>
<source-position filename="gstsdpmessage.h" line="464"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1181">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1173">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="GstSDPMessage*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1174">an index</doc>
<type name="gint" c:type="gint"/>
</parameter>
<parameter name="bw" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1175">the bandwidth</doc>
<type name="SDPBandwidth" c:type="GstSDPBandwidth*"/>
</parameter>
</parameters>
</method>
<method name="insert_email"
c:identifier="gst_sdp_message_insert_email"
version="1.2">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="933">Insert @email into the array of emails in @msg at index @idx.
When -1 is given as @idx, the email is inserted at the end.</doc>
<source-position filename="gstsdpmessage.h" line="411"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="942">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="935">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="GstSDPMessage*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="936">an index</doc>
<type name="gint" c:type="gint"/>
</parameter>
<parameter name="email" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="937">an email</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="insert_phone"
c:identifier="gst_sdp_message_insert_phone"
version="1.2">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1006">Insert @phone into the array of phone numbers in @msg at index @idx.
When -1 is given as @idx, the phone is inserted at the end.</doc>
<source-position filename="gstsdpmessage.h" line="433"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1015">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1008">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="GstSDPMessage*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1009">a phone index</doc>
<type name="gint" c:type="gint"/>
</parameter>
<parameter name="phone" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1010">a phone</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="insert_time"
c:identifier="gst_sdp_message_insert_time"
version="1.2">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1319">Insert time parameters into the array of times in @msg
at index @idx.
When -1 is given as @idx, the times are inserted at the end.</doc>
<source-position filename="gstsdpmessage.h" line="488"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1329">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1321">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="GstSDPMessage*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1322">an index</doc>
<type name="gint" c:type="gint"/>
</parameter>
<parameter name="t" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1323">a #GstSDPTime</doc>
<type name="SDPTime" c:type="GstSDPTime*"/>
</parameter>
</parameters>
</method>
<method name="insert_zone"
c:identifier="gst_sdp_message_insert_zone"
version="1.2">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1454">Insert zone parameters into the array of zones in @msg
at index @idx.
When -1 is given as @idx, the zone is inserted at the end.</doc>
<source-position filename="gstsdpmessage.h" line="511"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1464">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1456">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="GstSDPMessage*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1457">an index</doc>
<type name="gint" c:type="gint"/>
</parameter>
<parameter name="zone" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1458">a #GstSDPZone</doc>
<type name="SDPZone" c:type="GstSDPZone*"/>
</parameter>
</parameters>
</method>
<method name="medias_len" c:identifier="gst_sdp_message_medias_len">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1746">Get the number of media descriptions in @msg.</doc>
<source-position filename="gstsdpmessage.h" line="567"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1752">the number of media descriptions in @msg.</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1748">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="const GstSDPMessage*"/>
</instance-parameter>
</parameters>
</method>
<method name="parse_keymgmt"
c:identifier="gst_sdp_message_parse_keymgmt"
version="1.8.1">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="3989">Creates a new #GstMIKEYMessage after parsing the key-mgmt attribute
from a #GstSDPMessage.</doc>
<source-position filename="gstsdpmessage.h" line="747"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="3997">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="3991">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="const GstSDPMessage*"/>
</instance-parameter>
<parameter name="mikey"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="3992">pointer to new #GstMIKEYMessage</doc>
<type name="MIKEYMessage" c:type="GstMIKEYMessage**"/>
</parameter>
</parameters>
</method>
<method name="phones_len" c:identifier="gst_sdp_message_phones_len">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="986">Get the number of phones in @msg.</doc>
<source-position filename="gstsdpmessage.h" line="427"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="992">the number of phones in @msg.</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="988">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="const GstSDPMessage*"/>
</instance-parameter>
</parameters>
</method>
<method name="remove_attribute"
c:identifier="gst_sdp_message_remove_attribute"
version="1.2">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1708">Remove the attribute in @msg at index @idx.</doc>
<source-position filename="gstsdpmessage.h" line="558"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1715">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1710">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="GstSDPMessage*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1711">the index</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="remove_bandwidth"
c:identifier="gst_sdp_message_remove_bandwidth"
version="1.2">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1203">Remove the bandwidth information in @msg at index @idx.</doc>
<source-position filename="gstsdpmessage.h" line="472"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1210">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1205">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="GstSDPMessage*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1206">the bandwidth index</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="remove_email"
c:identifier="gst_sdp_message_remove_email"
version="1.2">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="962">Remove the email in @msg at index @idx.</doc>
<source-position filename="gstsdpmessage.h" line="419"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="969">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="964">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="GstSDPMessage*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="965">an email index</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="remove_phone"
c:identifier="gst_sdp_message_remove_phone"
version="1.2">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1035">Remove the phone number in @msg at index @idx.</doc>
<source-position filename="gstsdpmessage.h" line="441"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1042">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1037">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="GstSDPMessage*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1038">a phone index</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="remove_time"
c:identifier="gst_sdp_message_remove_time"
version="1.2">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1350">Remove the time information in @msg at index @idx.</doc>
<source-position filename="gstsdpmessage.h" line="496"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1357">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1352">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="GstSDPMessage*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1353">the index</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="remove_zone"
c:identifier="gst_sdp_message_remove_zone"
version="1.2">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1485">Remove the zone information in @msg at index @idx.</doc>
<source-position filename="gstsdpmessage.h" line="519"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1492">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1487">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="GstSDPMessage*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1488">the index</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="replace_attribute"
c:identifier="gst_sdp_message_replace_attribute"
version="1.2">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1693">Replace the attribute in @msg at index @idx with @attr.</doc>
<source-position filename="gstsdpmessage.h" line="554"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1701">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1695">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="GstSDPMessage*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1696">the index</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="attr" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1697">a #GstSDPAttribute</doc>
<type name="SDPAttribute" c:type="GstSDPAttribute*"/>
</parameter>
</parameters>
</method>
<method name="replace_bandwidth"
c:identifier="gst_sdp_message_replace_bandwidth"
version="1.2">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1188">Replace the bandwidth information in @msg at index @idx with @bw.</doc>
<source-position filename="gstsdpmessage.h" line="468"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1196">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1190">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="GstSDPMessage*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1191">the bandwidth index</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="bw" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1192">the bandwidth</doc>
<type name="SDPBandwidth" c:type="GstSDPBandwidth*"/>
</parameter>
</parameters>
</method>
<method name="replace_email"
c:identifier="gst_sdp_message_replace_email"
version="1.2">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="948">Replace the email in @msg at index @idx with @email.</doc>
<source-position filename="gstsdpmessage.h" line="415"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="956">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="950">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="GstSDPMessage*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="951">an email index</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="email" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="952">an email</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="replace_phone"
c:identifier="gst_sdp_message_replace_phone"
version="1.2">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1021">Replace the phone number in @msg at index @idx with @phone.</doc>
<source-position filename="gstsdpmessage.h" line="437"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1029">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1023">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="GstSDPMessage*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1024">a phone index</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="phone" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1025">a phone</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="replace_time"
c:identifier="gst_sdp_message_replace_time"
version="1.2">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1335">Replace the time information in @msg at index @idx with @t.</doc>
<source-position filename="gstsdpmessage.h" line="492"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1343">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1337">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="GstSDPMessage*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1338">the index</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="t" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1339">a #GstSDPTime</doc>
<type name="SDPTime" c:type="GstSDPTime*"/>
</parameter>
</parameters>
</method>
<method name="replace_zone"
c:identifier="gst_sdp_message_replace_zone"
version="1.2">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1470">Replace the zone information in @msg at index @idx with @zone.</doc>
<source-position filename="gstsdpmessage.h" line="515"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1478">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1472">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="GstSDPMessage*"/>
</instance-parameter>
<parameter name="idx" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1473">the index</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="zone" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1474">a #GstSDPZone</doc>
<type name="SDPZone" c:type="GstSDPZone*"/>
</parameter>
</parameters>
</method>
<method name="set_connection"
c:identifier="gst_sdp_message_set_connection">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1060">Configure the SDP connection in @msg with the given parameters.</doc>
<source-position filename="gstsdpmessage.h" line="452"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1072">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1062">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="GstSDPMessage*"/>
</instance-parameter>
<parameter name="nettype" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1063">the type of network. "IN" is defined to have the meaning
"Internet".</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="addrtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1065">the type of address.</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="address" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1066">the address</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="ttl" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1067">the time to live of the address</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="addr_number" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1068">the number of layers</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="set_information"
c:identifier="gst_sdp_message_set_information">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="874">Set the information in @msg.</doc>
<source-position filename="gstsdpmessage.h" line="392"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="881">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="876">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="GstSDPMessage*"/>
</instance-parameter>
<parameter name="information" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="877">the information</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_key" c:identifier="gst_sdp_message_set_key">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1522">Adds the encryption information to @msg.</doc>
<source-position filename="gstsdpmessage.h" line="531"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1530">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1524">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="GstSDPMessage*"/>
</instance-parameter>
<parameter name="type" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1525">the encryption type</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="data" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1526">the encryption data</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_origin" c:identifier="gst_sdp_message_set_origin">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="808">Configure the SDP origin in @msg with the given parameters.</doc>
<source-position filename="gstsdpmessage.h" line="373"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="820">#GST_SDP_OK.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="810">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="GstSDPMessage*"/>
</instance-parameter>
<parameter name="username" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="811">the user name</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="sess_id" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="812">a session id</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="sess_version" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="813">a session version</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="nettype" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="814">a network type</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="addrtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="815">an address type</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="addr" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="816">an address</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_session_name"
c:identifier="gst_sdp_message_set_session_name">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="855">Set the session name in @msg.</doc>
<source-position filename="gstsdpmessage.h" line="384"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="862">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="857">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="GstSDPMessage*"/>
</instance-parameter>
<parameter name="session_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="858">the session name</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_uri" c:identifier="gst_sdp_message_set_uri">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="893">Set the URI in @msg.</doc>
<source-position filename="gstsdpmessage.h" line="400"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="900">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="895">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="GstSDPMessage*"/>
</instance-parameter>
<parameter name="uri" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="896">the URI</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_version" c:identifier="gst_sdp_message_set_version">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="788">Set the version in @msg.</doc>
<source-position filename="gstsdpmessage.h" line="365"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="795">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="790">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="GstSDPMessage*"/>
</instance-parameter>
<parameter name="version" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="791">the version</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="times_len" c:identifier="gst_sdp_message_times_len">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1295">Get the number of time information entries in @msg.</doc>
<source-position filename="gstsdpmessage.h" line="482"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1301">the number of time information entries in @msg.</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1297">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="const GstSDPMessage*"/>
</instance-parameter>
</parameters>
</method>
<method name="uninit" c:identifier="gst_sdp_message_uninit">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="299">Free all resources allocated in @msg. @msg should not be used anymore after
this function. This function should be used when @msg was allocated on the
stack and initialized with gst_sdp_message_init().</doc>
<source-position filename="gstsdpmessage.h" line="329"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="307">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="301">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="GstSDPMessage*"/>
</instance-parameter>
</parameters>
</method>
<method name="zones_len" c:identifier="gst_sdp_message_zones_len">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1431">Get the number of time zone information entries in @msg.</doc>
<source-position filename="gstsdpmessage.h" line="505"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1437">the number of time zone information entries in @msg.</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1433">a #GstSDPMessage</doc>
<type name="SDPMessage" c:type="const GstSDPMessage*"/>
</instance-parameter>
</parameters>
</method>
<function name="as_uri" c:identifier="gst_sdp_message_as_uri">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="727">Creates a uri from @msg with the given @scheme. The uri has the format:
\@scheme:///[#type=value *[&amp;type=value]]
Where each value is url encoded.</doc>
<source-position filename="gstsdpmessage.h" line="352"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="738">a uri for @msg.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<parameter name="scheme" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="729">the uri scheme</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="730">the #GstSDPMessage</doc>
<type name="SDPMessage" c:type="const GstSDPMessage*"/>
</parameter>
</parameters>
</function>
<function name="new" c:identifier="gst_sdp_message_new">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="217">Allocate a new GstSDPMessage and store the result in @msg.</doc>
<source-position filename="gstsdpmessage.h" line="323"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="223">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<parameter name="msg"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="219">pointer to new #GstSDPMessage</doc>
<type name="SDPMessage" c:type="GstSDPMessage**"/>
</parameter>
</parameters>
</function>
<function name="new_from_text"
c:identifier="gst_sdp_message_new_from_text"
version="1.16">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="239">Parse @text and create a new SDPMessage from these.</doc>
<source-position filename="gstsdpmessage.h" line="344"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="246">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<parameter name="text" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="242">A dynamically allocated string representing the SDP description</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="msg"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="241">pointer to new #GstSDPMessage</doc>
<type name="SDPMessage" c:type="GstSDPMessage**"/>
</parameter>
</parameters>
</function>
<function name="parse_buffer"
c:identifier="gst_sdp_message_parse_buffer">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="3127">Parse the contents of @size bytes pointed to by @data and store the result in
@msg.</doc>
<source-position filename="gstsdpmessage.h" line="338"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="3136">#GST_SDP_OK on success.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<parameter name="data" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="3129">the start of the buffer</doc>
<array length="1" zero-terminated="0" c:type="const guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
<parameter name="size" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="3130">the size of the buffer</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="3131">the result #GstSDPMessage</doc>
<type name="SDPMessage" c:type="GstSDPMessage*"/>
</parameter>
</parameters>
</function>
<function name="parse_uri" c:identifier="gst_sdp_message_parse_uri">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="623">Parse the null-terminated @uri and store the result in @msg.
The uri should be of the form:
scheme://[address[:ttl=ttl][:noa=noa]]/[sessionname]
[#type=value *[&amp;type=value]]
where value is url encoded. This looslely resembles
http://tools.ietf.org/html/draft-fujikawa-sdp-url-01</doc>
<source-position filename="gstsdpmessage.h" line="349"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="638">#GST_SDP_OK on success.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<parameter name="uri" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="625">the start of the uri</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="626">the result #GstSDPMessage</doc>
<type name="SDPMessage" c:type="GstSDPMessage*"/>
</parameter>
</parameters>
</function>
</record>
<record name="SDPOrigin" c:type="GstSDPOrigin">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="54">The contents of the SDP "o=" field which gives the originator of the session
(their username and the address of the user's host) plus a session id and
session version number.</doc>
<source-position filename="gstsdpmessage.h" line="79"/>
<field name="username" writable="1">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="56">the user's login on the originating host, or it is "-"
if the originating host does not support the concept of user ids.</doc>
<type name="utf8" c:type="gchar*"/>
</field>
<field name="sess_id" writable="1">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="58">is a numeric string such that the tuple of @username, @sess_id,
@nettype, @addrtype and @addr form a globally unique identifier for the
session.</doc>
<type name="utf8" c:type="gchar*"/>
</field>
<field name="sess_version" writable="1">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="61">a version number for this announcement</doc>
<type name="utf8" c:type="gchar*"/>
</field>
<field name="nettype" writable="1">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="62">the type of network. "IN" is defined to have the meaning
"Internet".</doc>
<type name="utf8" c:type="gchar*"/>
</field>
<field name="addrtype" writable="1">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="64">the type of @addr.</doc>
<type name="utf8" c:type="gchar*"/>
</field>
<field name="addr" writable="1">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="65">the globally unique address of the machine from which the session was
created.</doc>
<type name="utf8" c:type="gchar*"/>
</field>
</record>
<enumeration name="SDPResult" c:type="GstSDPResult">
<doc xml:space="preserve"
filename="gstsdp.h"
line="46">Return values for the SDP functions.</doc>
<source-position filename="gstsdp.h" line="56"/>
<member name="ok" value="0" c:identifier="GST_SDP_OK">
<doc xml:space="preserve"
filename="gstsdp.h"
line="48">A successful return value</doc>
</member>
<member name="einval" value="-1" c:identifier="GST_SDP_EINVAL">
<doc xml:space="preserve"
filename="gstsdp.h"
line="49">a function was given invalid parameters</doc>
</member>
</enumeration>
<record name="SDPTime" c:type="GstSDPTime">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="170">The contents of the SDP "t=" field which specify the start and stop times for
a conference session.</doc>
<source-position filename="gstsdpmessage.h" line="185"/>
<field name="start" writable="1">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="172">start time for the conference. The value is the decimal
representation of Network Time Protocol (NTP) time values in seconds</doc>
<type name="utf8" c:type="gchar*"/>
</field>
<field name="stop" writable="1">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="174">stop time for the conference. The value is the decimal
representation of Network Time Protocol (NTP) time values in seconds</doc>
<type name="utf8" c:type="gchar*"/>
</field>
<field name="repeat" writable="1">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="176">repeat times for a session</doc>
<array name="GLib.Array" c:type="GArray*">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
<method name="clear" c:identifier="gst_sdp_time_clear" version="1.2">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1272">Reset the time information in @t.</doc>
<source-position filename="gstsdpmessage.h" line="192"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1278">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="t" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1274">a #GstSDPTime</doc>
<type name="SDPTime" c:type="GstSDPTime*"/>
</instance-parameter>
</parameters>
</method>
<method name="set" c:identifier="gst_sdp_time_set" version="1.2">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1238">Set time information @start, @stop and @repeat in @t.</doc>
<source-position filename="gstsdpmessage.h" line="188"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1247">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="t" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1240">a #GstSDPTime</doc>
<type name="SDPTime" c:type="GstSDPTime*"/>
</instance-parameter>
<parameter name="start" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1241">the start time</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="stop" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1242">the stop time</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="repeat" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1243">the repeat times</doc>
<array c:type="const gchar**">
<type name="utf8" c:type="gchar*"/>
</array>
</parameter>
</parameters>
</method>
</record>
<record name="SDPZone" c:type="GstSDPZone">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="194">The contents of the SDP "z=" field which allows the sender to
specify a list of time zone adjustments and offsets from the base
time.</doc>
<source-position filename="gstsdpmessage.h" line="206"/>
<field name="time" writable="1">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="196">the NTP time that a time zone adjustment happens</doc>
<type name="utf8" c:type="gchar*"/>
</field>
<field name="typed_time" writable="1">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="197">the offset from the time when the session was first scheduled</doc>
<type name="utf8" c:type="gchar*"/>
</field>
<method name="clear" c:identifier="gst_sdp_zone_clear" version="1.2">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1411">Reset the zone information in @zone.</doc>
<source-position filename="gstsdpmessage.h" line="213"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1417">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="zone" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1413">a #GstSDPZone</doc>
<type name="SDPZone" c:type="GstSDPZone*"/>
</instance-parameter>
</parameters>
</method>
<method name="set" c:identifier="gst_sdp_zone_set" version="1.2">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1388">Set zone information in @zone.</doc>
<source-position filename="gstsdpmessage.h" line="209"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1396">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<instance-parameter name="zone" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1390">a #GstSDPZone</doc>
<type name="SDPZone" c:type="GstSDPZone*"/>
</instance-parameter>
<parameter name="adj_time" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1391">the NTP time that a time zone adjustment happens</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="typed_time" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1392">the offset from the time when the session was first scheduled</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
</record>
<constant name="SDP_BWTYPE_AS" value="AS" c:type="GST_SDP_BWTYPE_AS">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="117">The Application-Specific Maximum bandwidth modifier.</doc>
<source-position filename="gstsdpmessage.h" line="122"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="SDP_BWTYPE_CT" value="CT" c:type="GST_SDP_BWTYPE_CT">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="111">The Conference Total bandwidth modifier.</doc>
<source-position filename="gstsdpmessage.h" line="116"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="SDP_BWTYPE_EXT_PREFIX"
value="X-"
c:type="GST_SDP_BWTYPE_EXT_PREFIX">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="123">The extension prefix bandwidth modifier.</doc>
<source-position filename="gstsdpmessage.h" line="128"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="SDP_BWTYPE_RR" value="RR" c:type="GST_SDP_BWTYPE_RR">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="136">RTCP bandwidth allocated to data receivers (RFC 3556).</doc>
<source-position filename="gstsdpmessage.h" line="141"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="SDP_BWTYPE_RS" value="RS" c:type="GST_SDP_BWTYPE_RS">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="130">RTCP bandwidth allocated to active data senders (RFC 3556).</doc>
<source-position filename="gstsdpmessage.h" line="135"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="SDP_BWTYPE_TIAS" value="TIAS" c:type="GST_SDP_BWTYPE_TIAS">
<doc xml:space="preserve"
filename="gstsdpmessage.h"
line="142">Transport Independent Application Specific Maximum bandwidth (RFC 3890).</doc>
<source-position filename="gstsdpmessage.h" line="147"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<function-macro name="SDP_MESSAGE"
c:identifier="GST_SDP_MESSAGE"
introspectable="0">
<source-position filename="gstsdpmessage.h" line="318"/>
<parameters>
<parameter name="object">
</parameter>
</parameters>
</function-macro>
<function-macro name="SDP_MESSAGE_CAST"
c:identifier="GST_SDP_MESSAGE_CAST"
introspectable="0">
<source-position filename="gstsdpmessage.h" line="317"/>
<parameters>
<parameter name="object">
</parameter>
</parameters>
</function-macro>
<function name="sdp_address_is_multicast"
c:identifier="gst_sdp_address_is_multicast">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="452">Check if the given @addr is a multicast address.</doc>
<source-position filename="gstsdpmessage.h" line="357"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="460">TRUE when @addr is multicast.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="nettype" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="454">a network type</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="addrtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="455">an address type</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="addr" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="456">an address</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
<function name="sdp_make_keymgmt"
c:identifier="gst_sdp_make_keymgmt"
version="1.8">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="3916">Makes key management data</doc>
<source-position filename="gstsdpmessage.h" line="744"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="3923">a #gchar key-mgmt data,</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<parameter name="uri" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="3918">a #gchar URI</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="base64" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="3919">a #gchar base64-encoded key data</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
<function name="sdp_media_new"
c:identifier="gst_sdp_media_new"
moved-to="SDPMedia.new">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1798">Allocate a new GstSDPMedia and store the result in @media.</doc>
<source-position filename="gstsdpmessage.h" line="581"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1804">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<parameter name="media"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="1800">pointer to new #GstSDPMedia</doc>
<type name="SDPMedia" c:type="GstSDPMedia**"/>
</parameter>
</parameters>
</function>
<function name="sdp_media_set_media_from_caps"
c:identifier="gst_sdp_media_set_media_from_caps"
moved-to="SDPMedia.set_media_from_caps"
version="1.8">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="3740">Mapping of caps to SDP fields:
a=rtpmap:(payload) (encoding_name) or (clock_rate)[or (encoding_params)]
a=framesize:(payload) (width)-(height)
a=fmtp:(payload) (param)[=(value)];...
a=rtcp-fb:(payload) (param1) [param2]...</doc>
<source-position filename="gstsdpmessage.h" line="741"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="3755">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<parameter name="caps" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="3742">a #GstCaps</doc>
<type name="Gst.Caps" c:type="const GstCaps*"/>
</parameter>
<parameter name="media" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="3743">a #GstSDPMedia</doc>
<type name="SDPMedia" c:type="GstSDPMedia*"/>
</parameter>
</parameters>
</function>
<function name="sdp_message_as_uri"
c:identifier="gst_sdp_message_as_uri"
moved-to="SDPMessage.as_uri">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="727">Creates a uri from @msg with the given @scheme. The uri has the format:
\@scheme:///[#type=value *[&amp;type=value]]
Where each value is url encoded.</doc>
<source-position filename="gstsdpmessage.h" line="352"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="738">a uri for @msg.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<parameter name="scheme" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="729">the uri scheme</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="730">the #GstSDPMessage</doc>
<type name="SDPMessage" c:type="const GstSDPMessage*"/>
</parameter>
</parameters>
</function>
<function name="sdp_message_new"
c:identifier="gst_sdp_message_new"
moved-to="SDPMessage.new">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="217">Allocate a new GstSDPMessage and store the result in @msg.</doc>
<source-position filename="gstsdpmessage.h" line="323"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="223">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<parameter name="msg"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="219">pointer to new #GstSDPMessage</doc>
<type name="SDPMessage" c:type="GstSDPMessage**"/>
</parameter>
</parameters>
</function>
<function name="sdp_message_new_from_text"
c:identifier="gst_sdp_message_new_from_text"
moved-to="SDPMessage.new_from_text"
version="1.16">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="239">Parse @text and create a new SDPMessage from these.</doc>
<source-position filename="gstsdpmessage.h" line="344"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="246">a #GstSDPResult.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<parameter name="text" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="242">A dynamically allocated string representing the SDP description</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="msg"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="241">pointer to new #GstSDPMessage</doc>
<type name="SDPMessage" c:type="GstSDPMessage**"/>
</parameter>
</parameters>
</function>
<function name="sdp_message_parse_buffer"
c:identifier="gst_sdp_message_parse_buffer"
moved-to="SDPMessage.parse_buffer">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="3127">Parse the contents of @size bytes pointed to by @data and store the result in
@msg.</doc>
<source-position filename="gstsdpmessage.h" line="338"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="3136">#GST_SDP_OK on success.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<parameter name="data" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="3129">the start of the buffer</doc>
<array length="1" zero-terminated="0" c:type="const guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
<parameter name="size" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="3130">the size of the buffer</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="3131">the result #GstSDPMessage</doc>
<type name="SDPMessage" c:type="GstSDPMessage*"/>
</parameter>
</parameters>
</function>
<function name="sdp_message_parse_uri"
c:identifier="gst_sdp_message_parse_uri"
moved-to="SDPMessage.parse_uri">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="623">Parse the null-terminated @uri and store the result in @msg.
The uri should be of the form:
scheme://[address[:ttl=ttl][:noa=noa]]/[sessionname]
[#type=value *[&amp;type=value]]
where value is url encoded. This looslely resembles
http://tools.ietf.org/html/draft-fujikawa-sdp-url-01</doc>
<source-position filename="gstsdpmessage.h" line="349"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="638">#GST_SDP_OK on success.</doc>
<type name="SDPResult" c:type="GstSDPResult"/>
</return-value>
<parameters>
<parameter name="uri" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="625">the start of the uri</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="gstsdpmessage.c"
line="626">the result #GstSDPMessage</doc>
<type name="SDPMessage" c:type="GstSDPMessage*"/>
</parameter>
</parameters>
</function>
</namespace>
</repository>