1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3<head> 4<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 5<title>GstSDPMessage: GStreamer Base Plugins 1.0 Library Reference Manual</title> 6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> 7<link rel="home" href="index.html" title="GStreamer Base Plugins 1.0 Library Reference Manual"> 8<link rel="up" href="gstreamer-sdp.html" title="SDP Library"> 9<link rel="prev" href="gstreamer-sdp.html" title="SDP Library"> 10<link rel="next" href="gstreamer-mikey.html" title="MIKEY Library"> 11<meta name="generator" content="GTK-Doc V1.28 (XML mode)"> 12<link rel="stylesheet" href="style.css" type="text/css"> 13</head> 14<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> 15<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle"> 16<td width="100%" align="left" class="shortcuts"> 17<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> 18 <a href="#gst-plugins-base-libs-GstSDPMessage.description" class="shortcut">Description</a></span> 19</td> 20<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> 21<td><a accesskey="u" href="gstreamer-sdp.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> 22<td><a accesskey="p" href="gstreamer-sdp.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> 23<td><a accesskey="n" href="gstreamer-mikey.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> 24</tr></table> 25<div class="refentry"> 26<a name="gst-plugins-base-libs-GstSDPMessage"></a><div class="titlepage"></div> 27<div class="refnamediv"><table width="100%"><tr> 28<td valign="top"> 29<h2><span class="refentrytitle"><a name="gst-plugins-base-libs-GstSDPMessage.top_of_page"></a>GstSDPMessage</span></h2> 30<p>GstSDPMessage — Helper methods for dealing with SDP messages</p> 31</td> 32<td class="gallery_image" valign="top" align="right"></td> 33</tr></table></div> 34<div class="refsect1"> 35<a name="gst-plugins-base-libs-GstSDPMessage.functions"></a><h2>Functions</h2> 36<div class="informaltable"><table class="informaltable" width="100%" border="0"> 37<colgroup> 38<col width="150px" class="functions_return"> 39<col class="functions_name"> 40</colgroup> 41<tbody> 42<tr> 43<td class="function_type"> 44<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 45</td> 46<td class="function_name"> 47<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-connection-set" title="gst_sdp_connection_set ()">gst_sdp_connection_set</a> <span class="c_punctuation">()</span> 48</td> 49</tr> 50<tr> 51<td class="function_type"> 52<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 53</td> 54<td class="function_name"> 55<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-connection-clear" title="gst_sdp_connection_clear ()">gst_sdp_connection_clear</a> <span class="c_punctuation">()</span> 56</td> 57</tr> 58<tr> 59<td class="function_type"> 60<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 61</td> 62<td class="function_name"> 63<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-bandwidth-set" title="gst_sdp_bandwidth_set ()">gst_sdp_bandwidth_set</a> <span class="c_punctuation">()</span> 64</td> 65</tr> 66<tr> 67<td class="function_type"> 68<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 69</td> 70<td class="function_name"> 71<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-bandwidth-clear" title="gst_sdp_bandwidth_clear ()">gst_sdp_bandwidth_clear</a> <span class="c_punctuation">()</span> 72</td> 73</tr> 74<tr> 75<td class="function_type"> 76<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 77</td> 78<td class="function_name"> 79<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-parse-keymgmt" title="gst_sdp_media_parse_keymgmt ()">gst_sdp_media_parse_keymgmt</a> <span class="c_punctuation">()</span> 80</td> 81</tr> 82<tr> 83<td class="function_type"> 84<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 85</td> 86<td class="function_name"> 87<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-parse-keymgmt" title="gst_sdp_message_parse_keymgmt ()">gst_sdp_message_parse_keymgmt</a> <span class="c_punctuation">()</span> 88</td> 89</tr> 90<tr> 91<td class="function_type"> 92<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 93</td> 94<td class="function_name"> 95<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-time-set" title="gst_sdp_time_set ()">gst_sdp_time_set</a> <span class="c_punctuation">()</span> 96</td> 97</tr> 98<tr> 99<td class="function_type"> 100<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 101</td> 102<td class="function_name"> 103<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-time-clear" title="gst_sdp_time_clear ()">gst_sdp_time_clear</a> <span class="c_punctuation">()</span> 104</td> 105</tr> 106<tr> 107<td class="function_type"> 108<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 109</td> 110<td class="function_name"> 111<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-zone-set" title="gst_sdp_zone_set ()">gst_sdp_zone_set</a> <span class="c_punctuation">()</span> 112</td> 113</tr> 114<tr> 115<td class="function_type"> 116<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 117</td> 118<td class="function_name"> 119<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-zone-clear" title="gst_sdp_zone_clear ()">gst_sdp_zone_clear</a> <span class="c_punctuation">()</span> 120</td> 121</tr> 122<tr> 123<td class="function_type"> 124<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 125</td> 126<td class="function_name"> 127<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-attribute-set" title="gst_sdp_attribute_set ()">gst_sdp_attribute_set</a> <span class="c_punctuation">()</span> 128</td> 129</tr> 130<tr> 131<td class="function_type"> 132<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 133</td> 134<td class="function_name"> 135<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-attribute-clear" title="gst_sdp_attribute_clear ()">gst_sdp_attribute_clear</a> <span class="c_punctuation">()</span> 136</td> 137</tr> 138<tr> 139<td class="function_type"> 140<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 141</td> 142<td class="function_name"> 143<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-new" title="gst_sdp_message_new ()">gst_sdp_message_new</a> <span class="c_punctuation">()</span> 144</td> 145</tr> 146<tr> 147<td class="function_type"> 148<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 149</td> 150<td class="function_name"> 151<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-new-from-text" title="gst_sdp_message_new_from_text ()">gst_sdp_message_new_from_text</a> <span class="c_punctuation">()</span> 152</td> 153</tr> 154<tr> 155<td class="function_type"> 156<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 157</td> 158<td class="function_name"> 159<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-copy" title="gst_sdp_message_copy ()">gst_sdp_message_copy</a> <span class="c_punctuation">()</span> 160</td> 161</tr> 162<tr> 163<td class="function_type"> 164<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 165</td> 166<td class="function_name"> 167<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-init" title="gst_sdp_message_init ()">gst_sdp_message_init</a> <span class="c_punctuation">()</span> 168</td> 169</tr> 170<tr> 171<td class="function_type"> 172<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 173</td> 174<td class="function_name"> 175<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-uninit" title="gst_sdp_message_uninit ()">gst_sdp_message_uninit</a> <span class="c_punctuation">()</span> 176</td> 177</tr> 178<tr> 179<td class="function_type"> 180<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 181</td> 182<td class="function_name"> 183<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-free" title="gst_sdp_message_free ()">gst_sdp_message_free</a> <span class="c_punctuation">()</span> 184</td> 185</tr> 186<tr> 187<td class="function_type"> 188<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 189</td> 190<td class="function_name"> 191<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-parse-buffer" title="gst_sdp_message_parse_buffer ()">gst_sdp_message_parse_buffer</a> <span class="c_punctuation">()</span> 192</td> 193</tr> 194<tr> 195<td class="function_type"> 196<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 197</td> 198<td class="function_name"> 199<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-as-text" title="gst_sdp_message_as_text ()">gst_sdp_message_as_text</a> <span class="c_punctuation">()</span> 200</td> 201</tr> 202<tr> 203<td class="function_type"> 204<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 205</td> 206<td class="function_name"> 207<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-parse-uri" title="gst_sdp_message_parse_uri ()">gst_sdp_message_parse_uri</a> <span class="c_punctuation">()</span> 208</td> 209</tr> 210<tr> 211<td class="function_type"> 212<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 213</td> 214<td class="function_name"> 215<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-as-uri" title="gst_sdp_message_as_uri ()">gst_sdp_message_as_uri</a> <span class="c_punctuation">()</span> 216</td> 217</tr> 218<tr> 219<td class="function_type"> 220<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 221</td> 222<td class="function_name"> 223<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-address-is-multicast" title="gst_sdp_address_is_multicast ()">gst_sdp_address_is_multicast</a> <span class="c_punctuation">()</span> 224</td> 225</tr> 226<tr> 227<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 228</td> 229<td class="function_name"> 230<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-get-version" title="gst_sdp_message_get_version ()">gst_sdp_message_get_version</a> <span class="c_punctuation">()</span> 231</td> 232</tr> 233<tr> 234<td class="function_type"> 235<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 236</td> 237<td class="function_name"> 238<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-set-version" title="gst_sdp_message_set_version ()">gst_sdp_message_set_version</a> <span class="c_punctuation">()</span> 239</td> 240</tr> 241<tr> 242<td class="function_type">const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPOrigin" title="GstSDPOrigin"><span class="returnvalue">GstSDPOrigin</span></a> * 243</td> 244<td class="function_name"> 245<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-get-origin" title="gst_sdp_message_get_origin ()">gst_sdp_message_get_origin</a> <span class="c_punctuation">()</span> 246</td> 247</tr> 248<tr> 249<td class="function_type"> 250<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 251</td> 252<td class="function_name"> 253<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-set-origin" title="gst_sdp_message_set_origin ()">gst_sdp_message_set_origin</a> <span class="c_punctuation">()</span> 254</td> 255</tr> 256<tr> 257<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 258</td> 259<td class="function_name"> 260<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-get-session-name" title="gst_sdp_message_get_session_name ()">gst_sdp_message_get_session_name</a> <span class="c_punctuation">()</span> 261</td> 262</tr> 263<tr> 264<td class="function_type"> 265<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 266</td> 267<td class="function_name"> 268<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-set-session-name" title="gst_sdp_message_set_session_name ()">gst_sdp_message_set_session_name</a> <span class="c_punctuation">()</span> 269</td> 270</tr> 271<tr> 272<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 273</td> 274<td class="function_name"> 275<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-get-information" title="gst_sdp_message_get_information ()">gst_sdp_message_get_information</a> <span class="c_punctuation">()</span> 276</td> 277</tr> 278<tr> 279<td class="function_type"> 280<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 281</td> 282<td class="function_name"> 283<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-set-information" title="gst_sdp_message_set_information ()">gst_sdp_message_set_information</a> <span class="c_punctuation">()</span> 284</td> 285</tr> 286<tr> 287<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 288</td> 289<td class="function_name"> 290<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-get-uri" title="gst_sdp_message_get_uri ()">gst_sdp_message_get_uri</a> <span class="c_punctuation">()</span> 291</td> 292</tr> 293<tr> 294<td class="function_type"> 295<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 296</td> 297<td class="function_name"> 298<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-set-uri" title="gst_sdp_message_set_uri ()">gst_sdp_message_set_uri</a> <span class="c_punctuation">()</span> 299</td> 300</tr> 301<tr> 302<td class="function_type"> 303<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> 304</td> 305<td class="function_name"> 306<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-emails-len" title="gst_sdp_message_emails_len ()">gst_sdp_message_emails_len</a> <span class="c_punctuation">()</span> 307</td> 308</tr> 309<tr> 310<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 311</td> 312<td class="function_name"> 313<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-get-email" title="gst_sdp_message_get_email ()">gst_sdp_message_get_email</a> <span class="c_punctuation">()</span> 314</td> 315</tr> 316<tr> 317<td class="function_type"> 318<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 319</td> 320<td class="function_name"> 321<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-insert-email" title="gst_sdp_message_insert_email ()">gst_sdp_message_insert_email</a> <span class="c_punctuation">()</span> 322</td> 323</tr> 324<tr> 325<td class="function_type"> 326<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 327</td> 328<td class="function_name"> 329<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-replace-email" title="gst_sdp_message_replace_email ()">gst_sdp_message_replace_email</a> <span class="c_punctuation">()</span> 330</td> 331</tr> 332<tr> 333<td class="function_type"> 334<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 335</td> 336<td class="function_name"> 337<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-remove-email" title="gst_sdp_message_remove_email ()">gst_sdp_message_remove_email</a> <span class="c_punctuation">()</span> 338</td> 339</tr> 340<tr> 341<td class="function_type"> 342<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 343</td> 344<td class="function_name"> 345<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-add-email" title="gst_sdp_message_add_email ()">gst_sdp_message_add_email</a> <span class="c_punctuation">()</span> 346</td> 347</tr> 348<tr> 349<td class="function_type"> 350<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> 351</td> 352<td class="function_name"> 353<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-phones-len" title="gst_sdp_message_phones_len ()">gst_sdp_message_phones_len</a> <span class="c_punctuation">()</span> 354</td> 355</tr> 356<tr> 357<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 358</td> 359<td class="function_name"> 360<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-get-phone" title="gst_sdp_message_get_phone ()">gst_sdp_message_get_phone</a> <span class="c_punctuation">()</span> 361</td> 362</tr> 363<tr> 364<td class="function_type"> 365<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 366</td> 367<td class="function_name"> 368<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-insert-phone" title="gst_sdp_message_insert_phone ()">gst_sdp_message_insert_phone</a> <span class="c_punctuation">()</span> 369</td> 370</tr> 371<tr> 372<td class="function_type"> 373<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 374</td> 375<td class="function_name"> 376<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-replace-phone" title="gst_sdp_message_replace_phone ()">gst_sdp_message_replace_phone</a> <span class="c_punctuation">()</span> 377</td> 378</tr> 379<tr> 380<td class="function_type"> 381<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 382</td> 383<td class="function_name"> 384<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-remove-phone" title="gst_sdp_message_remove_phone ()">gst_sdp_message_remove_phone</a> <span class="c_punctuation">()</span> 385</td> 386</tr> 387<tr> 388<td class="function_type"> 389<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 390</td> 391<td class="function_name"> 392<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-add-phone" title="gst_sdp_message_add_phone ()">gst_sdp_message_add_phone</a> <span class="c_punctuation">()</span> 393</td> 394</tr> 395<tr> 396<td class="function_type">const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPConnection" title="GstSDPConnection"><span class="returnvalue">GstSDPConnection</span></a> * 397</td> 398<td class="function_name"> 399<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-get-connection" title="gst_sdp_message_get_connection ()">gst_sdp_message_get_connection</a> <span class="c_punctuation">()</span> 400</td> 401</tr> 402<tr> 403<td class="function_type"> 404<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 405</td> 406<td class="function_name"> 407<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-set-connection" title="gst_sdp_message_set_connection ()">gst_sdp_message_set_connection</a> <span class="c_punctuation">()</span> 408</td> 409</tr> 410<tr> 411<td class="function_type"> 412<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> 413</td> 414<td class="function_name"> 415<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-bandwidths-len" title="gst_sdp_message_bandwidths_len ()">gst_sdp_message_bandwidths_len</a> <span class="c_punctuation">()</span> 416</td> 417</tr> 418<tr> 419<td class="function_type">const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPBandwidth" title="GstSDPBandwidth"><span class="returnvalue">GstSDPBandwidth</span></a> * 420</td> 421<td class="function_name"> 422<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-get-bandwidth" title="gst_sdp_message_get_bandwidth ()">gst_sdp_message_get_bandwidth</a> <span class="c_punctuation">()</span> 423</td> 424</tr> 425<tr> 426<td class="function_type"> 427<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 428</td> 429<td class="function_name"> 430<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-insert-bandwidth" title="gst_sdp_message_insert_bandwidth ()">gst_sdp_message_insert_bandwidth</a> <span class="c_punctuation">()</span> 431</td> 432</tr> 433<tr> 434<td class="function_type"> 435<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 436</td> 437<td class="function_name"> 438<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-replace-bandwidth" title="gst_sdp_message_replace_bandwidth ()">gst_sdp_message_replace_bandwidth</a> <span class="c_punctuation">()</span> 439</td> 440</tr> 441<tr> 442<td class="function_type"> 443<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 444</td> 445<td class="function_name"> 446<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-remove-bandwidth" title="gst_sdp_message_remove_bandwidth ()">gst_sdp_message_remove_bandwidth</a> <span class="c_punctuation">()</span> 447</td> 448</tr> 449<tr> 450<td class="function_type"> 451<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 452</td> 453<td class="function_name"> 454<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-add-bandwidth" title="gst_sdp_message_add_bandwidth ()">gst_sdp_message_add_bandwidth</a> <span class="c_punctuation">()</span> 455</td> 456</tr> 457<tr> 458<td class="function_type"> 459<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> 460</td> 461<td class="function_name"> 462<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-times-len" title="gst_sdp_message_times_len ()">gst_sdp_message_times_len</a> <span class="c_punctuation">()</span> 463</td> 464</tr> 465<tr> 466<td class="function_type">const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPTime" title="GstSDPTime"><span class="returnvalue">GstSDPTime</span></a> * 467</td> 468<td class="function_name"> 469<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-get-time" title="gst_sdp_message_get_time ()">gst_sdp_message_get_time</a> <span class="c_punctuation">()</span> 470</td> 471</tr> 472<tr> 473<td class="function_type"> 474<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 475</td> 476<td class="function_name"> 477<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-insert-time" title="gst_sdp_message_insert_time ()">gst_sdp_message_insert_time</a> <span class="c_punctuation">()</span> 478</td> 479</tr> 480<tr> 481<td class="function_type"> 482<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 483</td> 484<td class="function_name"> 485<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-replace-time" title="gst_sdp_message_replace_time ()">gst_sdp_message_replace_time</a> <span class="c_punctuation">()</span> 486</td> 487</tr> 488<tr> 489<td class="function_type"> 490<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 491</td> 492<td class="function_name"> 493<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-remove-time" title="gst_sdp_message_remove_time ()">gst_sdp_message_remove_time</a> <span class="c_punctuation">()</span> 494</td> 495</tr> 496<tr> 497<td class="function_type"> 498<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 499</td> 500<td class="function_name"> 501<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-add-time" title="gst_sdp_message_add_time ()">gst_sdp_message_add_time</a> <span class="c_punctuation">()</span> 502</td> 503</tr> 504<tr> 505<td class="function_type"> 506<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> 507</td> 508<td class="function_name"> 509<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-zones-len" title="gst_sdp_message_zones_len ()">gst_sdp_message_zones_len</a> <span class="c_punctuation">()</span> 510</td> 511</tr> 512<tr> 513<td class="function_type">const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPZone" title="GstSDPZone"><span class="returnvalue">GstSDPZone</span></a> * 514</td> 515<td class="function_name"> 516<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-get-zone" title="gst_sdp_message_get_zone ()">gst_sdp_message_get_zone</a> <span class="c_punctuation">()</span> 517</td> 518</tr> 519<tr> 520<td class="function_type"> 521<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 522</td> 523<td class="function_name"> 524<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-insert-zone" title="gst_sdp_message_insert_zone ()">gst_sdp_message_insert_zone</a> <span class="c_punctuation">()</span> 525</td> 526</tr> 527<tr> 528<td class="function_type"> 529<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 530</td> 531<td class="function_name"> 532<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-replace-zone" title="gst_sdp_message_replace_zone ()">gst_sdp_message_replace_zone</a> <span class="c_punctuation">()</span> 533</td> 534</tr> 535<tr> 536<td class="function_type"> 537<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 538</td> 539<td class="function_name"> 540<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-remove-zone" title="gst_sdp_message_remove_zone ()">gst_sdp_message_remove_zone</a> <span class="c_punctuation">()</span> 541</td> 542</tr> 543<tr> 544<td class="function_type"> 545<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 546</td> 547<td class="function_name"> 548<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-add-zone" title="gst_sdp_message_add_zone ()">gst_sdp_message_add_zone</a> <span class="c_punctuation">()</span> 549</td> 550</tr> 551<tr> 552<td class="function_type">const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPKey" title="GstSDPKey"><span class="returnvalue">GstSDPKey</span></a> * 553</td> 554<td class="function_name"> 555<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-get-key" title="gst_sdp_message_get_key ()">gst_sdp_message_get_key</a> <span class="c_punctuation">()</span> 556</td> 557</tr> 558<tr> 559<td class="function_type"> 560<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 561</td> 562<td class="function_name"> 563<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-set-key" title="gst_sdp_message_set_key ()">gst_sdp_message_set_key</a> <span class="c_punctuation">()</span> 564</td> 565</tr> 566<tr> 567<td class="function_type"> 568<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> 569</td> 570<td class="function_name"> 571<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-attributes-len" title="gst_sdp_message_attributes_len ()">gst_sdp_message_attributes_len</a> <span class="c_punctuation">()</span> 572</td> 573</tr> 574<tr> 575<td class="function_type">const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPAttribute" title="GstSDPAttribute"><span class="returnvalue">GstSDPAttribute</span></a> * 576</td> 577<td class="function_name"> 578<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-get-attribute" title="gst_sdp_message_get_attribute ()">gst_sdp_message_get_attribute</a> <span class="c_punctuation">()</span> 579</td> 580</tr> 581<tr> 582<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 583</td> 584<td class="function_name"> 585<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-get-attribute-val" title="gst_sdp_message_get_attribute_val ()">gst_sdp_message_get_attribute_val</a> <span class="c_punctuation">()</span> 586</td> 587</tr> 588<tr> 589<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 590</td> 591<td class="function_name"> 592<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-get-attribute-val-n" title="gst_sdp_message_get_attribute_val_n ()">gst_sdp_message_get_attribute_val_n</a> <span class="c_punctuation">()</span> 593</td> 594</tr> 595<tr> 596<td class="function_type"> 597<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 598</td> 599<td class="function_name"> 600<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-insert-attribute" title="gst_sdp_message_insert_attribute ()">gst_sdp_message_insert_attribute</a> <span class="c_punctuation">()</span> 601</td> 602</tr> 603<tr> 604<td class="function_type"> 605<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 606</td> 607<td class="function_name"> 608<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-replace-attribute" title="gst_sdp_message_replace_attribute ()">gst_sdp_message_replace_attribute</a> <span class="c_punctuation">()</span> 609</td> 610</tr> 611<tr> 612<td class="function_type"> 613<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 614</td> 615<td class="function_name"> 616<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-remove-attribute" title="gst_sdp_message_remove_attribute ()">gst_sdp_message_remove_attribute</a> <span class="c_punctuation">()</span> 617</td> 618</tr> 619<tr> 620<td class="function_type"> 621<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 622</td> 623<td class="function_name"> 624<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-add-attribute" title="gst_sdp_message_add_attribute ()">gst_sdp_message_add_attribute</a> <span class="c_punctuation">()</span> 625</td> 626</tr> 627<tr> 628<td class="function_type"> 629<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> 630</td> 631<td class="function_name"> 632<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-medias-len" title="gst_sdp_message_medias_len ()">gst_sdp_message_medias_len</a> <span class="c_punctuation">()</span> 633</td> 634</tr> 635<tr> 636<td class="function_type">const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="returnvalue">GstSDPMedia</span></a> * 637</td> 638<td class="function_name"> 639<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-get-media" title="gst_sdp_message_get_media ()">gst_sdp_message_get_media</a> <span class="c_punctuation">()</span> 640</td> 641</tr> 642<tr> 643<td class="function_type"> 644<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 645</td> 646<td class="function_name"> 647<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-add-media" title="gst_sdp_message_add_media ()">gst_sdp_message_add_media</a> <span class="c_punctuation">()</span> 648</td> 649</tr> 650<tr> 651<td class="function_type"> 652<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 653</td> 654<td class="function_name"> 655<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-dump" title="gst_sdp_message_dump ()">gst_sdp_message_dump</a> <span class="c_punctuation">()</span> 656</td> 657</tr> 658<tr> 659<td class="function_type"> 660<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 661</td> 662<td class="function_name"> 663<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-new" title="gst_sdp_media_new ()">gst_sdp_media_new</a> <span class="c_punctuation">()</span> 664</td> 665</tr> 666<tr> 667<td class="function_type"> 668<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 669</td> 670<td class="function_name"> 671<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-copy" title="gst_sdp_media_copy ()">gst_sdp_media_copy</a> <span class="c_punctuation">()</span> 672</td> 673</tr> 674<tr> 675<td class="function_type"> 676<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 677</td> 678<td class="function_name"> 679<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-init" title="gst_sdp_media_init ()">gst_sdp_media_init</a> <span class="c_punctuation">()</span> 680</td> 681</tr> 682<tr> 683<td class="function_type"> 684<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 685</td> 686<td class="function_name"> 687<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-uninit" title="gst_sdp_media_uninit ()">gst_sdp_media_uninit</a> <span class="c_punctuation">()</span> 688</td> 689</tr> 690<tr> 691<td class="function_type"> 692<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 693</td> 694<td class="function_name"> 695<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-free" title="gst_sdp_media_free ()">gst_sdp_media_free</a> <span class="c_punctuation">()</span> 696</td> 697</tr> 698<tr> 699<td class="function_type"> 700<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 701</td> 702<td class="function_name"> 703<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-as-text" title="gst_sdp_media_as_text ()">gst_sdp_media_as_text</a> <span class="c_punctuation">()</span> 704</td> 705</tr> 706<tr> 707<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 708</td> 709<td class="function_name"> 710<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-get-media" title="gst_sdp_media_get_media ()">gst_sdp_media_get_media</a> <span class="c_punctuation">()</span> 711</td> 712</tr> 713<tr> 714<td class="function_type"> 715<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 716</td> 717<td class="function_name"> 718<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-set-media" title="gst_sdp_media_set_media ()">gst_sdp_media_set_media</a> <span class="c_punctuation">()</span> 719</td> 720</tr> 721<tr> 722<td class="function_type"> 723<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> 724</td> 725<td class="function_name"> 726<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-get-port" title="gst_sdp_media_get_port ()">gst_sdp_media_get_port</a> <span class="c_punctuation">()</span> 727</td> 728</tr> 729<tr> 730<td class="function_type"> 731<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> 732</td> 733<td class="function_name"> 734<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-get-num-ports" title="gst_sdp_media_get_num_ports ()">gst_sdp_media_get_num_ports</a> <span class="c_punctuation">()</span> 735</td> 736</tr> 737<tr> 738<td class="function_type"> 739<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 740</td> 741<td class="function_name"> 742<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-set-port-info" title="gst_sdp_media_set_port_info ()">gst_sdp_media_set_port_info</a> <span class="c_punctuation">()</span> 743</td> 744</tr> 745<tr> 746<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 747</td> 748<td class="function_name"> 749<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-get-proto" title="gst_sdp_media_get_proto ()">gst_sdp_media_get_proto</a> <span class="c_punctuation">()</span> 750</td> 751</tr> 752<tr> 753<td class="function_type"> 754<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 755</td> 756<td class="function_name"> 757<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-set-proto" title="gst_sdp_media_set_proto ()">gst_sdp_media_set_proto</a> <span class="c_punctuation">()</span> 758</td> 759</tr> 760<tr> 761<td class="function_type"> 762<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> 763</td> 764<td class="function_name"> 765<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-formats-len" title="gst_sdp_media_formats_len ()">gst_sdp_media_formats_len</a> <span class="c_punctuation">()</span> 766</td> 767</tr> 768<tr> 769<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 770</td> 771<td class="function_name"> 772<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-get-format" title="gst_sdp_media_get_format ()">gst_sdp_media_get_format</a> <span class="c_punctuation">()</span> 773</td> 774</tr> 775<tr> 776<td class="function_type"> 777<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 778</td> 779<td class="function_name"> 780<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-insert-format" title="gst_sdp_media_insert_format ()">gst_sdp_media_insert_format</a> <span class="c_punctuation">()</span> 781</td> 782</tr> 783<tr> 784<td class="function_type"> 785<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 786</td> 787<td class="function_name"> 788<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-replace-format" title="gst_sdp_media_replace_format ()">gst_sdp_media_replace_format</a> <span class="c_punctuation">()</span> 789</td> 790</tr> 791<tr> 792<td class="function_type"> 793<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 794</td> 795<td class="function_name"> 796<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-remove-format" title="gst_sdp_media_remove_format ()">gst_sdp_media_remove_format</a> <span class="c_punctuation">()</span> 797</td> 798</tr> 799<tr> 800<td class="function_type"> 801<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 802</td> 803<td class="function_name"> 804<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-add-format" title="gst_sdp_media_add_format ()">gst_sdp_media_add_format</a> <span class="c_punctuation">()</span> 805</td> 806</tr> 807<tr> 808<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 809</td> 810<td class="function_name"> 811<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-get-information" title="gst_sdp_media_get_information ()">gst_sdp_media_get_information</a> <span class="c_punctuation">()</span> 812</td> 813</tr> 814<tr> 815<td class="function_type"> 816<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 817</td> 818<td class="function_name"> 819<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-set-information" title="gst_sdp_media_set_information ()">gst_sdp_media_set_information</a> <span class="c_punctuation">()</span> 820</td> 821</tr> 822<tr> 823<td class="function_type"> 824<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> 825</td> 826<td class="function_name"> 827<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-connections-len" title="gst_sdp_media_connections_len ()">gst_sdp_media_connections_len</a> <span class="c_punctuation">()</span> 828</td> 829</tr> 830<tr> 831<td class="function_type">const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPConnection" title="GstSDPConnection"><span class="returnvalue">GstSDPConnection</span></a> * 832</td> 833<td class="function_name"> 834<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-get-connection" title="gst_sdp_media_get_connection ()">gst_sdp_media_get_connection</a> <span class="c_punctuation">()</span> 835</td> 836</tr> 837<tr> 838<td class="function_type"> 839<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 840</td> 841<td class="function_name"> 842<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-insert-connection" title="gst_sdp_media_insert_connection ()">gst_sdp_media_insert_connection</a> <span class="c_punctuation">()</span> 843</td> 844</tr> 845<tr> 846<td class="function_type"> 847<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 848</td> 849<td class="function_name"> 850<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-replace-connection" title="gst_sdp_media_replace_connection ()">gst_sdp_media_replace_connection</a> <span class="c_punctuation">()</span> 851</td> 852</tr> 853<tr> 854<td class="function_type"> 855<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 856</td> 857<td class="function_name"> 858<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-remove-connection" title="gst_sdp_media_remove_connection ()">gst_sdp_media_remove_connection</a> <span class="c_punctuation">()</span> 859</td> 860</tr> 861<tr> 862<td class="function_type"> 863<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 864</td> 865<td class="function_name"> 866<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-add-connection" title="gst_sdp_media_add_connection ()">gst_sdp_media_add_connection</a> <span class="c_punctuation">()</span> 867</td> 868</tr> 869<tr> 870<td class="function_type"> 871<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> 872</td> 873<td class="function_name"> 874<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-bandwidths-len" title="gst_sdp_media_bandwidths_len ()">gst_sdp_media_bandwidths_len</a> <span class="c_punctuation">()</span> 875</td> 876</tr> 877<tr> 878<td class="function_type">const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPBandwidth" title="GstSDPBandwidth"><span class="returnvalue">GstSDPBandwidth</span></a> * 879</td> 880<td class="function_name"> 881<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-get-bandwidth" title="gst_sdp_media_get_bandwidth ()">gst_sdp_media_get_bandwidth</a> <span class="c_punctuation">()</span> 882</td> 883</tr> 884<tr> 885<td class="function_type"> 886<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 887</td> 888<td class="function_name"> 889<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-insert-bandwidth" title="gst_sdp_media_insert_bandwidth ()">gst_sdp_media_insert_bandwidth</a> <span class="c_punctuation">()</span> 890</td> 891</tr> 892<tr> 893<td class="function_type"> 894<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 895</td> 896<td class="function_name"> 897<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-replace-bandwidth" title="gst_sdp_media_replace_bandwidth ()">gst_sdp_media_replace_bandwidth</a> <span class="c_punctuation">()</span> 898</td> 899</tr> 900<tr> 901<td class="function_type"> 902<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 903</td> 904<td class="function_name"> 905<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-remove-bandwidth" title="gst_sdp_media_remove_bandwidth ()">gst_sdp_media_remove_bandwidth</a> <span class="c_punctuation">()</span> 906</td> 907</tr> 908<tr> 909<td class="function_type"> 910<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 911</td> 912<td class="function_name"> 913<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-add-bandwidth" title="gst_sdp_media_add_bandwidth ()">gst_sdp_media_add_bandwidth</a> <span class="c_punctuation">()</span> 914</td> 915</tr> 916<tr> 917<td class="function_type">const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPKey" title="GstSDPKey"><span class="returnvalue">GstSDPKey</span></a> * 918</td> 919<td class="function_name"> 920<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-get-key" title="gst_sdp_media_get_key ()">gst_sdp_media_get_key</a> <span class="c_punctuation">()</span> 921</td> 922</tr> 923<tr> 924<td class="function_type"> 925<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 926</td> 927<td class="function_name"> 928<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-set-key" title="gst_sdp_media_set_key ()">gst_sdp_media_set_key</a> <span class="c_punctuation">()</span> 929</td> 930</tr> 931<tr> 932<td class="function_type"> 933<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> 934</td> 935<td class="function_name"> 936<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-attributes-len" title="gst_sdp_media_attributes_len ()">gst_sdp_media_attributes_len</a> <span class="c_punctuation">()</span> 937</td> 938</tr> 939<tr> 940<td class="function_type">const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPAttribute" title="GstSDPAttribute"><span class="returnvalue">GstSDPAttribute</span></a> * 941</td> 942<td class="function_name"> 943<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-get-attribute" title="gst_sdp_media_get_attribute ()">gst_sdp_media_get_attribute</a> <span class="c_punctuation">()</span> 944</td> 945</tr> 946<tr> 947<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 948</td> 949<td class="function_name"> 950<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-get-attribute-val" title="gst_sdp_media_get_attribute_val ()">gst_sdp_media_get_attribute_val</a> <span class="c_punctuation">()</span> 951</td> 952</tr> 953<tr> 954<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 955</td> 956<td class="function_name"> 957<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-get-attribute-val-n" title="gst_sdp_media_get_attribute_val_n ()">gst_sdp_media_get_attribute_val_n</a> <span class="c_punctuation">()</span> 958</td> 959</tr> 960<tr> 961<td class="function_type"> 962<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 963</td> 964<td class="function_name"> 965<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-insert-attribute" title="gst_sdp_media_insert_attribute ()">gst_sdp_media_insert_attribute</a> <span class="c_punctuation">()</span> 966</td> 967</tr> 968<tr> 969<td class="function_type"> 970<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 971</td> 972<td class="function_name"> 973<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-replace-attribute" title="gst_sdp_media_replace_attribute ()">gst_sdp_media_replace_attribute</a> <span class="c_punctuation">()</span> 974</td> 975</tr> 976<tr> 977<td class="function_type"> 978<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 979</td> 980<td class="function_name"> 981<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-remove-attribute" title="gst_sdp_media_remove_attribute ()">gst_sdp_media_remove_attribute</a> <span class="c_punctuation">()</span> 982</td> 983</tr> 984<tr> 985<td class="function_type"> 986<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 987</td> 988<td class="function_name"> 989<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-add-attribute" title="gst_sdp_media_add_attribute ()">gst_sdp_media_add_attribute</a> <span class="c_punctuation">()</span> 990</td> 991</tr> 992<tr> 993<td class="function_type"> 994<a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="returnvalue">GstCaps</span></a> * 995</td> 996<td class="function_name"> 997<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-get-caps-from-media" title="gst_sdp_media_get_caps_from_media ()">gst_sdp_media_get_caps_from_media</a> <span class="c_punctuation">()</span> 998</td> 999</tr> 1000<tr> 1001<td class="function_type"> 1002<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 1003</td> 1004<td class="function_name"> 1005<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-set-media-from-caps" title="gst_sdp_media_set_media_from_caps ()">gst_sdp_media_set_media_from_caps</a> <span class="c_punctuation">()</span> 1006</td> 1007</tr> 1008<tr> 1009<td class="function_type"> 1010<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 1011</td> 1012<td class="function_name"> 1013<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-make-keymgmt" title="gst_sdp_make_keymgmt ()">gst_sdp_make_keymgmt</a> <span class="c_punctuation">()</span> 1014</td> 1015</tr> 1016<tr> 1017<td class="function_type"> 1018<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 1019</td> 1020<td class="function_name"> 1021<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-attributes-to-caps" title="gst_sdp_message_attributes_to_caps ()">gst_sdp_message_attributes_to_caps</a> <span class="c_punctuation">()</span> 1022</td> 1023</tr> 1024<tr> 1025<td class="function_type"> 1026<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 1027</td> 1028<td class="function_name"> 1029<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-attributes-to-caps" title="gst_sdp_media_attributes_to_caps ()">gst_sdp_media_attributes_to_caps</a> <span class="c_punctuation">()</span> 1030</td> 1031</tr> 1032</tbody> 1033</table></div> 1034</div> 1035<div class="refsect1"> 1036<a name="gst-plugins-base-libs-GstSDPMessage.other"></a><h2>Types and Values</h2> 1037<div class="informaltable"><table class="informaltable" width="100%" border="0"> 1038<colgroup> 1039<col width="150px" class="name"> 1040<col class="description"> 1041</colgroup> 1042<tbody> 1043<tr> 1044<td class="datatype_keyword">enum</td> 1045<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult">GstSDPResult</a></td> 1046</tr> 1047<tr> 1048<td class="datatype_keyword"> </td> 1049<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPOrigin" title="GstSDPOrigin">GstSDPOrigin</a></td> 1050</tr> 1051<tr> 1052<td class="datatype_keyword"> </td> 1053<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPConnection" title="GstSDPConnection">GstSDPConnection</a></td> 1054</tr> 1055<tr> 1056<td class="define_keyword">#define</td> 1057<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GST-SDP-BWTYPE-CT:CAPS" title="GST_SDP_BWTYPE_CT">GST_SDP_BWTYPE_CT</a></td> 1058</tr> 1059<tr> 1060<td class="define_keyword">#define</td> 1061<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GST-SDP-BWTYPE-AS:CAPS" title="GST_SDP_BWTYPE_AS">GST_SDP_BWTYPE_AS</a></td> 1062</tr> 1063<tr> 1064<td class="define_keyword">#define</td> 1065<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GST-SDP-BWTYPE-EXT-PREFIX:CAPS" title="GST_SDP_BWTYPE_EXT_PREFIX">GST_SDP_BWTYPE_EXT_PREFIX</a></td> 1066</tr> 1067<tr> 1068<td class="define_keyword">#define</td> 1069<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GST-SDP-BWTYPE-RR:CAPS" title="GST_SDP_BWTYPE_RR">GST_SDP_BWTYPE_RR</a></td> 1070</tr> 1071<tr> 1072<td class="define_keyword">#define</td> 1073<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GST-SDP-BWTYPE-RS:CAPS" title="GST_SDP_BWTYPE_RS">GST_SDP_BWTYPE_RS</a></td> 1074</tr> 1075<tr> 1076<td class="define_keyword">#define</td> 1077<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GST-SDP-BWTYPE-TIAS:CAPS" title="GST_SDP_BWTYPE_TIAS">GST_SDP_BWTYPE_TIAS</a></td> 1078</tr> 1079<tr> 1080<td class="datatype_keyword"> </td> 1081<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPBandwidth" title="GstSDPBandwidth">GstSDPBandwidth</a></td> 1082</tr> 1083<tr> 1084<td class="datatype_keyword"> </td> 1085<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPTime" title="GstSDPTime">GstSDPTime</a></td> 1086</tr> 1087<tr> 1088<td class="datatype_keyword"> </td> 1089<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPZone" title="GstSDPZone">GstSDPZone</a></td> 1090</tr> 1091<tr> 1092<td class="datatype_keyword"> </td> 1093<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPKey" title="GstSDPKey">GstSDPKey</a></td> 1094</tr> 1095<tr> 1096<td class="datatype_keyword"> </td> 1097<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPAttribute" title="GstSDPAttribute">GstSDPAttribute</a></td> 1098</tr> 1099<tr> 1100<td class="datatype_keyword"> </td> 1101<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia">GstSDPMedia</a></td> 1102</tr> 1103<tr> 1104<td class="datatype_keyword"> </td> 1105<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage">GstSDPMessage</a></td> 1106</tr> 1107</tbody> 1108</table></div> 1109</div> 1110<div class="refsect1"> 1111<a name="gst-plugins-base-libs-GstSDPMessage.includes"></a><h2>Includes</h2> 1112<pre class="synopsis">#include <gst/sdp/sdp.h> 1113</pre> 1114</div> 1115<div class="refsect1"> 1116<a name="gst-plugins-base-libs-GstSDPMessage.description"></a><h2>Description</h2> 1117<p>The GstSDPMessage helper functions makes it easy to parse and create SDP 1118messages.</p> 1119</div> 1120<div class="refsect1"> 1121<a name="gst-plugins-base-libs-GstSDPMessage.functions_details"></a><h2>Functions</h2> 1122<div class="refsect2"> 1123<a name="gst-sdp-connection-set"></a><h3>gst_sdp_connection_set ()</h3> 1124<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 1125gst_sdp_connection_set (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPConnection" title="GstSDPConnection"><span class="type">GstSDPConnection</span></a> *conn</code></em>, 1126 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nettype</code></em>, 1127 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *addrtype</code></em>, 1128 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *address</code></em>, 1129 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> ttl</code></em>, 1130 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> addr_number</code></em>);</pre> 1131<p>Set the connection with the given parameters.</p> 1132<div class="refsect3"> 1133<a name="gst-sdp-connection-set.parameters"></a><h4>Parameters</h4> 1134<div class="informaltable"><table class="informaltable" width="100%" border="0"> 1135<colgroup> 1136<col width="150px" class="parameters_name"> 1137<col class="parameters_description"> 1138<col width="200px" class="parameters_annotations"> 1139</colgroup> 1140<tbody> 1141<tr> 1142<td class="parameter_name"><p>conn</p></td> 1143<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPConnection" title="GstSDPConnection"><span class="type">GstSDPConnection</span></a></p></td> 1144<td class="parameter_annotations"> </td> 1145</tr> 1146<tr> 1147<td class="parameter_name"><p>nettype</p></td> 1148<td class="parameter_description"><p>the type of network. "IN" is defined to have the meaning 1149"Internet".</p></td> 1150<td class="parameter_annotations"> </td> 1151</tr> 1152<tr> 1153<td class="parameter_name"><p>addrtype</p></td> 1154<td class="parameter_description"><p>the type of address.</p></td> 1155<td class="parameter_annotations"> </td> 1156</tr> 1157<tr> 1158<td class="parameter_name"><p>address</p></td> 1159<td class="parameter_description"><p>the address</p></td> 1160<td class="parameter_annotations"> </td> 1161</tr> 1162<tr> 1163<td class="parameter_name"><p>ttl</p></td> 1164<td class="parameter_description"><p>the time to live of the address</p></td> 1165<td class="parameter_annotations"> </td> 1166</tr> 1167<tr> 1168<td class="parameter_name"><p>addr_number</p></td> 1169<td class="parameter_description"><p>the number of layers</p></td> 1170<td class="parameter_annotations"> </td> 1171</tr> 1172</tbody> 1173</table></div> 1174</div> 1175<div class="refsect3"> 1176<a name="gst-sdp-connection-set.returns"></a><h4>Returns</h4> 1177<p> <em class="parameter"><code>GST_SDP_OK</code></em> 1178.</p> 1179</div> 1180<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 1181</div> 1182<hr> 1183<div class="refsect2"> 1184<a name="gst-sdp-connection-clear"></a><h3>gst_sdp_connection_clear ()</h3> 1185<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 1186gst_sdp_connection_clear (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPConnection" title="GstSDPConnection"><span class="type">GstSDPConnection</span></a> *conn</code></em>);</pre> 1187<p>Clear the connection.</p> 1188<div class="refsect3"> 1189<a name="gst-sdp-connection-clear.parameters"></a><h4>Parameters</h4> 1190<div class="informaltable"><table class="informaltable" width="100%" border="0"> 1191<colgroup> 1192<col width="150px" class="parameters_name"> 1193<col class="parameters_description"> 1194<col width="200px" class="parameters_annotations"> 1195</colgroup> 1196<tbody><tr> 1197<td class="parameter_name"><p>conn</p></td> 1198<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPConnection" title="GstSDPConnection"><span class="type">GstSDPConnection</span></a></p></td> 1199<td class="parameter_annotations"> </td> 1200</tr></tbody> 1201</table></div> 1202</div> 1203<div class="refsect3"> 1204<a name="gst-sdp-connection-clear.returns"></a><h4>Returns</h4> 1205<p> <em class="parameter"><code>GST_SDP_OK</code></em> 1206.</p> 1207</div> 1208<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 1209</div> 1210<hr> 1211<div class="refsect2"> 1212<a name="gst-sdp-bandwidth-set"></a><h3>gst_sdp_bandwidth_set ()</h3> 1213<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 1214gst_sdp_bandwidth_set (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPBandwidth" title="GstSDPBandwidth"><span class="type">GstSDPBandwidth</span></a> *bw</code></em>, 1215 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *bwtype</code></em>, 1216 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> bandwidth</code></em>);</pre> 1217<p>Set bandwidth information in <em class="parameter"><code>bw</code></em> 1218.</p> 1219<div class="refsect3"> 1220<a name="gst-sdp-bandwidth-set.parameters"></a><h4>Parameters</h4> 1221<div class="informaltable"><table class="informaltable" width="100%" border="0"> 1222<colgroup> 1223<col width="150px" class="parameters_name"> 1224<col class="parameters_description"> 1225<col width="200px" class="parameters_annotations"> 1226</colgroup> 1227<tbody> 1228<tr> 1229<td class="parameter_name"><p>bw</p></td> 1230<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPBandwidth" title="GstSDPBandwidth"><span class="type">GstSDPBandwidth</span></a></p></td> 1231<td class="parameter_annotations"> </td> 1232</tr> 1233<tr> 1234<td class="parameter_name"><p>bwtype</p></td> 1235<td class="parameter_description"><p>the bandwidth modifier type</p></td> 1236<td class="parameter_annotations"> </td> 1237</tr> 1238<tr> 1239<td class="parameter_name"><p>bandwidth</p></td> 1240<td class="parameter_description"><p>the bandwidth in kilobits per second</p></td> 1241<td class="parameter_annotations"> </td> 1242</tr> 1243</tbody> 1244</table></div> 1245</div> 1246<div class="refsect3"> 1247<a name="gst-sdp-bandwidth-set.returns"></a><h4>Returns</h4> 1248<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 1249</div> 1250<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 1251</div> 1252<hr> 1253<div class="refsect2"> 1254<a name="gst-sdp-bandwidth-clear"></a><h3>gst_sdp_bandwidth_clear ()</h3> 1255<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 1256gst_sdp_bandwidth_clear (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPBandwidth" title="GstSDPBandwidth"><span class="type">GstSDPBandwidth</span></a> *bw</code></em>);</pre> 1257<p>Reset the bandwidth information in <em class="parameter"><code>bw</code></em> 1258.</p> 1259<div class="refsect3"> 1260<a name="gst-sdp-bandwidth-clear.parameters"></a><h4>Parameters</h4> 1261<div class="informaltable"><table class="informaltable" width="100%" border="0"> 1262<colgroup> 1263<col width="150px" class="parameters_name"> 1264<col class="parameters_description"> 1265<col width="200px" class="parameters_annotations"> 1266</colgroup> 1267<tbody><tr> 1268<td class="parameter_name"><p>bw</p></td> 1269<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPBandwidth" title="GstSDPBandwidth"><span class="type">GstSDPBandwidth</span></a></p></td> 1270<td class="parameter_annotations"> </td> 1271</tr></tbody> 1272</table></div> 1273</div> 1274<div class="refsect3"> 1275<a name="gst-sdp-bandwidth-clear.returns"></a><h4>Returns</h4> 1276<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 1277</div> 1278<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 1279</div> 1280<hr> 1281<div class="refsect2"> 1282<a name="gst-sdp-media-parse-keymgmt"></a><h3>gst_sdp_media_parse_keymgmt ()</h3> 1283<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 1284gst_sdp_media_parse_keymgmt (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> *media</code></em>, 1285 <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstMIKEYMessage.html#GstMIKEYMessage" title="struct GstMIKEYMessage"><span class="type">GstMIKEYMessage</span></a> **mikey</code></em>);</pre> 1286<p>Creates a new <a class="link" href="gst-plugins-base-libs-GstMIKEYMessage.html#GstMIKEYMessage" title="struct GstMIKEYMessage"><span class="type">GstMIKEYMessage</span></a> after parsing the key-mgmt attribute 1287from a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a>.</p> 1288<div class="refsect3"> 1289<a name="gst-sdp-media-parse-keymgmt.parameters"></a><h4>Parameters</h4> 1290<div class="informaltable"><table class="informaltable" width="100%" border="0"> 1291<colgroup> 1292<col width="150px" class="parameters_name"> 1293<col class="parameters_description"> 1294<col width="200px" class="parameters_annotations"> 1295</colgroup> 1296<tbody> 1297<tr> 1298<td class="parameter_name"><p>media</p></td> 1299<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a></p></td> 1300<td class="parameter_annotations"> </td> 1301</tr> 1302<tr> 1303<td class="parameter_name"><p>mikey</p></td> 1304<td class="parameter_description"><p>pointer to new <a class="link" href="gst-plugins-base-libs-GstMIKEYMessage.html#GstMIKEYMessage" title="struct GstMIKEYMessage"><span class="type">GstMIKEYMessage</span></a>. </p></td> 1305<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td> 1306</tr> 1307</tbody> 1308</table></div> 1309</div> 1310<div class="refsect3"> 1311<a name="gst-sdp-media-parse-keymgmt.returns"></a><h4>Returns</h4> 1312<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 1313</div> 1314<p class="since">Since: <a class="link" href="ix07.html#api-index-1.8.1">1.8.1</a></p> 1315</div> 1316<hr> 1317<div class="refsect2"> 1318<a name="gst-sdp-message-parse-keymgmt"></a><h3>gst_sdp_message_parse_keymgmt ()</h3> 1319<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 1320gst_sdp_message_parse_keymgmt (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>, 1321 <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstMIKEYMessage.html#GstMIKEYMessage" title="struct GstMIKEYMessage"><span class="type">GstMIKEYMessage</span></a> **mikey</code></em>);</pre> 1322<p>Creates a new <a class="link" href="gst-plugins-base-libs-GstMIKEYMessage.html#GstMIKEYMessage" title="struct GstMIKEYMessage"><span class="type">GstMIKEYMessage</span></a> after parsing the key-mgmt attribute 1323from a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a>.</p> 1324<div class="refsect3"> 1325<a name="gst-sdp-message-parse-keymgmt.parameters"></a><h4>Parameters</h4> 1326<div class="informaltable"><table class="informaltable" width="100%" border="0"> 1327<colgroup> 1328<col width="150px" class="parameters_name"> 1329<col class="parameters_description"> 1330<col width="200px" class="parameters_annotations"> 1331</colgroup> 1332<tbody> 1333<tr> 1334<td class="parameter_name"><p>msg</p></td> 1335<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 1336<td class="parameter_annotations"> </td> 1337</tr> 1338<tr> 1339<td class="parameter_name"><p>mikey</p></td> 1340<td class="parameter_description"><p>pointer to new <a class="link" href="gst-plugins-base-libs-GstMIKEYMessage.html#GstMIKEYMessage" title="struct GstMIKEYMessage"><span class="type">GstMIKEYMessage</span></a>. </p></td> 1341<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td> 1342</tr> 1343</tbody> 1344</table></div> 1345</div> 1346<div class="refsect3"> 1347<a name="gst-sdp-message-parse-keymgmt.returns"></a><h4>Returns</h4> 1348<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 1349</div> 1350<p class="since">Since: <a class="link" href="ix07.html#api-index-1.8.1">1.8.1</a></p> 1351</div> 1352<hr> 1353<div class="refsect2"> 1354<a name="gst-sdp-time-set"></a><h3>gst_sdp_time_set ()</h3> 1355<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 1356gst_sdp_time_set (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPTime" title="GstSDPTime"><span class="type">GstSDPTime</span></a> *t</code></em>, 1357 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *start</code></em>, 1358 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *stop</code></em>, 1359 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **repeat</code></em>);</pre> 1360<p>Set time information <em class="parameter"><code>start</code></em> 1361, <em class="parameter"><code>stop</code></em> 1362 and <em class="parameter"><code>repeat</code></em> 1363 in <em class="parameter"><code>t</code></em> 1364.</p> 1365<div class="refsect3"> 1366<a name="gst-sdp-time-set.parameters"></a><h4>Parameters</h4> 1367<div class="informaltable"><table class="informaltable" width="100%" border="0"> 1368<colgroup> 1369<col width="150px" class="parameters_name"> 1370<col class="parameters_description"> 1371<col width="200px" class="parameters_annotations"> 1372</colgroup> 1373<tbody> 1374<tr> 1375<td class="parameter_name"><p>t</p></td> 1376<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPTime" title="GstSDPTime"><span class="type">GstSDPTime</span></a></p></td> 1377<td class="parameter_annotations"> </td> 1378</tr> 1379<tr> 1380<td class="parameter_name"><p>start</p></td> 1381<td class="parameter_description"><p>the start time</p></td> 1382<td class="parameter_annotations"> </td> 1383</tr> 1384<tr> 1385<td class="parameter_name"><p>stop</p></td> 1386<td class="parameter_description"><p>the stop time</p></td> 1387<td class="parameter_annotations"> </td> 1388</tr> 1389<tr> 1390<td class="parameter_name"><p>repeat</p></td> 1391<td class="parameter_description"><p>the repeat times. </p></td> 1392<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1]</span></td> 1393</tr> 1394</tbody> 1395</table></div> 1396</div> 1397<div class="refsect3"> 1398<a name="gst-sdp-time-set.returns"></a><h4>Returns</h4> 1399<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 1400</div> 1401<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 1402</div> 1403<hr> 1404<div class="refsect2"> 1405<a name="gst-sdp-time-clear"></a><h3>gst_sdp_time_clear ()</h3> 1406<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 1407gst_sdp_time_clear (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPTime" title="GstSDPTime"><span class="type">GstSDPTime</span></a> *t</code></em>);</pre> 1408<p>Reset the time information in <em class="parameter"><code>t</code></em> 1409.</p> 1410<div class="refsect3"> 1411<a name="gst-sdp-time-clear.parameters"></a><h4>Parameters</h4> 1412<div class="informaltable"><table class="informaltable" width="100%" border="0"> 1413<colgroup> 1414<col width="150px" class="parameters_name"> 1415<col class="parameters_description"> 1416<col width="200px" class="parameters_annotations"> 1417</colgroup> 1418<tbody><tr> 1419<td class="parameter_name"><p>t</p></td> 1420<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPTime" title="GstSDPTime"><span class="type">GstSDPTime</span></a></p></td> 1421<td class="parameter_annotations"> </td> 1422</tr></tbody> 1423</table></div> 1424</div> 1425<div class="refsect3"> 1426<a name="gst-sdp-time-clear.returns"></a><h4>Returns</h4> 1427<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 1428</div> 1429<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 1430</div> 1431<hr> 1432<div class="refsect2"> 1433<a name="gst-sdp-zone-set"></a><h3>gst_sdp_zone_set ()</h3> 1434<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 1435gst_sdp_zone_set (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPZone" title="GstSDPZone"><span class="type">GstSDPZone</span></a> *zone</code></em>, 1436 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *adj_time</code></em>, 1437 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *typed_time</code></em>);</pre> 1438<p>Set zone information in <em class="parameter"><code>zone</code></em> 1439.</p> 1440<div class="refsect3"> 1441<a name="gst-sdp-zone-set.parameters"></a><h4>Parameters</h4> 1442<div class="informaltable"><table class="informaltable" width="100%" border="0"> 1443<colgroup> 1444<col width="150px" class="parameters_name"> 1445<col class="parameters_description"> 1446<col width="200px" class="parameters_annotations"> 1447</colgroup> 1448<tbody> 1449<tr> 1450<td class="parameter_name"><p>zone</p></td> 1451<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPZone" title="GstSDPZone"><span class="type">GstSDPZone</span></a></p></td> 1452<td class="parameter_annotations"> </td> 1453</tr> 1454<tr> 1455<td class="parameter_name"><p>adj_time</p></td> 1456<td class="parameter_description"><p>the NTP time that a time zone adjustment happens</p></td> 1457<td class="parameter_annotations"> </td> 1458</tr> 1459<tr> 1460<td class="parameter_name"><p>typed_time</p></td> 1461<td class="parameter_description"><p>the offset from the time when the session was first scheduled</p></td> 1462<td class="parameter_annotations"> </td> 1463</tr> 1464</tbody> 1465</table></div> 1466</div> 1467<div class="refsect3"> 1468<a name="gst-sdp-zone-set.returns"></a><h4>Returns</h4> 1469<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 1470</div> 1471<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 1472</div> 1473<hr> 1474<div class="refsect2"> 1475<a name="gst-sdp-zone-clear"></a><h3>gst_sdp_zone_clear ()</h3> 1476<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 1477gst_sdp_zone_clear (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPZone" title="GstSDPZone"><span class="type">GstSDPZone</span></a> *zone</code></em>);</pre> 1478<p>Reset the zone information in <em class="parameter"><code>zone</code></em> 1479.</p> 1480<div class="refsect3"> 1481<a name="gst-sdp-zone-clear.parameters"></a><h4>Parameters</h4> 1482<div class="informaltable"><table class="informaltable" width="100%" border="0"> 1483<colgroup> 1484<col width="150px" class="parameters_name"> 1485<col class="parameters_description"> 1486<col width="200px" class="parameters_annotations"> 1487</colgroup> 1488<tbody><tr> 1489<td class="parameter_name"><p>zone</p></td> 1490<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPZone" title="GstSDPZone"><span class="type">GstSDPZone</span></a></p></td> 1491<td class="parameter_annotations"> </td> 1492</tr></tbody> 1493</table></div> 1494</div> 1495<div class="refsect3"> 1496<a name="gst-sdp-zone-clear.returns"></a><h4>Returns</h4> 1497<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 1498</div> 1499<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 1500</div> 1501<hr> 1502<div class="refsect2"> 1503<a name="gst-sdp-attribute-set"></a><h3>gst_sdp_attribute_set ()</h3> 1504<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 1505gst_sdp_attribute_set (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPAttribute" title="GstSDPAttribute"><span class="type">GstSDPAttribute</span></a> *attr</code></em>, 1506 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>, 1507 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *value</code></em>);</pre> 1508<p>Set the attribute with <em class="parameter"><code>key</code></em> 1509 and <em class="parameter"><code>value</code></em> 1510.</p> 1511<div class="refsect3"> 1512<a name="gst-sdp-attribute-set.parameters"></a><h4>Parameters</h4> 1513<div class="informaltable"><table class="informaltable" width="100%" border="0"> 1514<colgroup> 1515<col width="150px" class="parameters_name"> 1516<col class="parameters_description"> 1517<col width="200px" class="parameters_annotations"> 1518</colgroup> 1519<tbody> 1520<tr> 1521<td class="parameter_name"><p>attr</p></td> 1522<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPAttribute" title="GstSDPAttribute"><span class="type">GstSDPAttribute</span></a></p></td> 1523<td class="parameter_annotations"> </td> 1524</tr> 1525<tr> 1526<td class="parameter_name"><p>key</p></td> 1527<td class="parameter_description"><p>the key</p></td> 1528<td class="parameter_annotations"> </td> 1529</tr> 1530<tr> 1531<td class="parameter_name"><p>value</p></td> 1532<td class="parameter_description"><p>the value. </p></td> 1533<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td> 1534</tr> 1535</tbody> 1536</table></div> 1537</div> 1538<div class="refsect3"> 1539<a name="gst-sdp-attribute-set.returns"></a><h4>Returns</h4> 1540<p> <em class="parameter"><code>GST_SDP_OK</code></em> 1541.</p> 1542</div> 1543<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 1544</div> 1545<hr> 1546<div class="refsect2"> 1547<a name="gst-sdp-attribute-clear"></a><h3>gst_sdp_attribute_clear ()</h3> 1548<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 1549gst_sdp_attribute_clear (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPAttribute" title="GstSDPAttribute"><span class="type">GstSDPAttribute</span></a> *attr</code></em>);</pre> 1550<p>Clear the attribute.</p> 1551<div class="refsect3"> 1552<a name="gst-sdp-attribute-clear.parameters"></a><h4>Parameters</h4> 1553<div class="informaltable"><table class="informaltable" width="100%" border="0"> 1554<colgroup> 1555<col width="150px" class="parameters_name"> 1556<col class="parameters_description"> 1557<col width="200px" class="parameters_annotations"> 1558</colgroup> 1559<tbody><tr> 1560<td class="parameter_name"><p>attr</p></td> 1561<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPAttribute" title="GstSDPAttribute"><span class="type">GstSDPAttribute</span></a></p></td> 1562<td class="parameter_annotations"> </td> 1563</tr></tbody> 1564</table></div> 1565</div> 1566<div class="refsect3"> 1567<a name="gst-sdp-attribute-clear.returns"></a><h4>Returns</h4> 1568<p> <em class="parameter"><code>GST_SDP_OK</code></em> 1569.</p> 1570</div> 1571<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 1572</div> 1573<hr> 1574<div class="refsect2"> 1575<a name="gst-sdp-message-new"></a><h3>gst_sdp_message_new ()</h3> 1576<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 1577gst_sdp_message_new (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> **msg</code></em>);</pre> 1578<p>Allocate a new GstSDPMessage and store the result in <em class="parameter"><code>msg</code></em> 1579.</p> 1580<div class="refsect3"> 1581<a name="gst-sdp-message-new.parameters"></a><h4>Parameters</h4> 1582<div class="informaltable"><table class="informaltable" width="100%" border="0"> 1583<colgroup> 1584<col width="150px" class="parameters_name"> 1585<col class="parameters_description"> 1586<col width="200px" class="parameters_annotations"> 1587</colgroup> 1588<tbody><tr> 1589<td class="parameter_name"><p>msg</p></td> 1590<td class="parameter_description"><p>pointer to new <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a>. </p></td> 1591<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td> 1592</tr></tbody> 1593</table></div> 1594</div> 1595<div class="refsect3"> 1596<a name="gst-sdp-message-new.returns"></a><h4>Returns</h4> 1597<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 1598</div> 1599</div> 1600<hr> 1601<div class="refsect2"> 1602<a name="gst-sdp-message-new-from-text"></a><h3>gst_sdp_message_new_from_text ()</h3> 1603<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 1604gst_sdp_message_new_from_text (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>, 1605 <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> **msg</code></em>);</pre> 1606<p>Parse <em class="parameter"><code>text</code></em> 1607 and create a new SDPMessage from these.</p> 1608<div class="refsect3"> 1609<a name="gst-sdp-message-new-from-text.parameters"></a><h4>Parameters</h4> 1610<div class="informaltable"><table class="informaltable" width="100%" border="0"> 1611<colgroup> 1612<col width="150px" class="parameters_name"> 1613<col class="parameters_description"> 1614<col width="200px" class="parameters_annotations"> 1615</colgroup> 1616<tbody> 1617<tr> 1618<td class="parameter_name"><p>msg</p></td> 1619<td class="parameter_description"><p>pointer to new <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a>. </p></td> 1620<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td> 1621</tr> 1622<tr> 1623<td class="parameter_name"><p>text</p></td> 1624<td class="parameter_description"><p>A dynamically allocated string representing the SDP description</p></td> 1625<td class="parameter_annotations"> </td> 1626</tr> 1627</tbody> 1628</table></div> 1629</div> 1630<div class="refsect3"> 1631<a name="gst-sdp-message-new-from-text.returns"></a><h4>Returns</h4> 1632<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 1633</div> 1634<p class="since">Since: <a class="link" href="ix03.html#api-index-1.16">1.16</a></p> 1635</div> 1636<hr> 1637<div class="refsect2"> 1638<a name="gst-sdp-message-copy"></a><h3>gst_sdp_message_copy ()</h3> 1639<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 1640gst_sdp_message_copy (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>, 1641 <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> **copy</code></em>);</pre> 1642<p>Allocate a new copy of <em class="parameter"><code>msg</code></em> 1643 and store the result in <em class="parameter"><code>copy</code></em> 1644. The value in 1645<em class="parameter"><code>copy</code></em> 1646 should be release with gst_sdp_message_free function.</p> 1647<div class="refsect3"> 1648<a name="gst-sdp-message-copy.parameters"></a><h4>Parameters</h4> 1649<div class="informaltable"><table class="informaltable" width="100%" border="0"> 1650<colgroup> 1651<col width="150px" class="parameters_name"> 1652<col class="parameters_description"> 1653<col width="200px" class="parameters_annotations"> 1654</colgroup> 1655<tbody> 1656<tr> 1657<td class="parameter_name"><p>msg</p></td> 1658<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 1659<td class="parameter_annotations"> </td> 1660</tr> 1661<tr> 1662<td class="parameter_name"><p>copy</p></td> 1663<td class="parameter_description"><p>pointer to new <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a>. </p></td> 1664<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td> 1665</tr> 1666</tbody> 1667</table></div> 1668</div> 1669<div class="refsect3"> 1670<a name="gst-sdp-message-copy.returns"></a><h4>Returns</h4> 1671<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a></p> 1672</div> 1673<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 1674</div> 1675<hr> 1676<div class="refsect2"> 1677<a name="gst-sdp-message-init"></a><h3>gst_sdp_message_init ()</h3> 1678<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 1679gst_sdp_message_init (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>);</pre> 1680<p>Initialize <em class="parameter"><code>msg</code></em> 1681 so that its contents are as if it was freshly allocated 1682with <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-new" title="gst_sdp_message_new ()"><code class="function">gst_sdp_message_new()</code></a>. This function is mostly used to initialize a message 1683allocated on the stack. <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-uninit" title="gst_sdp_message_uninit ()"><code class="function">gst_sdp_message_uninit()</code></a> undoes this operation.</p> 1684<p>When this function is invoked on newly allocated data (with malloc or on the 1685stack), its contents should be set to 0 before calling this function.</p> 1686<div class="refsect3"> 1687<a name="gst-sdp-message-init.parameters"></a><h4>Parameters</h4> 1688<div class="informaltable"><table class="informaltable" width="100%" border="0"> 1689<colgroup> 1690<col width="150px" class="parameters_name"> 1691<col class="parameters_description"> 1692<col width="200px" class="parameters_annotations"> 1693</colgroup> 1694<tbody><tr> 1695<td class="parameter_name"><p>msg</p></td> 1696<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 1697<td class="parameter_annotations"> </td> 1698</tr></tbody> 1699</table></div> 1700</div> 1701<div class="refsect3"> 1702<a name="gst-sdp-message-init.returns"></a><h4>Returns</h4> 1703<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 1704</div> 1705</div> 1706<hr> 1707<div class="refsect2"> 1708<a name="gst-sdp-message-uninit"></a><h3>gst_sdp_message_uninit ()</h3> 1709<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 1710gst_sdp_message_uninit (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>);</pre> 1711<p>Free all resources allocated in <em class="parameter"><code>msg</code></em> 1712. <em class="parameter"><code>msg</code></em> 1713 should not be used anymore after 1714this function. This function should be used when <em class="parameter"><code>msg</code></em> 1715 was allocated on the 1716stack and initialized with <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-init" title="gst_sdp_message_init ()"><code class="function">gst_sdp_message_init()</code></a>.</p> 1717<div class="refsect3"> 1718<a name="gst-sdp-message-uninit.parameters"></a><h4>Parameters</h4> 1719<div class="informaltable"><table class="informaltable" width="100%" border="0"> 1720<colgroup> 1721<col width="150px" class="parameters_name"> 1722<col class="parameters_description"> 1723<col width="200px" class="parameters_annotations"> 1724</colgroup> 1725<tbody><tr> 1726<td class="parameter_name"><p>msg</p></td> 1727<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 1728<td class="parameter_annotations"> </td> 1729</tr></tbody> 1730</table></div> 1731</div> 1732<div class="refsect3"> 1733<a name="gst-sdp-message-uninit.returns"></a><h4>Returns</h4> 1734<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 1735</div> 1736</div> 1737<hr> 1738<div class="refsect2"> 1739<a name="gst-sdp-message-free"></a><h3>gst_sdp_message_free ()</h3> 1740<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 1741gst_sdp_message_free (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>);</pre> 1742<p>Free all resources allocated by <em class="parameter"><code>msg</code></em> 1743. <em class="parameter"><code>msg</code></em> 1744 should not be used anymore after 1745this function. This function should be used when <em class="parameter"><code>msg</code></em> 1746 was dynamically 1747allocated with <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-message-new" title="gst_sdp_message_new ()"><code class="function">gst_sdp_message_new()</code></a>.</p> 1748<div class="refsect3"> 1749<a name="gst-sdp-message-free.parameters"></a><h4>Parameters</h4> 1750<div class="informaltable"><table class="informaltable" width="100%" border="0"> 1751<colgroup> 1752<col width="150px" class="parameters_name"> 1753<col class="parameters_description"> 1754<col width="200px" class="parameters_annotations"> 1755</colgroup> 1756<tbody><tr> 1757<td class="parameter_name"><p>msg</p></td> 1758<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 1759<td class="parameter_annotations"> </td> 1760</tr></tbody> 1761</table></div> 1762</div> 1763<div class="refsect3"> 1764<a name="gst-sdp-message-free.returns"></a><h4>Returns</h4> 1765<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 1766</div> 1767</div> 1768<hr> 1769<div class="refsect2"> 1770<a name="gst-sdp-message-parse-buffer"></a><h3>gst_sdp_message_parse_buffer ()</h3> 1771<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 1772gst_sdp_message_parse_buffer (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> *data</code></em>, 1773 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> size</code></em>, 1774 <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>);</pre> 1775<p>Parse the contents of <em class="parameter"><code>size</code></em> 1776 bytes pointed to by <em class="parameter"><code>data</code></em> 1777 and store the result in 1778<em class="parameter"><code>msg</code></em> 1779.</p> 1780<div class="refsect3"> 1781<a name="gst-sdp-message-parse-buffer.parameters"></a><h4>Parameters</h4> 1782<div class="informaltable"><table class="informaltable" width="100%" border="0"> 1783<colgroup> 1784<col width="150px" class="parameters_name"> 1785<col class="parameters_description"> 1786<col width="200px" class="parameters_annotations"> 1787</colgroup> 1788<tbody> 1789<tr> 1790<td class="parameter_name"><p>data</p></td> 1791<td class="parameter_description"><p>the start of the buffer. </p></td> 1792<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=size]</span></td> 1793</tr> 1794<tr> 1795<td class="parameter_name"><p>size</p></td> 1796<td class="parameter_description"><p>the size of the buffer</p></td> 1797<td class="parameter_annotations"> </td> 1798</tr> 1799<tr> 1800<td class="parameter_name"><p>msg</p></td> 1801<td class="parameter_description"><p>the result <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 1802<td class="parameter_annotations"> </td> 1803</tr> 1804</tbody> 1805</table></div> 1806</div> 1807<div class="refsect3"> 1808<a name="gst-sdp-message-parse-buffer.returns"></a><h4>Returns</h4> 1809<p> <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GST-SDP-OK:CAPS"><span class="type">GST_SDP_OK</span></a> on success.</p> 1810</div> 1811</div> 1812<hr> 1813<div class="refsect2"> 1814<a name="gst-sdp-message-as-text"></a><h3>gst_sdp_message_as_text ()</h3> 1815<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 1816gst_sdp_message_as_text (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>);</pre> 1817<p>Convert the contents of <em class="parameter"><code>msg</code></em> 1818 to a text string.</p> 1819<div class="refsect3"> 1820<a name="gst-sdp-message-as-text.parameters"></a><h4>Parameters</h4> 1821<div class="informaltable"><table class="informaltable" width="100%" border="0"> 1822<colgroup> 1823<col width="150px" class="parameters_name"> 1824<col class="parameters_description"> 1825<col width="200px" class="parameters_annotations"> 1826</colgroup> 1827<tbody><tr> 1828<td class="parameter_name"><p>msg</p></td> 1829<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 1830<td class="parameter_annotations"> </td> 1831</tr></tbody> 1832</table></div> 1833</div> 1834<div class="refsect3"> 1835<a name="gst-sdp-message-as-text.returns"></a><h4>Returns</h4> 1836<p> A dynamically allocated string representing the SDP description.</p> 1837</div> 1838</div> 1839<hr> 1840<div class="refsect2"> 1841<a name="gst-sdp-message-parse-uri"></a><h3>gst_sdp_message_parse_uri ()</h3> 1842<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 1843gst_sdp_message_parse_uri (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>, 1844 <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>);</pre> 1845<p>Parse the null-terminated <em class="parameter"><code>uri</code></em> 1846 and store the result in <em class="parameter"><code>msg</code></em> 1847.</p> 1848<p>The uri should be of the form:</p> 1849<p> scheme://[address:ttl=ttl]/sessionname]</p> 1850<p> where value is url encoded. This looslely resembles 1851 http://tools.ietf.org/html/draft-fujikawa-sdp-url-01</p> 1852<div class="refsect3"> 1853<a name="gst-sdp-message-parse-uri.parameters"></a><h4>Parameters</h4> 1854<div class="informaltable"><table class="informaltable" width="100%" border="0"> 1855<colgroup> 1856<col width="150px" class="parameters_name"> 1857<col class="parameters_description"> 1858<col width="200px" class="parameters_annotations"> 1859</colgroup> 1860<tbody> 1861<tr> 1862<td class="parameter_name"><p>uri</p></td> 1863<td class="parameter_description"><p>the start of the uri</p></td> 1864<td class="parameter_annotations"> </td> 1865</tr> 1866<tr> 1867<td class="parameter_name"><p>msg</p></td> 1868<td class="parameter_description"><p>the result <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 1869<td class="parameter_annotations"> </td> 1870</tr> 1871</tbody> 1872</table></div> 1873</div> 1874<div class="refsect3"> 1875<a name="gst-sdp-message-parse-uri.returns"></a><h4>Returns</h4> 1876<p> <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GST-SDP-OK:CAPS"><span class="type">GST_SDP_OK</span></a> on success.</p> 1877</div> 1878</div> 1879<hr> 1880<div class="refsect2"> 1881<a name="gst-sdp-message-as-uri"></a><h3>gst_sdp_message_as_uri ()</h3> 1882<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 1883gst_sdp_message_as_uri (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *scheme</code></em>, 1884 <em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>);</pre> 1885<p>Creates a uri from <em class="parameter"><code>msg</code></em> 1886 with the given <em class="parameter"><code>scheme</code></em> 1887. The uri has the format:</p> 1888<p> @scheme:///[<span class="type">type</span>=value *[&type=value]]</p> 1889<p> Where each value is url encoded.</p> 1890<div class="refsect3"> 1891<a name="gst-sdp-message-as-uri.parameters"></a><h4>Parameters</h4> 1892<div class="informaltable"><table class="informaltable" width="100%" border="0"> 1893<colgroup> 1894<col width="150px" class="parameters_name"> 1895<col class="parameters_description"> 1896<col width="200px" class="parameters_annotations"> 1897</colgroup> 1898<tbody> 1899<tr> 1900<td class="parameter_name"><p>scheme</p></td> 1901<td class="parameter_description"><p>the uri scheme</p></td> 1902<td class="parameter_annotations"> </td> 1903</tr> 1904<tr> 1905<td class="parameter_name"><p>msg</p></td> 1906<td class="parameter_description"><p>the <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 1907<td class="parameter_annotations"> </td> 1908</tr> 1909</tbody> 1910</table></div> 1911</div> 1912<div class="refsect3"> 1913<a name="gst-sdp-message-as-uri.returns"></a><h4>Returns</h4> 1914<p> a uri for <em class="parameter"><code>msg</code></em> 1915.</p> 1916</div> 1917</div> 1918<hr> 1919<div class="refsect2"> 1920<a name="gst-sdp-address-is-multicast"></a><h3>gst_sdp_address_is_multicast ()</h3> 1921<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 1922gst_sdp_address_is_multicast (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nettype</code></em>, 1923 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *addrtype</code></em>, 1924 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *addr</code></em>);</pre> 1925<p>Check if the given <em class="parameter"><code>addr</code></em> 1926 is a multicast address.</p> 1927<div class="refsect3"> 1928<a name="gst-sdp-address-is-multicast.parameters"></a><h4>Parameters</h4> 1929<div class="informaltable"><table class="informaltable" width="100%" border="0"> 1930<colgroup> 1931<col width="150px" class="parameters_name"> 1932<col class="parameters_description"> 1933<col width="200px" class="parameters_annotations"> 1934</colgroup> 1935<tbody> 1936<tr> 1937<td class="parameter_name"><p>nettype</p></td> 1938<td class="parameter_description"><p>a network type</p></td> 1939<td class="parameter_annotations"> </td> 1940</tr> 1941<tr> 1942<td class="parameter_name"><p>addrtype</p></td> 1943<td class="parameter_description"><p>an address type</p></td> 1944<td class="parameter_annotations"> </td> 1945</tr> 1946<tr> 1947<td class="parameter_name"><p>addr</p></td> 1948<td class="parameter_description"><p>an address</p></td> 1949<td class="parameter_annotations"> </td> 1950</tr> 1951</tbody> 1952</table></div> 1953</div> 1954<div class="refsect3"> 1955<a name="gst-sdp-address-is-multicast.returns"></a><h4>Returns</h4> 1956<p> TRUE when <em class="parameter"><code>addr</code></em> 1957is multicast.</p> 1958</div> 1959</div> 1960<hr> 1961<div class="refsect2"> 1962<a name="gst-sdp-message-get-version"></a><h3>gst_sdp_message_get_version ()</h3> 1963<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 1964gst_sdp_message_get_version (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>);</pre> 1965<p>Get the version in <em class="parameter"><code>msg</code></em> 1966.</p> 1967<div class="refsect3"> 1968<a name="gst-sdp-message-get-version.parameters"></a><h4>Parameters</h4> 1969<div class="informaltable"><table class="informaltable" width="100%" border="0"> 1970<colgroup> 1971<col width="150px" class="parameters_name"> 1972<col class="parameters_description"> 1973<col width="200px" class="parameters_annotations"> 1974</colgroup> 1975<tbody><tr> 1976<td class="parameter_name"><p>msg</p></td> 1977<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 1978<td class="parameter_annotations"> </td> 1979</tr></tbody> 1980</table></div> 1981</div> 1982<div class="refsect3"> 1983<a name="gst-sdp-message-get-version.returns"></a><h4>Returns</h4> 1984<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 1985</div> 1986</div> 1987<hr> 1988<div class="refsect2"> 1989<a name="gst-sdp-message-set-version"></a><h3>gst_sdp_message_set_version ()</h3> 1990<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 1991gst_sdp_message_set_version (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>, 1992 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *version</code></em>);</pre> 1993<p>Set the version in <em class="parameter"><code>msg</code></em> 1994.</p> 1995<div class="refsect3"> 1996<a name="gst-sdp-message-set-version.parameters"></a><h4>Parameters</h4> 1997<div class="informaltable"><table class="informaltable" width="100%" border="0"> 1998<colgroup> 1999<col width="150px" class="parameters_name"> 2000<col class="parameters_description"> 2001<col width="200px" class="parameters_annotations"> 2002</colgroup> 2003<tbody> 2004<tr> 2005<td class="parameter_name"><p>msg</p></td> 2006<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 2007<td class="parameter_annotations"> </td> 2008</tr> 2009<tr> 2010<td class="parameter_name"><p>version</p></td> 2011<td class="parameter_description"><p>the version</p></td> 2012<td class="parameter_annotations"> </td> 2013</tr> 2014</tbody> 2015</table></div> 2016</div> 2017<div class="refsect3"> 2018<a name="gst-sdp-message-set-version.returns"></a><h4>Returns</h4> 2019<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 2020</div> 2021</div> 2022<hr> 2023<div class="refsect2"> 2024<a name="gst-sdp-message-get-origin"></a><h3>gst_sdp_message_get_origin ()</h3> 2025<pre class="programlisting">const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPOrigin" title="GstSDPOrigin"><span class="returnvalue">GstSDPOrigin</span></a> * 2026gst_sdp_message_get_origin (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>);</pre> 2027<p>Get the origin of <em class="parameter"><code>msg</code></em> 2028.</p> 2029<div class="refsect3"> 2030<a name="gst-sdp-message-get-origin.parameters"></a><h4>Parameters</h4> 2031<div class="informaltable"><table class="informaltable" width="100%" border="0"> 2032<colgroup> 2033<col width="150px" class="parameters_name"> 2034<col class="parameters_description"> 2035<col width="200px" class="parameters_annotations"> 2036</colgroup> 2037<tbody><tr> 2038<td class="parameter_name"><p>msg</p></td> 2039<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 2040<td class="parameter_annotations"> </td> 2041</tr></tbody> 2042</table></div> 2043</div> 2044<div class="refsect3"> 2045<a name="gst-sdp-message-get-origin.returns"></a><h4>Returns</h4> 2046<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPOrigin" title="GstSDPOrigin"><span class="type">GstSDPOrigin</span></a>. The result remains valid as long as <em class="parameter"><code>msg</code></em> 2047is valid.</p> 2048</div> 2049</div> 2050<hr> 2051<div class="refsect2"> 2052<a name="gst-sdp-message-set-origin"></a><h3>gst_sdp_message_set_origin ()</h3> 2053<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 2054gst_sdp_message_set_origin (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>, 2055 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *username</code></em>, 2056 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *sess_id</code></em>, 2057 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *sess_version</code></em>, 2058 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nettype</code></em>, 2059 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *addrtype</code></em>, 2060 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *addr</code></em>);</pre> 2061<p>Configure the SDP origin in <em class="parameter"><code>msg</code></em> 2062 with the given parameters.</p> 2063<div class="refsect3"> 2064<a name="gst-sdp-message-set-origin.parameters"></a><h4>Parameters</h4> 2065<div class="informaltable"><table class="informaltable" width="100%" border="0"> 2066<colgroup> 2067<col width="150px" class="parameters_name"> 2068<col class="parameters_description"> 2069<col width="200px" class="parameters_annotations"> 2070</colgroup> 2071<tbody> 2072<tr> 2073<td class="parameter_name"><p>msg</p></td> 2074<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 2075<td class="parameter_annotations"> </td> 2076</tr> 2077<tr> 2078<td class="parameter_name"><p>username</p></td> 2079<td class="parameter_description"><p>the user name</p></td> 2080<td class="parameter_annotations"> </td> 2081</tr> 2082<tr> 2083<td class="parameter_name"><p>sess_id</p></td> 2084<td class="parameter_description"><p>a session id</p></td> 2085<td class="parameter_annotations"> </td> 2086</tr> 2087<tr> 2088<td class="parameter_name"><p>sess_version</p></td> 2089<td class="parameter_description"><p>a session version</p></td> 2090<td class="parameter_annotations"> </td> 2091</tr> 2092<tr> 2093<td class="parameter_name"><p>nettype</p></td> 2094<td class="parameter_description"><p>a network type</p></td> 2095<td class="parameter_annotations"> </td> 2096</tr> 2097<tr> 2098<td class="parameter_name"><p>addrtype</p></td> 2099<td class="parameter_description"><p>an address type</p></td> 2100<td class="parameter_annotations"> </td> 2101</tr> 2102<tr> 2103<td class="parameter_name"><p>addr</p></td> 2104<td class="parameter_description"><p>an address</p></td> 2105<td class="parameter_annotations"> </td> 2106</tr> 2107</tbody> 2108</table></div> 2109</div> 2110<div class="refsect3"> 2111<a name="gst-sdp-message-set-origin.returns"></a><h4>Returns</h4> 2112<p> <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GST-SDP-OK:CAPS"><span class="type">GST_SDP_OK</span></a>.</p> 2113</div> 2114</div> 2115<hr> 2116<div class="refsect2"> 2117<a name="gst-sdp-message-get-session-name"></a><h3>gst_sdp_message_get_session_name ()</h3> 2118<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 2119gst_sdp_message_get_session_name (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>);</pre> 2120<p>Get the session name in <em class="parameter"><code>msg</code></em> 2121.</p> 2122<div class="refsect3"> 2123<a name="gst-sdp-message-get-session-name.parameters"></a><h4>Parameters</h4> 2124<div class="informaltable"><table class="informaltable" width="100%" border="0"> 2125<colgroup> 2126<col width="150px" class="parameters_name"> 2127<col class="parameters_description"> 2128<col width="200px" class="parameters_annotations"> 2129</colgroup> 2130<tbody><tr> 2131<td class="parameter_name"><p>msg</p></td> 2132<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 2133<td class="parameter_annotations"> </td> 2134</tr></tbody> 2135</table></div> 2136</div> 2137<div class="refsect3"> 2138<a name="gst-sdp-message-get-session-name.returns"></a><h4>Returns</h4> 2139<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 2140</div> 2141</div> 2142<hr> 2143<div class="refsect2"> 2144<a name="gst-sdp-message-set-session-name"></a><h3>gst_sdp_message_set_session_name ()</h3> 2145<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 2146gst_sdp_message_set_session_name (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>, 2147 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *session_name</code></em>);</pre> 2148<p>Set the session name in <em class="parameter"><code>msg</code></em> 2149.</p> 2150<div class="refsect3"> 2151<a name="gst-sdp-message-set-session-name.parameters"></a><h4>Parameters</h4> 2152<div class="informaltable"><table class="informaltable" width="100%" border="0"> 2153<colgroup> 2154<col width="150px" class="parameters_name"> 2155<col class="parameters_description"> 2156<col width="200px" class="parameters_annotations"> 2157</colgroup> 2158<tbody> 2159<tr> 2160<td class="parameter_name"><p>msg</p></td> 2161<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 2162<td class="parameter_annotations"> </td> 2163</tr> 2164<tr> 2165<td class="parameter_name"><p>session_name</p></td> 2166<td class="parameter_description"><p>the session name</p></td> 2167<td class="parameter_annotations"> </td> 2168</tr> 2169</tbody> 2170</table></div> 2171</div> 2172<div class="refsect3"> 2173<a name="gst-sdp-message-set-session-name.returns"></a><h4>Returns</h4> 2174<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 2175</div> 2176</div> 2177<hr> 2178<div class="refsect2"> 2179<a name="gst-sdp-message-get-information"></a><h3>gst_sdp_message_get_information ()</h3> 2180<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 2181gst_sdp_message_get_information (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>);</pre> 2182<p>Get the information in <em class="parameter"><code>msg</code></em> 2183.</p> 2184<div class="refsect3"> 2185<a name="gst-sdp-message-get-information.parameters"></a><h4>Parameters</h4> 2186<div class="informaltable"><table class="informaltable" width="100%" border="0"> 2187<colgroup> 2188<col width="150px" class="parameters_name"> 2189<col class="parameters_description"> 2190<col width="200px" class="parameters_annotations"> 2191</colgroup> 2192<tbody><tr> 2193<td class="parameter_name"><p>msg</p></td> 2194<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 2195<td class="parameter_annotations"> </td> 2196</tr></tbody> 2197</table></div> 2198</div> 2199<div class="refsect3"> 2200<a name="gst-sdp-message-get-information.returns"></a><h4>Returns</h4> 2201<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 2202</div> 2203</div> 2204<hr> 2205<div class="refsect2"> 2206<a name="gst-sdp-message-set-information"></a><h3>gst_sdp_message_set_information ()</h3> 2207<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 2208gst_sdp_message_set_information (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>, 2209 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *information</code></em>);</pre> 2210<p>Set the information in <em class="parameter"><code>msg</code></em> 2211.</p> 2212<div class="refsect3"> 2213<a name="gst-sdp-message-set-information.parameters"></a><h4>Parameters</h4> 2214<div class="informaltable"><table class="informaltable" width="100%" border="0"> 2215<colgroup> 2216<col width="150px" class="parameters_name"> 2217<col class="parameters_description"> 2218<col width="200px" class="parameters_annotations"> 2219</colgroup> 2220<tbody> 2221<tr> 2222<td class="parameter_name"><p>msg</p></td> 2223<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 2224<td class="parameter_annotations"> </td> 2225</tr> 2226<tr> 2227<td class="parameter_name"><p>information</p></td> 2228<td class="parameter_description"><p>the information</p></td> 2229<td class="parameter_annotations"> </td> 2230</tr> 2231</tbody> 2232</table></div> 2233</div> 2234<div class="refsect3"> 2235<a name="gst-sdp-message-set-information.returns"></a><h4>Returns</h4> 2236<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 2237</div> 2238</div> 2239<hr> 2240<div class="refsect2"> 2241<a name="gst-sdp-message-get-uri"></a><h3>gst_sdp_message_get_uri ()</h3> 2242<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 2243gst_sdp_message_get_uri (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>);</pre> 2244<p>Get the URI in <em class="parameter"><code>msg</code></em> 2245.</p> 2246<div class="refsect3"> 2247<a name="gst-sdp-message-get-uri.parameters"></a><h4>Parameters</h4> 2248<div class="informaltable"><table class="informaltable" width="100%" border="0"> 2249<colgroup> 2250<col width="150px" class="parameters_name"> 2251<col class="parameters_description"> 2252<col width="200px" class="parameters_annotations"> 2253</colgroup> 2254<tbody><tr> 2255<td class="parameter_name"><p>msg</p></td> 2256<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 2257<td class="parameter_annotations"> </td> 2258</tr></tbody> 2259</table></div> 2260</div> 2261<div class="refsect3"> 2262<a name="gst-sdp-message-get-uri.returns"></a><h4>Returns</h4> 2263<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 2264</div> 2265</div> 2266<hr> 2267<div class="refsect2"> 2268<a name="gst-sdp-message-set-uri"></a><h3>gst_sdp_message_set_uri ()</h3> 2269<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 2270gst_sdp_message_set_uri (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>, 2271 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>);</pre> 2272<p>Set the URI in <em class="parameter"><code>msg</code></em> 2273.</p> 2274<div class="refsect3"> 2275<a name="gst-sdp-message-set-uri.parameters"></a><h4>Parameters</h4> 2276<div class="informaltable"><table class="informaltable" width="100%" border="0"> 2277<colgroup> 2278<col width="150px" class="parameters_name"> 2279<col class="parameters_description"> 2280<col width="200px" class="parameters_annotations"> 2281</colgroup> 2282<tbody> 2283<tr> 2284<td class="parameter_name"><p>msg</p></td> 2285<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 2286<td class="parameter_annotations"> </td> 2287</tr> 2288<tr> 2289<td class="parameter_name"><p>uri</p></td> 2290<td class="parameter_description"><p>the URI</p></td> 2291<td class="parameter_annotations"> </td> 2292</tr> 2293</tbody> 2294</table></div> 2295</div> 2296<div class="refsect3"> 2297<a name="gst-sdp-message-set-uri.returns"></a><h4>Returns</h4> 2298<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 2299</div> 2300</div> 2301<hr> 2302<div class="refsect2"> 2303<a name="gst-sdp-message-emails-len"></a><h3>gst_sdp_message_emails_len ()</h3> 2304<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> 2305gst_sdp_message_emails_len (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>);</pre> 2306<p>Get the number of emails in <em class="parameter"><code>msg</code></em> 2307.</p> 2308<div class="refsect3"> 2309<a name="gst-sdp-message-emails-len.parameters"></a><h4>Parameters</h4> 2310<div class="informaltable"><table class="informaltable" width="100%" border="0"> 2311<colgroup> 2312<col width="150px" class="parameters_name"> 2313<col class="parameters_description"> 2314<col width="200px" class="parameters_annotations"> 2315</colgroup> 2316<tbody><tr> 2317<td class="parameter_name"><p>msg</p></td> 2318<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 2319<td class="parameter_annotations"> </td> 2320</tr></tbody> 2321</table></div> 2322</div> 2323<div class="refsect3"> 2324<a name="gst-sdp-message-emails-len.returns"></a><h4>Returns</h4> 2325<p> the number of emails in <em class="parameter"><code>msg</code></em> 2326.</p> 2327</div> 2328</div> 2329<hr> 2330<div class="refsect2"> 2331<a name="gst-sdp-message-get-email"></a><h3>gst_sdp_message_get_email ()</h3> 2332<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 2333gst_sdp_message_get_email (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>, 2334 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> idx</code></em>);</pre> 2335<p>Get the email with number <em class="parameter"><code>idx</code></em> 2336 from <em class="parameter"><code>msg</code></em> 2337.</p> 2338<div class="refsect3"> 2339<a name="gst-sdp-message-get-email.parameters"></a><h4>Parameters</h4> 2340<div class="informaltable"><table class="informaltable" width="100%" border="0"> 2341<colgroup> 2342<col width="150px" class="parameters_name"> 2343<col class="parameters_description"> 2344<col width="200px" class="parameters_annotations"> 2345</colgroup> 2346<tbody> 2347<tr> 2348<td class="parameter_name"><p>msg</p></td> 2349<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 2350<td class="parameter_annotations"> </td> 2351</tr> 2352<tr> 2353<td class="parameter_name"><p>idx</p></td> 2354<td class="parameter_description"><p>an email index</p></td> 2355<td class="parameter_annotations"> </td> 2356</tr> 2357</tbody> 2358</table></div> 2359</div> 2360<div class="refsect3"> 2361<a name="gst-sdp-message-get-email.returns"></a><h4>Returns</h4> 2362<p> the email at position <em class="parameter"><code>idx</code></em> 2363.</p> 2364</div> 2365</div> 2366<hr> 2367<div class="refsect2"> 2368<a name="gst-sdp-message-insert-email"></a><h3>gst_sdp_message_insert_email ()</h3> 2369<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 2370gst_sdp_message_insert_email (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>, 2371 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> idx</code></em>, 2372 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *email</code></em>);</pre> 2373<p>Insert <em class="parameter"><code>email</code></em> 2374 into the array of emails in <em class="parameter"><code>msg</code></em> 2375 at index <em class="parameter"><code>idx</code></em> 2376. 2377When -1 is given as <em class="parameter"><code>idx</code></em> 2378, the email is inserted at the end.</p> 2379<div class="refsect3"> 2380<a name="gst-sdp-message-insert-email.parameters"></a><h4>Parameters</h4> 2381<div class="informaltable"><table class="informaltable" width="100%" border="0"> 2382<colgroup> 2383<col width="150px" class="parameters_name"> 2384<col class="parameters_description"> 2385<col width="200px" class="parameters_annotations"> 2386</colgroup> 2387<tbody> 2388<tr> 2389<td class="parameter_name"><p>msg</p></td> 2390<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 2391<td class="parameter_annotations"> </td> 2392</tr> 2393<tr> 2394<td class="parameter_name"><p>idx</p></td> 2395<td class="parameter_description"><p>an index</p></td> 2396<td class="parameter_annotations"> </td> 2397</tr> 2398<tr> 2399<td class="parameter_name"><p>email</p></td> 2400<td class="parameter_description"><p>an email</p></td> 2401<td class="parameter_annotations"> </td> 2402</tr> 2403</tbody> 2404</table></div> 2405</div> 2406<div class="refsect3"> 2407<a name="gst-sdp-message-insert-email.returns"></a><h4>Returns</h4> 2408<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 2409</div> 2410<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 2411</div> 2412<hr> 2413<div class="refsect2"> 2414<a name="gst-sdp-message-replace-email"></a><h3>gst_sdp_message_replace_email ()</h3> 2415<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 2416gst_sdp_message_replace_email (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>, 2417 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> idx</code></em>, 2418 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *email</code></em>);</pre> 2419<p>Replace the email in <em class="parameter"><code>msg</code></em> 2420 at index <em class="parameter"><code>idx</code></em> 2421 with <em class="parameter"><code>email</code></em> 2422.</p> 2423<div class="refsect3"> 2424<a name="gst-sdp-message-replace-email.parameters"></a><h4>Parameters</h4> 2425<div class="informaltable"><table class="informaltable" width="100%" border="0"> 2426<colgroup> 2427<col width="150px" class="parameters_name"> 2428<col class="parameters_description"> 2429<col width="200px" class="parameters_annotations"> 2430</colgroup> 2431<tbody> 2432<tr> 2433<td class="parameter_name"><p>msg</p></td> 2434<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 2435<td class="parameter_annotations"> </td> 2436</tr> 2437<tr> 2438<td class="parameter_name"><p>idx</p></td> 2439<td class="parameter_description"><p>an email index</p></td> 2440<td class="parameter_annotations"> </td> 2441</tr> 2442<tr> 2443<td class="parameter_name"><p>email</p></td> 2444<td class="parameter_description"><p>an email</p></td> 2445<td class="parameter_annotations"> </td> 2446</tr> 2447</tbody> 2448</table></div> 2449</div> 2450<div class="refsect3"> 2451<a name="gst-sdp-message-replace-email.returns"></a><h4>Returns</h4> 2452<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 2453</div> 2454<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 2455</div> 2456<hr> 2457<div class="refsect2"> 2458<a name="gst-sdp-message-remove-email"></a><h3>gst_sdp_message_remove_email ()</h3> 2459<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 2460gst_sdp_message_remove_email (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>, 2461 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> idx</code></em>);</pre> 2462<p>Remove the email in <em class="parameter"><code>msg</code></em> 2463 at index <em class="parameter"><code>idx</code></em> 2464.</p> 2465<div class="refsect3"> 2466<a name="gst-sdp-message-remove-email.parameters"></a><h4>Parameters</h4> 2467<div class="informaltable"><table class="informaltable" width="100%" border="0"> 2468<colgroup> 2469<col width="150px" class="parameters_name"> 2470<col class="parameters_description"> 2471<col width="200px" class="parameters_annotations"> 2472</colgroup> 2473<tbody> 2474<tr> 2475<td class="parameter_name"><p>msg</p></td> 2476<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 2477<td class="parameter_annotations"> </td> 2478</tr> 2479<tr> 2480<td class="parameter_name"><p>idx</p></td> 2481<td class="parameter_description"><p>an email index</p></td> 2482<td class="parameter_annotations"> </td> 2483</tr> 2484</tbody> 2485</table></div> 2486</div> 2487<div class="refsect3"> 2488<a name="gst-sdp-message-remove-email.returns"></a><h4>Returns</h4> 2489<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 2490</div> 2491<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 2492</div> 2493<hr> 2494<div class="refsect2"> 2495<a name="gst-sdp-message-add-email"></a><h3>gst_sdp_message_add_email ()</h3> 2496<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 2497gst_sdp_message_add_email (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>, 2498 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *email</code></em>);</pre> 2499<p>Add <em class="parameter"><code>email</code></em> 2500 to the list of emails in <em class="parameter"><code>msg</code></em> 2501.</p> 2502<div class="refsect3"> 2503<a name="gst-sdp-message-add-email.parameters"></a><h4>Parameters</h4> 2504<div class="informaltable"><table class="informaltable" width="100%" border="0"> 2505<colgroup> 2506<col width="150px" class="parameters_name"> 2507<col class="parameters_description"> 2508<col width="200px" class="parameters_annotations"> 2509</colgroup> 2510<tbody> 2511<tr> 2512<td class="parameter_name"><p>msg</p></td> 2513<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 2514<td class="parameter_annotations"> </td> 2515</tr> 2516<tr> 2517<td class="parameter_name"><p>email</p></td> 2518<td class="parameter_description"><p>an email</p></td> 2519<td class="parameter_annotations"> </td> 2520</tr> 2521</tbody> 2522</table></div> 2523</div> 2524<div class="refsect3"> 2525<a name="gst-sdp-message-add-email.returns"></a><h4>Returns</h4> 2526<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 2527</div> 2528</div> 2529<hr> 2530<div class="refsect2"> 2531<a name="gst-sdp-message-phones-len"></a><h3>gst_sdp_message_phones_len ()</h3> 2532<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> 2533gst_sdp_message_phones_len (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>);</pre> 2534<p>Get the number of phones in <em class="parameter"><code>msg</code></em> 2535.</p> 2536<div class="refsect3"> 2537<a name="gst-sdp-message-phones-len.parameters"></a><h4>Parameters</h4> 2538<div class="informaltable"><table class="informaltable" width="100%" border="0"> 2539<colgroup> 2540<col width="150px" class="parameters_name"> 2541<col class="parameters_description"> 2542<col width="200px" class="parameters_annotations"> 2543</colgroup> 2544<tbody><tr> 2545<td class="parameter_name"><p>msg</p></td> 2546<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 2547<td class="parameter_annotations"> </td> 2548</tr></tbody> 2549</table></div> 2550</div> 2551<div class="refsect3"> 2552<a name="gst-sdp-message-phones-len.returns"></a><h4>Returns</h4> 2553<p> the number of phones in <em class="parameter"><code>msg</code></em> 2554.</p> 2555</div> 2556</div> 2557<hr> 2558<div class="refsect2"> 2559<a name="gst-sdp-message-get-phone"></a><h3>gst_sdp_message_get_phone ()</h3> 2560<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 2561gst_sdp_message_get_phone (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>, 2562 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> idx</code></em>);</pre> 2563<p>Get the phone with number <em class="parameter"><code>idx</code></em> 2564 from <em class="parameter"><code>msg</code></em> 2565.</p> 2566<div class="refsect3"> 2567<a name="gst-sdp-message-get-phone.parameters"></a><h4>Parameters</h4> 2568<div class="informaltable"><table class="informaltable" width="100%" border="0"> 2569<colgroup> 2570<col width="150px" class="parameters_name"> 2571<col class="parameters_description"> 2572<col width="200px" class="parameters_annotations"> 2573</colgroup> 2574<tbody> 2575<tr> 2576<td class="parameter_name"><p>msg</p></td> 2577<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 2578<td class="parameter_annotations"> </td> 2579</tr> 2580<tr> 2581<td class="parameter_name"><p>idx</p></td> 2582<td class="parameter_description"><p>a phone index</p></td> 2583<td class="parameter_annotations"> </td> 2584</tr> 2585</tbody> 2586</table></div> 2587</div> 2588<div class="refsect3"> 2589<a name="gst-sdp-message-get-phone.returns"></a><h4>Returns</h4> 2590<p> the phone at position <em class="parameter"><code>idx</code></em> 2591.</p> 2592</div> 2593</div> 2594<hr> 2595<div class="refsect2"> 2596<a name="gst-sdp-message-insert-phone"></a><h3>gst_sdp_message_insert_phone ()</h3> 2597<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 2598gst_sdp_message_insert_phone (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>, 2599 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> idx</code></em>, 2600 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *phone</code></em>);</pre> 2601<p>Insert <em class="parameter"><code>phone</code></em> 2602 into the array of phone numbers in <em class="parameter"><code>msg</code></em> 2603 at index <em class="parameter"><code>idx</code></em> 2604. 2605When -1 is given as <em class="parameter"><code>idx</code></em> 2606, the phone is inserted at the end.</p> 2607<div class="refsect3"> 2608<a name="gst-sdp-message-insert-phone.parameters"></a><h4>Parameters</h4> 2609<div class="informaltable"><table class="informaltable" width="100%" border="0"> 2610<colgroup> 2611<col width="150px" class="parameters_name"> 2612<col class="parameters_description"> 2613<col width="200px" class="parameters_annotations"> 2614</colgroup> 2615<tbody> 2616<tr> 2617<td class="parameter_name"><p>msg</p></td> 2618<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 2619<td class="parameter_annotations"> </td> 2620</tr> 2621<tr> 2622<td class="parameter_name"><p>idx</p></td> 2623<td class="parameter_description"><p>a phone index</p></td> 2624<td class="parameter_annotations"> </td> 2625</tr> 2626<tr> 2627<td class="parameter_name"><p>phone</p></td> 2628<td class="parameter_description"><p>a phone</p></td> 2629<td class="parameter_annotations"> </td> 2630</tr> 2631</tbody> 2632</table></div> 2633</div> 2634<div class="refsect3"> 2635<a name="gst-sdp-message-insert-phone.returns"></a><h4>Returns</h4> 2636<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 2637</div> 2638<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 2639</div> 2640<hr> 2641<div class="refsect2"> 2642<a name="gst-sdp-message-replace-phone"></a><h3>gst_sdp_message_replace_phone ()</h3> 2643<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 2644gst_sdp_message_replace_phone (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>, 2645 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> idx</code></em>, 2646 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *phone</code></em>);</pre> 2647<p>Replace the phone number in <em class="parameter"><code>msg</code></em> 2648 at index <em class="parameter"><code>idx</code></em> 2649 with <em class="parameter"><code>phone</code></em> 2650.</p> 2651<div class="refsect3"> 2652<a name="gst-sdp-message-replace-phone.parameters"></a><h4>Parameters</h4> 2653<div class="informaltable"><table class="informaltable" width="100%" border="0"> 2654<colgroup> 2655<col width="150px" class="parameters_name"> 2656<col class="parameters_description"> 2657<col width="200px" class="parameters_annotations"> 2658</colgroup> 2659<tbody> 2660<tr> 2661<td class="parameter_name"><p>msg</p></td> 2662<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 2663<td class="parameter_annotations"> </td> 2664</tr> 2665<tr> 2666<td class="parameter_name"><p>idx</p></td> 2667<td class="parameter_description"><p>a phone index</p></td> 2668<td class="parameter_annotations"> </td> 2669</tr> 2670<tr> 2671<td class="parameter_name"><p>phone</p></td> 2672<td class="parameter_description"><p>a phone</p></td> 2673<td class="parameter_annotations"> </td> 2674</tr> 2675</tbody> 2676</table></div> 2677</div> 2678<div class="refsect3"> 2679<a name="gst-sdp-message-replace-phone.returns"></a><h4>Returns</h4> 2680<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 2681</div> 2682<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 2683</div> 2684<hr> 2685<div class="refsect2"> 2686<a name="gst-sdp-message-remove-phone"></a><h3>gst_sdp_message_remove_phone ()</h3> 2687<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 2688gst_sdp_message_remove_phone (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>, 2689 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> idx</code></em>);</pre> 2690<p>Remove the phone number in <em class="parameter"><code>msg</code></em> 2691 at index <em class="parameter"><code>idx</code></em> 2692.</p> 2693<div class="refsect3"> 2694<a name="gst-sdp-message-remove-phone.parameters"></a><h4>Parameters</h4> 2695<div class="informaltable"><table class="informaltable" width="100%" border="0"> 2696<colgroup> 2697<col width="150px" class="parameters_name"> 2698<col class="parameters_description"> 2699<col width="200px" class="parameters_annotations"> 2700</colgroup> 2701<tbody> 2702<tr> 2703<td class="parameter_name"><p>msg</p></td> 2704<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 2705<td class="parameter_annotations"> </td> 2706</tr> 2707<tr> 2708<td class="parameter_name"><p>idx</p></td> 2709<td class="parameter_description"><p>a phone index</p></td> 2710<td class="parameter_annotations"> </td> 2711</tr> 2712</tbody> 2713</table></div> 2714</div> 2715<div class="refsect3"> 2716<a name="gst-sdp-message-remove-phone.returns"></a><h4>Returns</h4> 2717<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 2718</div> 2719<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 2720</div> 2721<hr> 2722<div class="refsect2"> 2723<a name="gst-sdp-message-add-phone"></a><h3>gst_sdp_message_add_phone ()</h3> 2724<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 2725gst_sdp_message_add_phone (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>, 2726 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *phone</code></em>);</pre> 2727<p>Add <em class="parameter"><code>phone</code></em> 2728 to the list of phones in <em class="parameter"><code>msg</code></em> 2729.</p> 2730<div class="refsect3"> 2731<a name="gst-sdp-message-add-phone.parameters"></a><h4>Parameters</h4> 2732<div class="informaltable"><table class="informaltable" width="100%" border="0"> 2733<colgroup> 2734<col width="150px" class="parameters_name"> 2735<col class="parameters_description"> 2736<col width="200px" class="parameters_annotations"> 2737</colgroup> 2738<tbody> 2739<tr> 2740<td class="parameter_name"><p>msg</p></td> 2741<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 2742<td class="parameter_annotations"> </td> 2743</tr> 2744<tr> 2745<td class="parameter_name"><p>phone</p></td> 2746<td class="parameter_description"><p>a phone</p></td> 2747<td class="parameter_annotations"> </td> 2748</tr> 2749</tbody> 2750</table></div> 2751</div> 2752<div class="refsect3"> 2753<a name="gst-sdp-message-add-phone.returns"></a><h4>Returns</h4> 2754<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 2755</div> 2756</div> 2757<hr> 2758<div class="refsect2"> 2759<a name="gst-sdp-message-get-connection"></a><h3>gst_sdp_message_get_connection ()</h3> 2760<pre class="programlisting">const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPConnection" title="GstSDPConnection"><span class="returnvalue">GstSDPConnection</span></a> * 2761gst_sdp_message_get_connection (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>);</pre> 2762<p>Get the connection of <em class="parameter"><code>msg</code></em> 2763.</p> 2764<div class="refsect3"> 2765<a name="gst-sdp-message-get-connection.parameters"></a><h4>Parameters</h4> 2766<div class="informaltable"><table class="informaltable" width="100%" border="0"> 2767<colgroup> 2768<col width="150px" class="parameters_name"> 2769<col class="parameters_description"> 2770<col width="200px" class="parameters_annotations"> 2771</colgroup> 2772<tbody><tr> 2773<td class="parameter_name"><p>msg</p></td> 2774<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 2775<td class="parameter_annotations"> </td> 2776</tr></tbody> 2777</table></div> 2778</div> 2779<div class="refsect3"> 2780<a name="gst-sdp-message-get-connection.returns"></a><h4>Returns</h4> 2781<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPConnection" title="GstSDPConnection"><span class="type">GstSDPConnection</span></a>. The result remains valid as long as <em class="parameter"><code>msg</code></em> 2782is valid.</p> 2783</div> 2784</div> 2785<hr> 2786<div class="refsect2"> 2787<a name="gst-sdp-message-set-connection"></a><h3>gst_sdp_message_set_connection ()</h3> 2788<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 2789gst_sdp_message_set_connection (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>, 2790 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nettype</code></em>, 2791 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *addrtype</code></em>, 2792 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *address</code></em>, 2793 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> ttl</code></em>, 2794 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> addr_number</code></em>);</pre> 2795<p>Configure the SDP connection in <em class="parameter"><code>msg</code></em> 2796 with the given parameters.</p> 2797<div class="refsect3"> 2798<a name="gst-sdp-message-set-connection.parameters"></a><h4>Parameters</h4> 2799<div class="informaltable"><table class="informaltable" width="100%" border="0"> 2800<colgroup> 2801<col width="150px" class="parameters_name"> 2802<col class="parameters_description"> 2803<col width="200px" class="parameters_annotations"> 2804</colgroup> 2805<tbody> 2806<tr> 2807<td class="parameter_name"><p>msg</p></td> 2808<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 2809<td class="parameter_annotations"> </td> 2810</tr> 2811<tr> 2812<td class="parameter_name"><p>nettype</p></td> 2813<td class="parameter_description"><p>the type of network. "IN" is defined to have the meaning 2814"Internet".</p></td> 2815<td class="parameter_annotations"> </td> 2816</tr> 2817<tr> 2818<td class="parameter_name"><p>addrtype</p></td> 2819<td class="parameter_description"><p>the type of address.</p></td> 2820<td class="parameter_annotations"> </td> 2821</tr> 2822<tr> 2823<td class="parameter_name"><p>address</p></td> 2824<td class="parameter_description"><p>the address</p></td> 2825<td class="parameter_annotations"> </td> 2826</tr> 2827<tr> 2828<td class="parameter_name"><p>ttl</p></td> 2829<td class="parameter_description"><p>the time to live of the address</p></td> 2830<td class="parameter_annotations"> </td> 2831</tr> 2832<tr> 2833<td class="parameter_name"><p>addr_number</p></td> 2834<td class="parameter_description"><p>the number of layers</p></td> 2835<td class="parameter_annotations"> </td> 2836</tr> 2837</tbody> 2838</table></div> 2839</div> 2840<div class="refsect3"> 2841<a name="gst-sdp-message-set-connection.returns"></a><h4>Returns</h4> 2842<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 2843</div> 2844</div> 2845<hr> 2846<div class="refsect2"> 2847<a name="gst-sdp-message-bandwidths-len"></a><h3>gst_sdp_message_bandwidths_len ()</h3> 2848<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> 2849gst_sdp_message_bandwidths_len (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>);</pre> 2850<p>Get the number of bandwidth information in <em class="parameter"><code>msg</code></em> 2851.</p> 2852<div class="refsect3"> 2853<a name="gst-sdp-message-bandwidths-len.parameters"></a><h4>Parameters</h4> 2854<div class="informaltable"><table class="informaltable" width="100%" border="0"> 2855<colgroup> 2856<col width="150px" class="parameters_name"> 2857<col class="parameters_description"> 2858<col width="200px" class="parameters_annotations"> 2859</colgroup> 2860<tbody><tr> 2861<td class="parameter_name"><p>msg</p></td> 2862<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 2863<td class="parameter_annotations"> </td> 2864</tr></tbody> 2865</table></div> 2866</div> 2867<div class="refsect3"> 2868<a name="gst-sdp-message-bandwidths-len.returns"></a><h4>Returns</h4> 2869<p> the number of bandwidth information in <em class="parameter"><code>msg</code></em> 2870.</p> 2871</div> 2872</div> 2873<hr> 2874<div class="refsect2"> 2875<a name="gst-sdp-message-get-bandwidth"></a><h3>gst_sdp_message_get_bandwidth ()</h3> 2876<pre class="programlisting">const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPBandwidth" title="GstSDPBandwidth"><span class="returnvalue">GstSDPBandwidth</span></a> * 2877gst_sdp_message_get_bandwidth (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>, 2878 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> idx</code></em>);</pre> 2879<p>Get the bandwidth at index <em class="parameter"><code>idx</code></em> 2880 from <em class="parameter"><code>msg</code></em> 2881.</p> 2882<div class="refsect3"> 2883<a name="gst-sdp-message-get-bandwidth.parameters"></a><h4>Parameters</h4> 2884<div class="informaltable"><table class="informaltable" width="100%" border="0"> 2885<colgroup> 2886<col width="150px" class="parameters_name"> 2887<col class="parameters_description"> 2888<col width="200px" class="parameters_annotations"> 2889</colgroup> 2890<tbody> 2891<tr> 2892<td class="parameter_name"><p>msg</p></td> 2893<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 2894<td class="parameter_annotations"> </td> 2895</tr> 2896<tr> 2897<td class="parameter_name"><p>idx</p></td> 2898<td class="parameter_description"><p>the bandwidth index</p></td> 2899<td class="parameter_annotations"> </td> 2900</tr> 2901</tbody> 2902</table></div> 2903</div> 2904<div class="refsect3"> 2905<a name="gst-sdp-message-get-bandwidth.returns"></a><h4>Returns</h4> 2906<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPBandwidth" title="GstSDPBandwidth"><span class="type">GstSDPBandwidth</span></a>.</p> 2907</div> 2908</div> 2909<hr> 2910<div class="refsect2"> 2911<a name="gst-sdp-message-insert-bandwidth"></a><h3>gst_sdp_message_insert_bandwidth ()</h3> 2912<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 2913gst_sdp_message_insert_bandwidth (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>, 2914 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> idx</code></em>, 2915 <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPBandwidth" title="GstSDPBandwidth"><span class="type">GstSDPBandwidth</span></a> *bw</code></em>);</pre> 2916<p>Insert bandwidth parameters into the array of bandwidths in <em class="parameter"><code>msg</code></em> 2917 2918at index <em class="parameter"><code>idx</code></em> 2919. 2920When -1 is given as <em class="parameter"><code>idx</code></em> 2921, the bandwidth is inserted at the end.</p> 2922<div class="refsect3"> 2923<a name="gst-sdp-message-insert-bandwidth.parameters"></a><h4>Parameters</h4> 2924<div class="informaltable"><table class="informaltable" width="100%" border="0"> 2925<colgroup> 2926<col width="150px" class="parameters_name"> 2927<col class="parameters_description"> 2928<col width="200px" class="parameters_annotations"> 2929</colgroup> 2930<tbody> 2931<tr> 2932<td class="parameter_name"><p>msg</p></td> 2933<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 2934<td class="parameter_annotations"> </td> 2935</tr> 2936<tr> 2937<td class="parameter_name"><p>idx</p></td> 2938<td class="parameter_description"><p>an index</p></td> 2939<td class="parameter_annotations"> </td> 2940</tr> 2941<tr> 2942<td class="parameter_name"><p>bw</p></td> 2943<td class="parameter_description"><p>the bandwidth</p></td> 2944<td class="parameter_annotations"> </td> 2945</tr> 2946</tbody> 2947</table></div> 2948</div> 2949<div class="refsect3"> 2950<a name="gst-sdp-message-insert-bandwidth.returns"></a><h4>Returns</h4> 2951<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 2952</div> 2953<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 2954</div> 2955<hr> 2956<div class="refsect2"> 2957<a name="gst-sdp-message-replace-bandwidth"></a><h3>gst_sdp_message_replace_bandwidth ()</h3> 2958<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 2959gst_sdp_message_replace_bandwidth (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>, 2960 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> idx</code></em>, 2961 <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPBandwidth" title="GstSDPBandwidth"><span class="type">GstSDPBandwidth</span></a> *bw</code></em>);</pre> 2962<p>Replace the bandwidth information in <em class="parameter"><code>msg</code></em> 2963 at index <em class="parameter"><code>idx</code></em> 2964 with <em class="parameter"><code>bw</code></em> 2965.</p> 2966<div class="refsect3"> 2967<a name="gst-sdp-message-replace-bandwidth.parameters"></a><h4>Parameters</h4> 2968<div class="informaltable"><table class="informaltable" width="100%" border="0"> 2969<colgroup> 2970<col width="150px" class="parameters_name"> 2971<col class="parameters_description"> 2972<col width="200px" class="parameters_annotations"> 2973</colgroup> 2974<tbody> 2975<tr> 2976<td class="parameter_name"><p>msg</p></td> 2977<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 2978<td class="parameter_annotations"> </td> 2979</tr> 2980<tr> 2981<td class="parameter_name"><p>idx</p></td> 2982<td class="parameter_description"><p>the bandwidth index</p></td> 2983<td class="parameter_annotations"> </td> 2984</tr> 2985<tr> 2986<td class="parameter_name"><p>bw</p></td> 2987<td class="parameter_description"><p>the bandwidth</p></td> 2988<td class="parameter_annotations"> </td> 2989</tr> 2990</tbody> 2991</table></div> 2992</div> 2993<div class="refsect3"> 2994<a name="gst-sdp-message-replace-bandwidth.returns"></a><h4>Returns</h4> 2995<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 2996</div> 2997<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 2998</div> 2999<hr> 3000<div class="refsect2"> 3001<a name="gst-sdp-message-remove-bandwidth"></a><h3>gst_sdp_message_remove_bandwidth ()</h3> 3002<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 3003gst_sdp_message_remove_bandwidth (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>, 3004 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> idx</code></em>);</pre> 3005<p>Remove the bandwidth information in <em class="parameter"><code>msg</code></em> 3006 at index <em class="parameter"><code>idx</code></em> 3007.</p> 3008<div class="refsect3"> 3009<a name="gst-sdp-message-remove-bandwidth.parameters"></a><h4>Parameters</h4> 3010<div class="informaltable"><table class="informaltable" width="100%" border="0"> 3011<colgroup> 3012<col width="150px" class="parameters_name"> 3013<col class="parameters_description"> 3014<col width="200px" class="parameters_annotations"> 3015</colgroup> 3016<tbody> 3017<tr> 3018<td class="parameter_name"><p>msg</p></td> 3019<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 3020<td class="parameter_annotations"> </td> 3021</tr> 3022<tr> 3023<td class="parameter_name"><p>idx</p></td> 3024<td class="parameter_description"><p>the bandwidth index</p></td> 3025<td class="parameter_annotations"> </td> 3026</tr> 3027</tbody> 3028</table></div> 3029</div> 3030<div class="refsect3"> 3031<a name="gst-sdp-message-remove-bandwidth.returns"></a><h4>Returns</h4> 3032<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 3033</div> 3034<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 3035</div> 3036<hr> 3037<div class="refsect2"> 3038<a name="gst-sdp-message-add-bandwidth"></a><h3>gst_sdp_message_add_bandwidth ()</h3> 3039<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 3040gst_sdp_message_add_bandwidth (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>, 3041 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *bwtype</code></em>, 3042 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> bandwidth</code></em>);</pre> 3043<p>Add the specified bandwidth information to <em class="parameter"><code>msg</code></em> 3044.</p> 3045<div class="refsect3"> 3046<a name="gst-sdp-message-add-bandwidth.parameters"></a><h4>Parameters</h4> 3047<div class="informaltable"><table class="informaltable" width="100%" border="0"> 3048<colgroup> 3049<col width="150px" class="parameters_name"> 3050<col class="parameters_description"> 3051<col width="200px" class="parameters_annotations"> 3052</colgroup> 3053<tbody> 3054<tr> 3055<td class="parameter_name"><p>msg</p></td> 3056<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 3057<td class="parameter_annotations"> </td> 3058</tr> 3059<tr> 3060<td class="parameter_name"><p>bwtype</p></td> 3061<td class="parameter_description"><p>the bandwidth modifier type</p></td> 3062<td class="parameter_annotations"> </td> 3063</tr> 3064<tr> 3065<td class="parameter_name"><p>bandwidth</p></td> 3066<td class="parameter_description"><p>the bandwidth in kilobits per second</p></td> 3067<td class="parameter_annotations"> </td> 3068</tr> 3069</tbody> 3070</table></div> 3071</div> 3072<div class="refsect3"> 3073<a name="gst-sdp-message-add-bandwidth.returns"></a><h4>Returns</h4> 3074<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 3075</div> 3076</div> 3077<hr> 3078<div class="refsect2"> 3079<a name="gst-sdp-message-times-len"></a><h3>gst_sdp_message_times_len ()</h3> 3080<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> 3081gst_sdp_message_times_len (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>);</pre> 3082<p>Get the number of time information entries in <em class="parameter"><code>msg</code></em> 3083.</p> 3084<div class="refsect3"> 3085<a name="gst-sdp-message-times-len.parameters"></a><h4>Parameters</h4> 3086<div class="informaltable"><table class="informaltable" width="100%" border="0"> 3087<colgroup> 3088<col width="150px" class="parameters_name"> 3089<col class="parameters_description"> 3090<col width="200px" class="parameters_annotations"> 3091</colgroup> 3092<tbody><tr> 3093<td class="parameter_name"><p>msg</p></td> 3094<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 3095<td class="parameter_annotations"> </td> 3096</tr></tbody> 3097</table></div> 3098</div> 3099<div class="refsect3"> 3100<a name="gst-sdp-message-times-len.returns"></a><h4>Returns</h4> 3101<p> the number of time information entries in <em class="parameter"><code>msg</code></em> 3102.</p> 3103</div> 3104</div> 3105<hr> 3106<div class="refsect2"> 3107<a name="gst-sdp-message-get-time"></a><h3>gst_sdp_message_get_time ()</h3> 3108<pre class="programlisting">const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPTime" title="GstSDPTime"><span class="returnvalue">GstSDPTime</span></a> * 3109gst_sdp_message_get_time (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>, 3110 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> idx</code></em>);</pre> 3111<p>Get time information with index <em class="parameter"><code>idx</code></em> 3112 from <em class="parameter"><code>msg</code></em> 3113.</p> 3114<div class="refsect3"> 3115<a name="gst-sdp-message-get-time.parameters"></a><h4>Parameters</h4> 3116<div class="informaltable"><table class="informaltable" width="100%" border="0"> 3117<colgroup> 3118<col width="150px" class="parameters_name"> 3119<col class="parameters_description"> 3120<col width="200px" class="parameters_annotations"> 3121</colgroup> 3122<tbody> 3123<tr> 3124<td class="parameter_name"><p>msg</p></td> 3125<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 3126<td class="parameter_annotations"> </td> 3127</tr> 3128<tr> 3129<td class="parameter_name"><p>idx</p></td> 3130<td class="parameter_description"><p>the time index</p></td> 3131<td class="parameter_annotations"> </td> 3132</tr> 3133</tbody> 3134</table></div> 3135</div> 3136<div class="refsect3"> 3137<a name="gst-sdp-message-get-time.returns"></a><h4>Returns</h4> 3138<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPTime" title="GstSDPTime"><span class="type">GstSDPTime</span></a>.</p> 3139</div> 3140</div> 3141<hr> 3142<div class="refsect2"> 3143<a name="gst-sdp-message-insert-time"></a><h3>gst_sdp_message_insert_time ()</h3> 3144<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 3145gst_sdp_message_insert_time (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>, 3146 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> idx</code></em>, 3147 <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPTime" title="GstSDPTime"><span class="type">GstSDPTime</span></a> *t</code></em>);</pre> 3148<p>Insert time parameters into the array of times in <em class="parameter"><code>msg</code></em> 3149 3150at index <em class="parameter"><code>idx</code></em> 3151. 3152When -1 is given as <em class="parameter"><code>idx</code></em> 3153, the times are inserted at the end.</p> 3154<div class="refsect3"> 3155<a name="gst-sdp-message-insert-time.parameters"></a><h4>Parameters</h4> 3156<div class="informaltable"><table class="informaltable" width="100%" border="0"> 3157<colgroup> 3158<col width="150px" class="parameters_name"> 3159<col class="parameters_description"> 3160<col width="200px" class="parameters_annotations"> 3161</colgroup> 3162<tbody> 3163<tr> 3164<td class="parameter_name"><p>msg</p></td> 3165<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 3166<td class="parameter_annotations"> </td> 3167</tr> 3168<tr> 3169<td class="parameter_name"><p>idx</p></td> 3170<td class="parameter_description"><p>an index</p></td> 3171<td class="parameter_annotations"> </td> 3172</tr> 3173<tr> 3174<td class="parameter_name"><p>t</p></td> 3175<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPTime" title="GstSDPTime"><span class="type">GstSDPTime</span></a></p></td> 3176<td class="parameter_annotations"> </td> 3177</tr> 3178</tbody> 3179</table></div> 3180</div> 3181<div class="refsect3"> 3182<a name="gst-sdp-message-insert-time.returns"></a><h4>Returns</h4> 3183<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 3184</div> 3185<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 3186</div> 3187<hr> 3188<div class="refsect2"> 3189<a name="gst-sdp-message-replace-time"></a><h3>gst_sdp_message_replace_time ()</h3> 3190<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 3191gst_sdp_message_replace_time (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>, 3192 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> idx</code></em>, 3193 <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPTime" title="GstSDPTime"><span class="type">GstSDPTime</span></a> *t</code></em>);</pre> 3194<p>Replace the time information in <em class="parameter"><code>msg</code></em> 3195 at index <em class="parameter"><code>idx</code></em> 3196 with <em class="parameter"><code>t</code></em> 3197.</p> 3198<div class="refsect3"> 3199<a name="gst-sdp-message-replace-time.parameters"></a><h4>Parameters</h4> 3200<div class="informaltable"><table class="informaltable" width="100%" border="0"> 3201<colgroup> 3202<col width="150px" class="parameters_name"> 3203<col class="parameters_description"> 3204<col width="200px" class="parameters_annotations"> 3205</colgroup> 3206<tbody> 3207<tr> 3208<td class="parameter_name"><p>msg</p></td> 3209<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 3210<td class="parameter_annotations"> </td> 3211</tr> 3212<tr> 3213<td class="parameter_name"><p>idx</p></td> 3214<td class="parameter_description"><p>the index</p></td> 3215<td class="parameter_annotations"> </td> 3216</tr> 3217<tr> 3218<td class="parameter_name"><p>t</p></td> 3219<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPTime" title="GstSDPTime"><span class="type">GstSDPTime</span></a></p></td> 3220<td class="parameter_annotations"> </td> 3221</tr> 3222</tbody> 3223</table></div> 3224</div> 3225<div class="refsect3"> 3226<a name="gst-sdp-message-replace-time.returns"></a><h4>Returns</h4> 3227<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 3228</div> 3229<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 3230</div> 3231<hr> 3232<div class="refsect2"> 3233<a name="gst-sdp-message-remove-time"></a><h3>gst_sdp_message_remove_time ()</h3> 3234<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 3235gst_sdp_message_remove_time (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>, 3236 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> idx</code></em>);</pre> 3237<p>Remove the time information in <em class="parameter"><code>msg</code></em> 3238 at index <em class="parameter"><code>idx</code></em> 3239.</p> 3240<div class="refsect3"> 3241<a name="gst-sdp-message-remove-time.parameters"></a><h4>Parameters</h4> 3242<div class="informaltable"><table class="informaltable" width="100%" border="0"> 3243<colgroup> 3244<col width="150px" class="parameters_name"> 3245<col class="parameters_description"> 3246<col width="200px" class="parameters_annotations"> 3247</colgroup> 3248<tbody> 3249<tr> 3250<td class="parameter_name"><p>msg</p></td> 3251<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 3252<td class="parameter_annotations"> </td> 3253</tr> 3254<tr> 3255<td class="parameter_name"><p>idx</p></td> 3256<td class="parameter_description"><p>the index</p></td> 3257<td class="parameter_annotations"> </td> 3258</tr> 3259</tbody> 3260</table></div> 3261</div> 3262<div class="refsect3"> 3263<a name="gst-sdp-message-remove-time.returns"></a><h4>Returns</h4> 3264<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 3265</div> 3266<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 3267</div> 3268<hr> 3269<div class="refsect2"> 3270<a name="gst-sdp-message-add-time"></a><h3>gst_sdp_message_add_time ()</h3> 3271<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 3272gst_sdp_message_add_time (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>, 3273 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *start</code></em>, 3274 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *stop</code></em>, 3275 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **repeat</code></em>);</pre> 3276<p>Add time information <em class="parameter"><code>start</code></em> 3277 and <em class="parameter"><code>stop</code></em> 3278 to <em class="parameter"><code>msg</code></em> 3279.</p> 3280<div class="refsect3"> 3281<a name="gst-sdp-message-add-time.parameters"></a><h4>Parameters</h4> 3282<div class="informaltable"><table class="informaltable" width="100%" border="0"> 3283<colgroup> 3284<col width="150px" class="parameters_name"> 3285<col class="parameters_description"> 3286<col width="200px" class="parameters_annotations"> 3287</colgroup> 3288<tbody> 3289<tr> 3290<td class="parameter_name"><p>msg</p></td> 3291<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 3292<td class="parameter_annotations"> </td> 3293</tr> 3294<tr> 3295<td class="parameter_name"><p>start</p></td> 3296<td class="parameter_description"><p>the start time</p></td> 3297<td class="parameter_annotations"> </td> 3298</tr> 3299<tr> 3300<td class="parameter_name"><p>stop</p></td> 3301<td class="parameter_description"><p>the stop time</p></td> 3302<td class="parameter_annotations"> </td> 3303</tr> 3304<tr> 3305<td class="parameter_name"><p>repeat</p></td> 3306<td class="parameter_description"><p>the repeat times. </p></td> 3307<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1]</span></td> 3308</tr> 3309</tbody> 3310</table></div> 3311</div> 3312<div class="refsect3"> 3313<a name="gst-sdp-message-add-time.returns"></a><h4>Returns</h4> 3314<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 3315</div> 3316</div> 3317<hr> 3318<div class="refsect2"> 3319<a name="gst-sdp-message-zones-len"></a><h3>gst_sdp_message_zones_len ()</h3> 3320<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> 3321gst_sdp_message_zones_len (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>);</pre> 3322<p>Get the number of time zone information entries in <em class="parameter"><code>msg</code></em> 3323.</p> 3324<div class="refsect3"> 3325<a name="gst-sdp-message-zones-len.parameters"></a><h4>Parameters</h4> 3326<div class="informaltable"><table class="informaltable" width="100%" border="0"> 3327<colgroup> 3328<col width="150px" class="parameters_name"> 3329<col class="parameters_description"> 3330<col width="200px" class="parameters_annotations"> 3331</colgroup> 3332<tbody><tr> 3333<td class="parameter_name"><p>msg</p></td> 3334<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 3335<td class="parameter_annotations"> </td> 3336</tr></tbody> 3337</table></div> 3338</div> 3339<div class="refsect3"> 3340<a name="gst-sdp-message-zones-len.returns"></a><h4>Returns</h4> 3341<p> the number of time zone information entries in <em class="parameter"><code>msg</code></em> 3342.</p> 3343</div> 3344</div> 3345<hr> 3346<div class="refsect2"> 3347<a name="gst-sdp-message-get-zone"></a><h3>gst_sdp_message_get_zone ()</h3> 3348<pre class="programlisting">const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPZone" title="GstSDPZone"><span class="returnvalue">GstSDPZone</span></a> * 3349gst_sdp_message_get_zone (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>, 3350 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> idx</code></em>);</pre> 3351<p>Get time zone information with index <em class="parameter"><code>idx</code></em> 3352 from <em class="parameter"><code>msg</code></em> 3353.</p> 3354<div class="refsect3"> 3355<a name="gst-sdp-message-get-zone.parameters"></a><h4>Parameters</h4> 3356<div class="informaltable"><table class="informaltable" width="100%" border="0"> 3357<colgroup> 3358<col width="150px" class="parameters_name"> 3359<col class="parameters_description"> 3360<col width="200px" class="parameters_annotations"> 3361</colgroup> 3362<tbody> 3363<tr> 3364<td class="parameter_name"><p>msg</p></td> 3365<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 3366<td class="parameter_annotations"> </td> 3367</tr> 3368<tr> 3369<td class="parameter_name"><p>idx</p></td> 3370<td class="parameter_description"><p>the zone index</p></td> 3371<td class="parameter_annotations"> </td> 3372</tr> 3373</tbody> 3374</table></div> 3375</div> 3376<div class="refsect3"> 3377<a name="gst-sdp-message-get-zone.returns"></a><h4>Returns</h4> 3378<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPZone" title="GstSDPZone"><span class="type">GstSDPZone</span></a>.</p> 3379</div> 3380</div> 3381<hr> 3382<div class="refsect2"> 3383<a name="gst-sdp-message-insert-zone"></a><h3>gst_sdp_message_insert_zone ()</h3> 3384<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 3385gst_sdp_message_insert_zone (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>, 3386 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> idx</code></em>, 3387 <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPZone" title="GstSDPZone"><span class="type">GstSDPZone</span></a> *zone</code></em>);</pre> 3388<p>Insert zone parameters into the array of zones in <em class="parameter"><code>msg</code></em> 3389 3390at index <em class="parameter"><code>idx</code></em> 3391. 3392When -1 is given as <em class="parameter"><code>idx</code></em> 3393, the zone is inserted at the end.</p> 3394<div class="refsect3"> 3395<a name="gst-sdp-message-insert-zone.parameters"></a><h4>Parameters</h4> 3396<div class="informaltable"><table class="informaltable" width="100%" border="0"> 3397<colgroup> 3398<col width="150px" class="parameters_name"> 3399<col class="parameters_description"> 3400<col width="200px" class="parameters_annotations"> 3401</colgroup> 3402<tbody> 3403<tr> 3404<td class="parameter_name"><p>msg</p></td> 3405<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 3406<td class="parameter_annotations"> </td> 3407</tr> 3408<tr> 3409<td class="parameter_name"><p>idx</p></td> 3410<td class="parameter_description"><p>an index</p></td> 3411<td class="parameter_annotations"> </td> 3412</tr> 3413<tr> 3414<td class="parameter_name"><p>zone</p></td> 3415<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPZone" title="GstSDPZone"><span class="type">GstSDPZone</span></a></p></td> 3416<td class="parameter_annotations"> </td> 3417</tr> 3418</tbody> 3419</table></div> 3420</div> 3421<div class="refsect3"> 3422<a name="gst-sdp-message-insert-zone.returns"></a><h4>Returns</h4> 3423<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 3424</div> 3425<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 3426</div> 3427<hr> 3428<div class="refsect2"> 3429<a name="gst-sdp-message-replace-zone"></a><h3>gst_sdp_message_replace_zone ()</h3> 3430<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 3431gst_sdp_message_replace_zone (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>, 3432 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> idx</code></em>, 3433 <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPZone" title="GstSDPZone"><span class="type">GstSDPZone</span></a> *zone</code></em>);</pre> 3434<p>Replace the zone information in <em class="parameter"><code>msg</code></em> 3435 at index <em class="parameter"><code>idx</code></em> 3436 with <em class="parameter"><code>zone</code></em> 3437.</p> 3438<div class="refsect3"> 3439<a name="gst-sdp-message-replace-zone.parameters"></a><h4>Parameters</h4> 3440<div class="informaltable"><table class="informaltable" width="100%" border="0"> 3441<colgroup> 3442<col width="150px" class="parameters_name"> 3443<col class="parameters_description"> 3444<col width="200px" class="parameters_annotations"> 3445</colgroup> 3446<tbody> 3447<tr> 3448<td class="parameter_name"><p>msg</p></td> 3449<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 3450<td class="parameter_annotations"> </td> 3451</tr> 3452<tr> 3453<td class="parameter_name"><p>idx</p></td> 3454<td class="parameter_description"><p>the index</p></td> 3455<td class="parameter_annotations"> </td> 3456</tr> 3457<tr> 3458<td class="parameter_name"><p>zone</p></td> 3459<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPZone" title="GstSDPZone"><span class="type">GstSDPZone</span></a></p></td> 3460<td class="parameter_annotations"> </td> 3461</tr> 3462</tbody> 3463</table></div> 3464</div> 3465<div class="refsect3"> 3466<a name="gst-sdp-message-replace-zone.returns"></a><h4>Returns</h4> 3467<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 3468</div> 3469<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 3470</div> 3471<hr> 3472<div class="refsect2"> 3473<a name="gst-sdp-message-remove-zone"></a><h3>gst_sdp_message_remove_zone ()</h3> 3474<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 3475gst_sdp_message_remove_zone (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>, 3476 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> idx</code></em>);</pre> 3477<p>Remove the zone information in <em class="parameter"><code>msg</code></em> 3478 at index <em class="parameter"><code>idx</code></em> 3479.</p> 3480<div class="refsect3"> 3481<a name="gst-sdp-message-remove-zone.parameters"></a><h4>Parameters</h4> 3482<div class="informaltable"><table class="informaltable" width="100%" border="0"> 3483<colgroup> 3484<col width="150px" class="parameters_name"> 3485<col class="parameters_description"> 3486<col width="200px" class="parameters_annotations"> 3487</colgroup> 3488<tbody> 3489<tr> 3490<td class="parameter_name"><p>msg</p></td> 3491<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 3492<td class="parameter_annotations"> </td> 3493</tr> 3494<tr> 3495<td class="parameter_name"><p>idx</p></td> 3496<td class="parameter_description"><p>the index</p></td> 3497<td class="parameter_annotations"> </td> 3498</tr> 3499</tbody> 3500</table></div> 3501</div> 3502<div class="refsect3"> 3503<a name="gst-sdp-message-remove-zone.returns"></a><h4>Returns</h4> 3504<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 3505</div> 3506<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 3507</div> 3508<hr> 3509<div class="refsect2"> 3510<a name="gst-sdp-message-add-zone"></a><h3>gst_sdp_message_add_zone ()</h3> 3511<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 3512gst_sdp_message_add_zone (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>, 3513 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *adj_time</code></em>, 3514 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *typed_time</code></em>);</pre> 3515<p>Add time zone information to <em class="parameter"><code>msg</code></em> 3516.</p> 3517<div class="refsect3"> 3518<a name="gst-sdp-message-add-zone.parameters"></a><h4>Parameters</h4> 3519<div class="informaltable"><table class="informaltable" width="100%" border="0"> 3520<colgroup> 3521<col width="150px" class="parameters_name"> 3522<col class="parameters_description"> 3523<col width="200px" class="parameters_annotations"> 3524</colgroup> 3525<tbody> 3526<tr> 3527<td class="parameter_name"><p>msg</p></td> 3528<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 3529<td class="parameter_annotations"> </td> 3530</tr> 3531<tr> 3532<td class="parameter_name"><p>adj_time</p></td> 3533<td class="parameter_description"><p>the NTP time that a time zone adjustment happens</p></td> 3534<td class="parameter_annotations"> </td> 3535</tr> 3536<tr> 3537<td class="parameter_name"><p>typed_time</p></td> 3538<td class="parameter_description"><p>the offset from the time when the session was first scheduled</p></td> 3539<td class="parameter_annotations"> </td> 3540</tr> 3541</tbody> 3542</table></div> 3543</div> 3544<div class="refsect3"> 3545<a name="gst-sdp-message-add-zone.returns"></a><h4>Returns</h4> 3546<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 3547</div> 3548</div> 3549<hr> 3550<div class="refsect2"> 3551<a name="gst-sdp-message-get-key"></a><h3>gst_sdp_message_get_key ()</h3> 3552<pre class="programlisting">const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPKey" title="GstSDPKey"><span class="returnvalue">GstSDPKey</span></a> * 3553gst_sdp_message_get_key (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>);</pre> 3554<p>Get the encryption information from <em class="parameter"><code>msg</code></em> 3555.</p> 3556<div class="refsect3"> 3557<a name="gst-sdp-message-get-key.parameters"></a><h4>Parameters</h4> 3558<div class="informaltable"><table class="informaltable" width="100%" border="0"> 3559<colgroup> 3560<col width="150px" class="parameters_name"> 3561<col class="parameters_description"> 3562<col width="200px" class="parameters_annotations"> 3563</colgroup> 3564<tbody><tr> 3565<td class="parameter_name"><p>msg</p></td> 3566<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 3567<td class="parameter_annotations"> </td> 3568</tr></tbody> 3569</table></div> 3570</div> 3571<div class="refsect3"> 3572<a name="gst-sdp-message-get-key.returns"></a><h4>Returns</h4> 3573<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPKey" title="GstSDPKey"><span class="type">GstSDPKey</span></a>.</p> 3574</div> 3575</div> 3576<hr> 3577<div class="refsect2"> 3578<a name="gst-sdp-message-set-key"></a><h3>gst_sdp_message_set_key ()</h3> 3579<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 3580gst_sdp_message_set_key (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>, 3581 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *type</code></em>, 3582 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *data</code></em>);</pre> 3583<p>Adds the encryption information to <em class="parameter"><code>msg</code></em> 3584.</p> 3585<div class="refsect3"> 3586<a name="gst-sdp-message-set-key.parameters"></a><h4>Parameters</h4> 3587<div class="informaltable"><table class="informaltable" width="100%" border="0"> 3588<colgroup> 3589<col width="150px" class="parameters_name"> 3590<col class="parameters_description"> 3591<col width="200px" class="parameters_annotations"> 3592</colgroup> 3593<tbody> 3594<tr> 3595<td class="parameter_name"><p>msg</p></td> 3596<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 3597<td class="parameter_annotations"> </td> 3598</tr> 3599<tr> 3600<td class="parameter_name"><p>type</p></td> 3601<td class="parameter_description"><p>the encryption type</p></td> 3602<td class="parameter_annotations"> </td> 3603</tr> 3604<tr> 3605<td class="parameter_name"><p>data</p></td> 3606<td class="parameter_description"><p>the encryption data</p></td> 3607<td class="parameter_annotations"> </td> 3608</tr> 3609</tbody> 3610</table></div> 3611</div> 3612<div class="refsect3"> 3613<a name="gst-sdp-message-set-key.returns"></a><h4>Returns</h4> 3614<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 3615</div> 3616</div> 3617<hr> 3618<div class="refsect2"> 3619<a name="gst-sdp-message-attributes-len"></a><h3>gst_sdp_message_attributes_len ()</h3> 3620<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> 3621gst_sdp_message_attributes_len (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>);</pre> 3622<p>Get the number of attributes in <em class="parameter"><code>msg</code></em> 3623.</p> 3624<div class="refsect3"> 3625<a name="gst-sdp-message-attributes-len.parameters"></a><h4>Parameters</h4> 3626<div class="informaltable"><table class="informaltable" width="100%" border="0"> 3627<colgroup> 3628<col width="150px" class="parameters_name"> 3629<col class="parameters_description"> 3630<col width="200px" class="parameters_annotations"> 3631</colgroup> 3632<tbody><tr> 3633<td class="parameter_name"><p>msg</p></td> 3634<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 3635<td class="parameter_annotations"> </td> 3636</tr></tbody> 3637</table></div> 3638</div> 3639<div class="refsect3"> 3640<a name="gst-sdp-message-attributes-len.returns"></a><h4>Returns</h4> 3641<p> the number of attributes in <em class="parameter"><code>msg</code></em> 3642.</p> 3643</div> 3644</div> 3645<hr> 3646<div class="refsect2"> 3647<a name="gst-sdp-message-get-attribute"></a><h3>gst_sdp_message_get_attribute ()</h3> 3648<pre class="programlisting">const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPAttribute" title="GstSDPAttribute"><span class="returnvalue">GstSDPAttribute</span></a> * 3649gst_sdp_message_get_attribute (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>, 3650 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> idx</code></em>);</pre> 3651<p>Get the attribute at position <em class="parameter"><code>idx</code></em> 3652 in <em class="parameter"><code>msg</code></em> 3653.</p> 3654<div class="refsect3"> 3655<a name="gst-sdp-message-get-attribute.parameters"></a><h4>Parameters</h4> 3656<div class="informaltable"><table class="informaltable" width="100%" border="0"> 3657<colgroup> 3658<col width="150px" class="parameters_name"> 3659<col class="parameters_description"> 3660<col width="200px" class="parameters_annotations"> 3661</colgroup> 3662<tbody> 3663<tr> 3664<td class="parameter_name"><p>msg</p></td> 3665<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 3666<td class="parameter_annotations"> </td> 3667</tr> 3668<tr> 3669<td class="parameter_name"><p>idx</p></td> 3670<td class="parameter_description"><p>the index</p></td> 3671<td class="parameter_annotations"> </td> 3672</tr> 3673</tbody> 3674</table></div> 3675</div> 3676<div class="refsect3"> 3677<a name="gst-sdp-message-get-attribute.returns"></a><h4>Returns</h4> 3678<p> the <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPAttribute" title="GstSDPAttribute"><span class="type">GstSDPAttribute</span></a> at position <em class="parameter"><code>idx</code></em> 3679.</p> 3680</div> 3681</div> 3682<hr> 3683<div class="refsect2"> 3684<a name="gst-sdp-message-get-attribute-val"></a><h3>gst_sdp_message_get_attribute_val ()</h3> 3685<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 3686gst_sdp_message_get_attribute_val (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>, 3687 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>);</pre> 3688<p>Get the first attribute with key <em class="parameter"><code>key</code></em> 3689 in <em class="parameter"><code>msg</code></em> 3690.</p> 3691<div class="refsect3"> 3692<a name="gst-sdp-message-get-attribute-val.parameters"></a><h4>Parameters</h4> 3693<div class="informaltable"><table class="informaltable" width="100%" border="0"> 3694<colgroup> 3695<col width="150px" class="parameters_name"> 3696<col class="parameters_description"> 3697<col width="200px" class="parameters_annotations"> 3698</colgroup> 3699<tbody> 3700<tr> 3701<td class="parameter_name"><p>msg</p></td> 3702<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 3703<td class="parameter_annotations"> </td> 3704</tr> 3705<tr> 3706<td class="parameter_name"><p>key</p></td> 3707<td class="parameter_description"><p>the key</p></td> 3708<td class="parameter_annotations"> </td> 3709</tr> 3710</tbody> 3711</table></div> 3712</div> 3713<div class="refsect3"> 3714<a name="gst-sdp-message-get-attribute-val.returns"></a><h4>Returns</h4> 3715<p> the attribute value of the first attribute with <em class="parameter"><code>key</code></em> 3716.</p> 3717</div> 3718</div> 3719<hr> 3720<div class="refsect2"> 3721<a name="gst-sdp-message-get-attribute-val-n"></a><h3>gst_sdp_message_get_attribute_val_n ()</h3> 3722<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 3723gst_sdp_message_get_attribute_val_n (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>, 3724 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>, 3725 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> nth</code></em>);</pre> 3726<p>Get the <em class="parameter"><code>nth</code></em> 3727 attribute with key <em class="parameter"><code>key</code></em> 3728 in <em class="parameter"><code>msg</code></em> 3729.</p> 3730<div class="refsect3"> 3731<a name="gst-sdp-message-get-attribute-val-n.parameters"></a><h4>Parameters</h4> 3732<div class="informaltable"><table class="informaltable" width="100%" border="0"> 3733<colgroup> 3734<col width="150px" class="parameters_name"> 3735<col class="parameters_description"> 3736<col width="200px" class="parameters_annotations"> 3737</colgroup> 3738<tbody> 3739<tr> 3740<td class="parameter_name"><p>msg</p></td> 3741<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 3742<td class="parameter_annotations"> </td> 3743</tr> 3744<tr> 3745<td class="parameter_name"><p>key</p></td> 3746<td class="parameter_description"><p>the key</p></td> 3747<td class="parameter_annotations"> </td> 3748</tr> 3749<tr> 3750<td class="parameter_name"><p>nth</p></td> 3751<td class="parameter_description"><p>the index</p></td> 3752<td class="parameter_annotations"> </td> 3753</tr> 3754</tbody> 3755</table></div> 3756</div> 3757<div class="refsect3"> 3758<a name="gst-sdp-message-get-attribute-val-n.returns"></a><h4>Returns</h4> 3759<p> the attribute value of the <em class="parameter"><code>nth</code></em> 3760attribute with <em class="parameter"><code>key</code></em> 3761.</p> 3762</div> 3763</div> 3764<hr> 3765<div class="refsect2"> 3766<a name="gst-sdp-message-insert-attribute"></a><h3>gst_sdp_message_insert_attribute ()</h3> 3767<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 3768gst_sdp_message_insert_attribute (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>, 3769 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> idx</code></em>, 3770 <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPAttribute" title="GstSDPAttribute"><span class="type">GstSDPAttribute</span></a> *attr</code></em>);</pre> 3771<p>Insert attribute into the array of attributes in <em class="parameter"><code>msg</code></em> 3772 3773at index <em class="parameter"><code>idx</code></em> 3774. 3775When -1 is given as <em class="parameter"><code>idx</code></em> 3776, the attribute is inserted at the end.</p> 3777<div class="refsect3"> 3778<a name="gst-sdp-message-insert-attribute.parameters"></a><h4>Parameters</h4> 3779<div class="informaltable"><table class="informaltable" width="100%" border="0"> 3780<colgroup> 3781<col width="150px" class="parameters_name"> 3782<col class="parameters_description"> 3783<col width="200px" class="parameters_annotations"> 3784</colgroup> 3785<tbody> 3786<tr> 3787<td class="parameter_name"><p>msg</p></td> 3788<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 3789<td class="parameter_annotations"> </td> 3790</tr> 3791<tr> 3792<td class="parameter_name"><p>idx</p></td> 3793<td class="parameter_description"><p>an index</p></td> 3794<td class="parameter_annotations"> </td> 3795</tr> 3796<tr> 3797<td class="parameter_name"><p>attr</p></td> 3798<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPAttribute" title="GstSDPAttribute"><span class="type">GstSDPAttribute</span></a></p></td> 3799<td class="parameter_annotations"> </td> 3800</tr> 3801</tbody> 3802</table></div> 3803</div> 3804<div class="refsect3"> 3805<a name="gst-sdp-message-insert-attribute.returns"></a><h4>Returns</h4> 3806<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 3807</div> 3808<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 3809</div> 3810<hr> 3811<div class="refsect2"> 3812<a name="gst-sdp-message-replace-attribute"></a><h3>gst_sdp_message_replace_attribute ()</h3> 3813<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 3814gst_sdp_message_replace_attribute (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>, 3815 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> idx</code></em>, 3816 <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPAttribute" title="GstSDPAttribute"><span class="type">GstSDPAttribute</span></a> *attr</code></em>);</pre> 3817<p>Replace the attribute in <em class="parameter"><code>msg</code></em> 3818 at index <em class="parameter"><code>idx</code></em> 3819 with <em class="parameter"><code>attr</code></em> 3820.</p> 3821<div class="refsect3"> 3822<a name="gst-sdp-message-replace-attribute.parameters"></a><h4>Parameters</h4> 3823<div class="informaltable"><table class="informaltable" width="100%" border="0"> 3824<colgroup> 3825<col width="150px" class="parameters_name"> 3826<col class="parameters_description"> 3827<col width="200px" class="parameters_annotations"> 3828</colgroup> 3829<tbody> 3830<tr> 3831<td class="parameter_name"><p>msg</p></td> 3832<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 3833<td class="parameter_annotations"> </td> 3834</tr> 3835<tr> 3836<td class="parameter_name"><p>idx</p></td> 3837<td class="parameter_description"><p>the index</p></td> 3838<td class="parameter_annotations"> </td> 3839</tr> 3840<tr> 3841<td class="parameter_name"><p>attr</p></td> 3842<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPAttribute" title="GstSDPAttribute"><span class="type">GstSDPAttribute</span></a></p></td> 3843<td class="parameter_annotations"> </td> 3844</tr> 3845</tbody> 3846</table></div> 3847</div> 3848<div class="refsect3"> 3849<a name="gst-sdp-message-replace-attribute.returns"></a><h4>Returns</h4> 3850<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 3851</div> 3852<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 3853</div> 3854<hr> 3855<div class="refsect2"> 3856<a name="gst-sdp-message-remove-attribute"></a><h3>gst_sdp_message_remove_attribute ()</h3> 3857<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 3858gst_sdp_message_remove_attribute (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>, 3859 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> idx</code></em>);</pre> 3860<p>Remove the attribute in <em class="parameter"><code>msg</code></em> 3861 at index <em class="parameter"><code>idx</code></em> 3862.</p> 3863<div class="refsect3"> 3864<a name="gst-sdp-message-remove-attribute.parameters"></a><h4>Parameters</h4> 3865<div class="informaltable"><table class="informaltable" width="100%" border="0"> 3866<colgroup> 3867<col width="150px" class="parameters_name"> 3868<col class="parameters_description"> 3869<col width="200px" class="parameters_annotations"> 3870</colgroup> 3871<tbody> 3872<tr> 3873<td class="parameter_name"><p>msg</p></td> 3874<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 3875<td class="parameter_annotations"> </td> 3876</tr> 3877<tr> 3878<td class="parameter_name"><p>idx</p></td> 3879<td class="parameter_description"><p>the index</p></td> 3880<td class="parameter_annotations"> </td> 3881</tr> 3882</tbody> 3883</table></div> 3884</div> 3885<div class="refsect3"> 3886<a name="gst-sdp-message-remove-attribute.returns"></a><h4>Returns</h4> 3887<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 3888</div> 3889<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 3890</div> 3891<hr> 3892<div class="refsect2"> 3893<a name="gst-sdp-message-add-attribute"></a><h3>gst_sdp_message_add_attribute ()</h3> 3894<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 3895gst_sdp_message_add_attribute (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>, 3896 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>, 3897 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *value</code></em>);</pre> 3898<p>Add the attribute with <em class="parameter"><code>key</code></em> 3899 and <em class="parameter"><code>value</code></em> 3900 to <em class="parameter"><code>msg</code></em> 3901.</p> 3902<div class="refsect3"> 3903<a name="gst-sdp-message-add-attribute.parameters"></a><h4>Parameters</h4> 3904<div class="informaltable"><table class="informaltable" width="100%" border="0"> 3905<colgroup> 3906<col width="150px" class="parameters_name"> 3907<col class="parameters_description"> 3908<col width="200px" class="parameters_annotations"> 3909</colgroup> 3910<tbody> 3911<tr> 3912<td class="parameter_name"><p>msg</p></td> 3913<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 3914<td class="parameter_annotations"> </td> 3915</tr> 3916<tr> 3917<td class="parameter_name"><p>key</p></td> 3918<td class="parameter_description"><p>the key</p></td> 3919<td class="parameter_annotations"> </td> 3920</tr> 3921<tr> 3922<td class="parameter_name"><p>value</p></td> 3923<td class="parameter_description"><p>the value. </p></td> 3924<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td> 3925</tr> 3926</tbody> 3927</table></div> 3928</div> 3929<div class="refsect3"> 3930<a name="gst-sdp-message-add-attribute.returns"></a><h4>Returns</h4> 3931<p> <em class="parameter"><code>GST_SDP_OK</code></em> 3932.</p> 3933</div> 3934</div> 3935<hr> 3936<div class="refsect2"> 3937<a name="gst-sdp-message-medias-len"></a><h3>gst_sdp_message_medias_len ()</h3> 3938<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> 3939gst_sdp_message_medias_len (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>);</pre> 3940<p>Get the number of media descriptions in <em class="parameter"><code>msg</code></em> 3941.</p> 3942<div class="refsect3"> 3943<a name="gst-sdp-message-medias-len.parameters"></a><h4>Parameters</h4> 3944<div class="informaltable"><table class="informaltable" width="100%" border="0"> 3945<colgroup> 3946<col width="150px" class="parameters_name"> 3947<col class="parameters_description"> 3948<col width="200px" class="parameters_annotations"> 3949</colgroup> 3950<tbody><tr> 3951<td class="parameter_name"><p>msg</p></td> 3952<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 3953<td class="parameter_annotations"> </td> 3954</tr></tbody> 3955</table></div> 3956</div> 3957<div class="refsect3"> 3958<a name="gst-sdp-message-medias-len.returns"></a><h4>Returns</h4> 3959<p> the number of media descriptions in <em class="parameter"><code>msg</code></em> 3960.</p> 3961</div> 3962</div> 3963<hr> 3964<div class="refsect2"> 3965<a name="gst-sdp-message-get-media"></a><h3>gst_sdp_message_get_media ()</h3> 3966<pre class="programlisting">const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="returnvalue">GstSDPMedia</span></a> * 3967gst_sdp_message_get_media (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>, 3968 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> idx</code></em>);</pre> 3969<p>Get the media description at index <em class="parameter"><code>idx</code></em> 3970 in <em class="parameter"><code>msg</code></em> 3971.</p> 3972<div class="refsect3"> 3973<a name="gst-sdp-message-get-media.parameters"></a><h4>Parameters</h4> 3974<div class="informaltable"><table class="informaltable" width="100%" border="0"> 3975<colgroup> 3976<col width="150px" class="parameters_name"> 3977<col class="parameters_description"> 3978<col width="200px" class="parameters_annotations"> 3979</colgroup> 3980<tbody> 3981<tr> 3982<td class="parameter_name"><p>msg</p></td> 3983<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 3984<td class="parameter_annotations"> </td> 3985</tr> 3986<tr> 3987<td class="parameter_name"><p>idx</p></td> 3988<td class="parameter_description"><p>the index</p></td> 3989<td class="parameter_annotations"> </td> 3990</tr> 3991</tbody> 3992</table></div> 3993</div> 3994<div class="refsect3"> 3995<a name="gst-sdp-message-get-media.returns"></a><h4>Returns</h4> 3996<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a>.</p> 3997</div> 3998</div> 3999<hr> 4000<div class="refsect2"> 4001<a name="gst-sdp-message-add-media"></a><h3>gst_sdp_message_add_media ()</h3> 4002<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 4003gst_sdp_message_add_media (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>, 4004 <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> *media</code></em>);</pre> 4005<p>Adds <em class="parameter"><code>media</code></em> 4006 to the array of medias in <em class="parameter"><code>msg</code></em> 4007. This function takes ownership of 4008the contents of <em class="parameter"><code>media</code></em> 4009 so that <em class="parameter"><code>media</code></em> 4010 will have to be reinitialized with 4011<a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-init" title="gst_sdp_media_init ()"><code class="function">gst_sdp_media_init()</code></a> before it can be used again.</p> 4012<div class="refsect3"> 4013<a name="gst-sdp-message-add-media.parameters"></a><h4>Parameters</h4> 4014<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4015<colgroup> 4016<col width="150px" class="parameters_name"> 4017<col class="parameters_description"> 4018<col width="200px" class="parameters_annotations"> 4019</colgroup> 4020<tbody> 4021<tr> 4022<td class="parameter_name"><p>msg</p></td> 4023<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 4024<td class="parameter_annotations"> </td> 4025</tr> 4026<tr> 4027<td class="parameter_name"><p>media</p></td> 4028<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> to add</p></td> 4029<td class="parameter_annotations"> </td> 4030</tr> 4031</tbody> 4032</table></div> 4033</div> 4034<div class="refsect3"> 4035<a name="gst-sdp-message-add-media.returns"></a><h4>Returns</h4> 4036<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 4037</div> 4038</div> 4039<hr> 4040<div class="refsect2"> 4041<a name="gst-sdp-message-dump"></a><h3>gst_sdp_message_dump ()</h3> 4042<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 4043gst_sdp_message_dump (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>);</pre> 4044<p>Dump the parsed contents of <em class="parameter"><code>msg</code></em> 4045 to stdout.</p> 4046<div class="refsect3"> 4047<a name="gst-sdp-message-dump.parameters"></a><h4>Parameters</h4> 4048<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4049<colgroup> 4050<col width="150px" class="parameters_name"> 4051<col class="parameters_description"> 4052<col width="200px" class="parameters_annotations"> 4053</colgroup> 4054<tbody><tr> 4055<td class="parameter_name"><p>msg</p></td> 4056<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 4057<td class="parameter_annotations"> </td> 4058</tr></tbody> 4059</table></div> 4060</div> 4061<div class="refsect3"> 4062<a name="gst-sdp-message-dump.returns"></a><h4>Returns</h4> 4063<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 4064</div> 4065</div> 4066<hr> 4067<div class="refsect2"> 4068<a name="gst-sdp-media-new"></a><h3>gst_sdp_media_new ()</h3> 4069<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 4070gst_sdp_media_new (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> **media</code></em>);</pre> 4071<p>Allocate a new GstSDPMedia and store the result in <em class="parameter"><code>media</code></em> 4072.</p> 4073<div class="refsect3"> 4074<a name="gst-sdp-media-new.parameters"></a><h4>Parameters</h4> 4075<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4076<colgroup> 4077<col width="150px" class="parameters_name"> 4078<col class="parameters_description"> 4079<col width="200px" class="parameters_annotations"> 4080</colgroup> 4081<tbody><tr> 4082<td class="parameter_name"><p>media</p></td> 4083<td class="parameter_description"><p>pointer to new <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a>. </p></td> 4084<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td> 4085</tr></tbody> 4086</table></div> 4087</div> 4088<div class="refsect3"> 4089<a name="gst-sdp-media-new.returns"></a><h4>Returns</h4> 4090<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 4091</div> 4092</div> 4093<hr> 4094<div class="refsect2"> 4095<a name="gst-sdp-media-copy"></a><h3>gst_sdp_media_copy ()</h3> 4096<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 4097gst_sdp_media_copy (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> *media</code></em>, 4098 <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> **copy</code></em>);</pre> 4099<p>Allocate a new copy of <em class="parameter"><code>media</code></em> 4100 and store the result in <em class="parameter"><code>copy</code></em> 4101. The value in 4102<em class="parameter"><code>copy</code></em> 4103 should be release with gst_sdp_media_free function.</p> 4104<div class="refsect3"> 4105<a name="gst-sdp-media-copy.parameters"></a><h4>Parameters</h4> 4106<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4107<colgroup> 4108<col width="150px" class="parameters_name"> 4109<col class="parameters_description"> 4110<col width="200px" class="parameters_annotations"> 4111</colgroup> 4112<tbody> 4113<tr> 4114<td class="parameter_name"><p>media</p></td> 4115<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a></p></td> 4116<td class="parameter_annotations"> </td> 4117</tr> 4118<tr> 4119<td class="parameter_name"><p>copy</p></td> 4120<td class="parameter_description"><p>pointer to new <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a>. </p></td> 4121<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td> 4122</tr> 4123</tbody> 4124</table></div> 4125</div> 4126<div class="refsect3"> 4127<a name="gst-sdp-media-copy.returns"></a><h4>Returns</h4> 4128<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a></p> 4129</div> 4130<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 4131</div> 4132<hr> 4133<div class="refsect2"> 4134<a name="gst-sdp-media-init"></a><h3>gst_sdp_media_init ()</h3> 4135<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 4136gst_sdp_media_init (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> *media</code></em>);</pre> 4137<p>Initialize <em class="parameter"><code>media</code></em> 4138 so that its contents are as if it was freshly allocated 4139with <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-new" title="gst_sdp_media_new ()"><code class="function">gst_sdp_media_new()</code></a>. This function is mostly used to initialize a media 4140allocated on the stack. <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-uninit" title="gst_sdp_media_uninit ()"><code class="function">gst_sdp_media_uninit()</code></a> undoes this operation.</p> 4141<p>When this function is invoked on newly allocated data (with malloc or on the 4142stack), its contents should be set to 0 before calling this function.</p> 4143<div class="refsect3"> 4144<a name="gst-sdp-media-init.parameters"></a><h4>Parameters</h4> 4145<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4146<colgroup> 4147<col width="150px" class="parameters_name"> 4148<col class="parameters_description"> 4149<col width="200px" class="parameters_annotations"> 4150</colgroup> 4151<tbody><tr> 4152<td class="parameter_name"><p>media</p></td> 4153<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a></p></td> 4154<td class="parameter_annotations"> </td> 4155</tr></tbody> 4156</table></div> 4157</div> 4158<div class="refsect3"> 4159<a name="gst-sdp-media-init.returns"></a><h4>Returns</h4> 4160<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 4161</div> 4162</div> 4163<hr> 4164<div class="refsect2"> 4165<a name="gst-sdp-media-uninit"></a><h3>gst_sdp_media_uninit ()</h3> 4166<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 4167gst_sdp_media_uninit (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> *media</code></em>);</pre> 4168<p>Free all resources allocated in <em class="parameter"><code>media</code></em> 4169. <em class="parameter"><code>media</code></em> 4170 should not be used anymore after 4171this function. This function should be used when <em class="parameter"><code>media</code></em> 4172 was allocated on the 4173stack and initialized with <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-init" title="gst_sdp_media_init ()"><code class="function">gst_sdp_media_init()</code></a>.</p> 4174<div class="refsect3"> 4175<a name="gst-sdp-media-uninit.parameters"></a><h4>Parameters</h4> 4176<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4177<colgroup> 4178<col width="150px" class="parameters_name"> 4179<col class="parameters_description"> 4180<col width="200px" class="parameters_annotations"> 4181</colgroup> 4182<tbody><tr> 4183<td class="parameter_name"><p>media</p></td> 4184<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a></p></td> 4185<td class="parameter_annotations"> </td> 4186</tr></tbody> 4187</table></div> 4188</div> 4189<div class="refsect3"> 4190<a name="gst-sdp-media-uninit.returns"></a><h4>Returns</h4> 4191<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 4192</div> 4193</div> 4194<hr> 4195<div class="refsect2"> 4196<a name="gst-sdp-media-free"></a><h3>gst_sdp_media_free ()</h3> 4197<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 4198gst_sdp_media_free (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> *media</code></em>);</pre> 4199<p>Free all resources allocated by <em class="parameter"><code>media</code></em> 4200. <em class="parameter"><code>media</code></em> 4201 should not be used anymore after 4202this function. This function should be used when <em class="parameter"><code>media</code></em> 4203 was dynamically 4204allocated with <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#gst-sdp-media-new" title="gst_sdp_media_new ()"><code class="function">gst_sdp_media_new()</code></a>.</p> 4205<div class="refsect3"> 4206<a name="gst-sdp-media-free.parameters"></a><h4>Parameters</h4> 4207<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4208<colgroup> 4209<col width="150px" class="parameters_name"> 4210<col class="parameters_description"> 4211<col width="200px" class="parameters_annotations"> 4212</colgroup> 4213<tbody><tr> 4214<td class="parameter_name"><p>media</p></td> 4215<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a></p></td> 4216<td class="parameter_annotations"> </td> 4217</tr></tbody> 4218</table></div> 4219</div> 4220<div class="refsect3"> 4221<a name="gst-sdp-media-free.returns"></a><h4>Returns</h4> 4222<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 4223</div> 4224</div> 4225<hr> 4226<div class="refsect2"> 4227<a name="gst-sdp-media-as-text"></a><h3>gst_sdp_media_as_text ()</h3> 4228<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 4229gst_sdp_media_as_text (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> *media</code></em>);</pre> 4230<p>Convert the contents of <em class="parameter"><code>media</code></em> 4231 to a text string.</p> 4232<div class="refsect3"> 4233<a name="gst-sdp-media-as-text.parameters"></a><h4>Parameters</h4> 4234<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4235<colgroup> 4236<col width="150px" class="parameters_name"> 4237<col class="parameters_description"> 4238<col width="200px" class="parameters_annotations"> 4239</colgroup> 4240<tbody><tr> 4241<td class="parameter_name"><p>media</p></td> 4242<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a></p></td> 4243<td class="parameter_annotations"> </td> 4244</tr></tbody> 4245</table></div> 4246</div> 4247<div class="refsect3"> 4248<a name="gst-sdp-media-as-text.returns"></a><h4>Returns</h4> 4249<p> A dynamically allocated string representing the media.</p> 4250</div> 4251</div> 4252<hr> 4253<div class="refsect2"> 4254<a name="gst-sdp-media-get-media"></a><h3>gst_sdp_media_get_media ()</h3> 4255<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 4256gst_sdp_media_get_media (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> *media</code></em>);</pre> 4257<p>Get the media description of <em class="parameter"><code>media</code></em> 4258.</p> 4259<div class="refsect3"> 4260<a name="gst-sdp-media-get-media.parameters"></a><h4>Parameters</h4> 4261<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4262<colgroup> 4263<col width="150px" class="parameters_name"> 4264<col class="parameters_description"> 4265<col width="200px" class="parameters_annotations"> 4266</colgroup> 4267<tbody><tr> 4268<td class="parameter_name"><p>media</p></td> 4269<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a></p></td> 4270<td class="parameter_annotations"> </td> 4271</tr></tbody> 4272</table></div> 4273</div> 4274<div class="refsect3"> 4275<a name="gst-sdp-media-get-media.returns"></a><h4>Returns</h4> 4276<p> the media description.</p> 4277</div> 4278</div> 4279<hr> 4280<div class="refsect2"> 4281<a name="gst-sdp-media-set-media"></a><h3>gst_sdp_media_set_media ()</h3> 4282<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 4283gst_sdp_media_set_media (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> *media</code></em>, 4284 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *med</code></em>);</pre> 4285<p>Set the media description of <em class="parameter"><code>media</code></em> 4286 to <em class="parameter"><code>med</code></em> 4287.</p> 4288<div class="refsect3"> 4289<a name="gst-sdp-media-set-media.parameters"></a><h4>Parameters</h4> 4290<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4291<colgroup> 4292<col width="150px" class="parameters_name"> 4293<col class="parameters_description"> 4294<col width="200px" class="parameters_annotations"> 4295</colgroup> 4296<tbody> 4297<tr> 4298<td class="parameter_name"><p>media</p></td> 4299<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a></p></td> 4300<td class="parameter_annotations"> </td> 4301</tr> 4302<tr> 4303<td class="parameter_name"><p>med</p></td> 4304<td class="parameter_description"><p>the media description</p></td> 4305<td class="parameter_annotations"> </td> 4306</tr> 4307</tbody> 4308</table></div> 4309</div> 4310<div class="refsect3"> 4311<a name="gst-sdp-media-set-media.returns"></a><h4>Returns</h4> 4312<p> <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GST-SDP-OK:CAPS"><span class="type">GST_SDP_OK</span></a>.</p> 4313</div> 4314</div> 4315<hr> 4316<div class="refsect2"> 4317<a name="gst-sdp-media-get-port"></a><h3>gst_sdp_media_get_port ()</h3> 4318<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> 4319gst_sdp_media_get_port (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> *media</code></em>);</pre> 4320<p>Get the port number for <em class="parameter"><code>media</code></em> 4321.</p> 4322<div class="refsect3"> 4323<a name="gst-sdp-media-get-port.parameters"></a><h4>Parameters</h4> 4324<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4325<colgroup> 4326<col width="150px" class="parameters_name"> 4327<col class="parameters_description"> 4328<col width="200px" class="parameters_annotations"> 4329</colgroup> 4330<tbody><tr> 4331<td class="parameter_name"><p>media</p></td> 4332<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a></p></td> 4333<td class="parameter_annotations"> </td> 4334</tr></tbody> 4335</table></div> 4336</div> 4337<div class="refsect3"> 4338<a name="gst-sdp-media-get-port.returns"></a><h4>Returns</h4> 4339<p> the port number of <em class="parameter"><code>media</code></em> 4340.</p> 4341</div> 4342</div> 4343<hr> 4344<div class="refsect2"> 4345<a name="gst-sdp-media-get-num-ports"></a><h3>gst_sdp_media_get_num_ports ()</h3> 4346<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> 4347gst_sdp_media_get_num_ports (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> *media</code></em>);</pre> 4348<p>Get the number of ports for <em class="parameter"><code>media</code></em> 4349.</p> 4350<div class="refsect3"> 4351<a name="gst-sdp-media-get-num-ports.parameters"></a><h4>Parameters</h4> 4352<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4353<colgroup> 4354<col width="150px" class="parameters_name"> 4355<col class="parameters_description"> 4356<col width="200px" class="parameters_annotations"> 4357</colgroup> 4358<tbody><tr> 4359<td class="parameter_name"><p>media</p></td> 4360<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a></p></td> 4361<td class="parameter_annotations"> </td> 4362</tr></tbody> 4363</table></div> 4364</div> 4365<div class="refsect3"> 4366<a name="gst-sdp-media-get-num-ports.returns"></a><h4>Returns</h4> 4367<p> the number of ports for <em class="parameter"><code>media</code></em> 4368.</p> 4369</div> 4370</div> 4371<hr> 4372<div class="refsect2"> 4373<a name="gst-sdp-media-set-port-info"></a><h3>gst_sdp_media_set_port_info ()</h3> 4374<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 4375gst_sdp_media_set_port_info (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> *media</code></em>, 4376 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> port</code></em>, 4377 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> num_ports</code></em>);</pre> 4378<p>Set the port information in <em class="parameter"><code>media</code></em> 4379.</p> 4380<div class="refsect3"> 4381<a name="gst-sdp-media-set-port-info.parameters"></a><h4>Parameters</h4> 4382<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4383<colgroup> 4384<col width="150px" class="parameters_name"> 4385<col class="parameters_description"> 4386<col width="200px" class="parameters_annotations"> 4387</colgroup> 4388<tbody> 4389<tr> 4390<td class="parameter_name"><p>media</p></td> 4391<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a></p></td> 4392<td class="parameter_annotations"> </td> 4393</tr> 4394<tr> 4395<td class="parameter_name"><p>port</p></td> 4396<td class="parameter_description"><p>the port number</p></td> 4397<td class="parameter_annotations"> </td> 4398</tr> 4399<tr> 4400<td class="parameter_name"><p>num_ports</p></td> 4401<td class="parameter_description"><p>the number of ports</p></td> 4402<td class="parameter_annotations"> </td> 4403</tr> 4404</tbody> 4405</table></div> 4406</div> 4407<div class="refsect3"> 4408<a name="gst-sdp-media-set-port-info.returns"></a><h4>Returns</h4> 4409<p> <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GST-SDP-OK:CAPS"><span class="type">GST_SDP_OK</span></a>.</p> 4410</div> 4411</div> 4412<hr> 4413<div class="refsect2"> 4414<a name="gst-sdp-media-get-proto"></a><h3>gst_sdp_media_get_proto ()</h3> 4415<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 4416gst_sdp_media_get_proto (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> *media</code></em>);</pre> 4417<p>Get the transport protocol of <em class="parameter"><code>media</code></em> 4418</p> 4419<div class="refsect3"> 4420<a name="gst-sdp-media-get-proto.parameters"></a><h4>Parameters</h4> 4421<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4422<colgroup> 4423<col width="150px" class="parameters_name"> 4424<col class="parameters_description"> 4425<col width="200px" class="parameters_annotations"> 4426</colgroup> 4427<tbody><tr> 4428<td class="parameter_name"><p>media</p></td> 4429<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a></p></td> 4430<td class="parameter_annotations"> </td> 4431</tr></tbody> 4432</table></div> 4433</div> 4434<div class="refsect3"> 4435<a name="gst-sdp-media-get-proto.returns"></a><h4>Returns</h4> 4436<p> the transport protocol of <em class="parameter"><code>media</code></em> 4437.</p> 4438</div> 4439</div> 4440<hr> 4441<div class="refsect2"> 4442<a name="gst-sdp-media-set-proto"></a><h3>gst_sdp_media_set_proto ()</h3> 4443<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 4444gst_sdp_media_set_proto (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> *media</code></em>, 4445 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *proto</code></em>);</pre> 4446<p>Set the media transport protocol of <em class="parameter"><code>media</code></em> 4447 to <em class="parameter"><code>proto</code></em> 4448.</p> 4449<div class="refsect3"> 4450<a name="gst-sdp-media-set-proto.parameters"></a><h4>Parameters</h4> 4451<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4452<colgroup> 4453<col width="150px" class="parameters_name"> 4454<col class="parameters_description"> 4455<col width="200px" class="parameters_annotations"> 4456</colgroup> 4457<tbody> 4458<tr> 4459<td class="parameter_name"><p>media</p></td> 4460<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a></p></td> 4461<td class="parameter_annotations"> </td> 4462</tr> 4463<tr> 4464<td class="parameter_name"><p>proto</p></td> 4465<td class="parameter_description"><p>the media transport protocol</p></td> 4466<td class="parameter_annotations"> </td> 4467</tr> 4468</tbody> 4469</table></div> 4470</div> 4471<div class="refsect3"> 4472<a name="gst-sdp-media-set-proto.returns"></a><h4>Returns</h4> 4473<p> <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GST-SDP-OK:CAPS"><span class="type">GST_SDP_OK</span></a>.</p> 4474</div> 4475</div> 4476<hr> 4477<div class="refsect2"> 4478<a name="gst-sdp-media-formats-len"></a><h3>gst_sdp_media_formats_len ()</h3> 4479<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> 4480gst_sdp_media_formats_len (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> *media</code></em>);</pre> 4481<p>Get the number of formats in <em class="parameter"><code>media</code></em> 4482.</p> 4483<div class="refsect3"> 4484<a name="gst-sdp-media-formats-len.parameters"></a><h4>Parameters</h4> 4485<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4486<colgroup> 4487<col width="150px" class="parameters_name"> 4488<col class="parameters_description"> 4489<col width="200px" class="parameters_annotations"> 4490</colgroup> 4491<tbody><tr> 4492<td class="parameter_name"><p>media</p></td> 4493<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a></p></td> 4494<td class="parameter_annotations"> </td> 4495</tr></tbody> 4496</table></div> 4497</div> 4498<div class="refsect3"> 4499<a name="gst-sdp-media-formats-len.returns"></a><h4>Returns</h4> 4500<p> the number of formats in <em class="parameter"><code>media</code></em> 4501.</p> 4502</div> 4503</div> 4504<hr> 4505<div class="refsect2"> 4506<a name="gst-sdp-media-get-format"></a><h3>gst_sdp_media_get_format ()</h3> 4507<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 4508gst_sdp_media_get_format (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> *media</code></em>, 4509 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> idx</code></em>);</pre> 4510<p>Get the format information at position <em class="parameter"><code>idx</code></em> 4511 in <em class="parameter"><code>media</code></em> 4512.</p> 4513<div class="refsect3"> 4514<a name="gst-sdp-media-get-format.parameters"></a><h4>Parameters</h4> 4515<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4516<colgroup> 4517<col width="150px" class="parameters_name"> 4518<col class="parameters_description"> 4519<col width="200px" class="parameters_annotations"> 4520</colgroup> 4521<tbody> 4522<tr> 4523<td class="parameter_name"><p>media</p></td> 4524<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a></p></td> 4525<td class="parameter_annotations"> </td> 4526</tr> 4527<tr> 4528<td class="parameter_name"><p>idx</p></td> 4529<td class="parameter_description"><p>an index</p></td> 4530<td class="parameter_annotations"> </td> 4531</tr> 4532</tbody> 4533</table></div> 4534</div> 4535<div class="refsect3"> 4536<a name="gst-sdp-media-get-format.returns"></a><h4>Returns</h4> 4537<p> the format at position <em class="parameter"><code>idx</code></em> 4538.</p> 4539</div> 4540</div> 4541<hr> 4542<div class="refsect2"> 4543<a name="gst-sdp-media-insert-format"></a><h3>gst_sdp_media_insert_format ()</h3> 4544<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 4545gst_sdp_media_insert_format (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> *media</code></em>, 4546 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> idx</code></em>, 4547 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *format</code></em>);</pre> 4548<p>Insert the format information to <em class="parameter"><code>media</code></em> 4549 at <em class="parameter"><code>idx</code></em> 4550. When <em class="parameter"><code>idx</code></em> 4551 is -1, 4552the format is appended.</p> 4553<div class="refsect3"> 4554<a name="gst-sdp-media-insert-format.parameters"></a><h4>Parameters</h4> 4555<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4556<colgroup> 4557<col width="150px" class="parameters_name"> 4558<col class="parameters_description"> 4559<col width="200px" class="parameters_annotations"> 4560</colgroup> 4561<tbody> 4562<tr> 4563<td class="parameter_name"><p>media</p></td> 4564<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a></p></td> 4565<td class="parameter_annotations"> </td> 4566</tr> 4567<tr> 4568<td class="parameter_name"><p>idx</p></td> 4569<td class="parameter_description"><p>an index</p></td> 4570<td class="parameter_annotations"> </td> 4571</tr> 4572<tr> 4573<td class="parameter_name"><p>format</p></td> 4574<td class="parameter_description"><p>the format</p></td> 4575<td class="parameter_annotations"> </td> 4576</tr> 4577</tbody> 4578</table></div> 4579</div> 4580<div class="refsect3"> 4581<a name="gst-sdp-media-insert-format.returns"></a><h4>Returns</h4> 4582<p> <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GST-SDP-OK:CAPS"><span class="type">GST_SDP_OK</span></a>.</p> 4583</div> 4584<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 4585</div> 4586<hr> 4587<div class="refsect2"> 4588<a name="gst-sdp-media-replace-format"></a><h3>gst_sdp_media_replace_format ()</h3> 4589<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 4590gst_sdp_media_replace_format (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> *media</code></em>, 4591 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> idx</code></em>, 4592 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *format</code></em>);</pre> 4593<p>Replace the format information in <em class="parameter"><code>media</code></em> 4594 at <em class="parameter"><code>idx</code></em> 4595 with <em class="parameter"><code>format</code></em> 4596.</p> 4597<div class="refsect3"> 4598<a name="gst-sdp-media-replace-format.parameters"></a><h4>Parameters</h4> 4599<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4600<colgroup> 4601<col width="150px" class="parameters_name"> 4602<col class="parameters_description"> 4603<col width="200px" class="parameters_annotations"> 4604</colgroup> 4605<tbody> 4606<tr> 4607<td class="parameter_name"><p>media</p></td> 4608<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a></p></td> 4609<td class="parameter_annotations"> </td> 4610</tr> 4611<tr> 4612<td class="parameter_name"><p>idx</p></td> 4613<td class="parameter_description"><p>an index</p></td> 4614<td class="parameter_annotations"> </td> 4615</tr> 4616<tr> 4617<td class="parameter_name"><p>format</p></td> 4618<td class="parameter_description"><p>the format</p></td> 4619<td class="parameter_annotations"> </td> 4620</tr> 4621</tbody> 4622</table></div> 4623</div> 4624<div class="refsect3"> 4625<a name="gst-sdp-media-replace-format.returns"></a><h4>Returns</h4> 4626<p> <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GST-SDP-OK:CAPS"><span class="type">GST_SDP_OK</span></a>.</p> 4627</div> 4628<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 4629</div> 4630<hr> 4631<div class="refsect2"> 4632<a name="gst-sdp-media-remove-format"></a><h3>gst_sdp_media_remove_format ()</h3> 4633<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 4634gst_sdp_media_remove_format (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> *media</code></em>, 4635 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> idx</code></em>);</pre> 4636<p>Remove the format information in <em class="parameter"><code>media</code></em> 4637 at <em class="parameter"><code>idx</code></em> 4638.</p> 4639<div class="refsect3"> 4640<a name="gst-sdp-media-remove-format.parameters"></a><h4>Parameters</h4> 4641<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4642<colgroup> 4643<col width="150px" class="parameters_name"> 4644<col class="parameters_description"> 4645<col width="200px" class="parameters_annotations"> 4646</colgroup> 4647<tbody> 4648<tr> 4649<td class="parameter_name"><p>media</p></td> 4650<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a></p></td> 4651<td class="parameter_annotations"> </td> 4652</tr> 4653<tr> 4654<td class="parameter_name"><p>idx</p></td> 4655<td class="parameter_description"><p>an index</p></td> 4656<td class="parameter_annotations"> </td> 4657</tr> 4658</tbody> 4659</table></div> 4660</div> 4661<div class="refsect3"> 4662<a name="gst-sdp-media-remove-format.returns"></a><h4>Returns</h4> 4663<p> <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GST-SDP-OK:CAPS"><span class="type">GST_SDP_OK</span></a>.</p> 4664</div> 4665<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 4666</div> 4667<hr> 4668<div class="refsect2"> 4669<a name="gst-sdp-media-add-format"></a><h3>gst_sdp_media_add_format ()</h3> 4670<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 4671gst_sdp_media_add_format (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> *media</code></em>, 4672 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *format</code></em>);</pre> 4673<p>Add the format information to <em class="parameter"><code>media</code></em> 4674.</p> 4675<div class="refsect3"> 4676<a name="gst-sdp-media-add-format.parameters"></a><h4>Parameters</h4> 4677<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4678<colgroup> 4679<col width="150px" class="parameters_name"> 4680<col class="parameters_description"> 4681<col width="200px" class="parameters_annotations"> 4682</colgroup> 4683<tbody> 4684<tr> 4685<td class="parameter_name"><p>media</p></td> 4686<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a></p></td> 4687<td class="parameter_annotations"> </td> 4688</tr> 4689<tr> 4690<td class="parameter_name"><p>format</p></td> 4691<td class="parameter_description"><p>the format</p></td> 4692<td class="parameter_annotations"> </td> 4693</tr> 4694</tbody> 4695</table></div> 4696</div> 4697<div class="refsect3"> 4698<a name="gst-sdp-media-add-format.returns"></a><h4>Returns</h4> 4699<p> <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GST-SDP-OK:CAPS"><span class="type">GST_SDP_OK</span></a>.</p> 4700</div> 4701</div> 4702<hr> 4703<div class="refsect2"> 4704<a name="gst-sdp-media-get-information"></a><h3>gst_sdp_media_get_information ()</h3> 4705<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 4706gst_sdp_media_get_information (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> *media</code></em>);</pre> 4707<p>Get the information of <em class="parameter"><code>media</code></em> 4708</p> 4709<div class="refsect3"> 4710<a name="gst-sdp-media-get-information.parameters"></a><h4>Parameters</h4> 4711<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4712<colgroup> 4713<col width="150px" class="parameters_name"> 4714<col class="parameters_description"> 4715<col width="200px" class="parameters_annotations"> 4716</colgroup> 4717<tbody><tr> 4718<td class="parameter_name"><p>media</p></td> 4719<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a></p></td> 4720<td class="parameter_annotations"> </td> 4721</tr></tbody> 4722</table></div> 4723</div> 4724<div class="refsect3"> 4725<a name="gst-sdp-media-get-information.returns"></a><h4>Returns</h4> 4726<p> the information of <em class="parameter"><code>media</code></em> 4727.</p> 4728</div> 4729</div> 4730<hr> 4731<div class="refsect2"> 4732<a name="gst-sdp-media-set-information"></a><h3>gst_sdp_media_set_information ()</h3> 4733<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 4734gst_sdp_media_set_information (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> *media</code></em>, 4735 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *information</code></em>);</pre> 4736<p>Set the media information of <em class="parameter"><code>media</code></em> 4737 to <em class="parameter"><code>information</code></em> 4738.</p> 4739<div class="refsect3"> 4740<a name="gst-sdp-media-set-information.parameters"></a><h4>Parameters</h4> 4741<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4742<colgroup> 4743<col width="150px" class="parameters_name"> 4744<col class="parameters_description"> 4745<col width="200px" class="parameters_annotations"> 4746</colgroup> 4747<tbody> 4748<tr> 4749<td class="parameter_name"><p>media</p></td> 4750<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a></p></td> 4751<td class="parameter_annotations"> </td> 4752</tr> 4753<tr> 4754<td class="parameter_name"><p>information</p></td> 4755<td class="parameter_description"><p>the media information</p></td> 4756<td class="parameter_annotations"> </td> 4757</tr> 4758</tbody> 4759</table></div> 4760</div> 4761<div class="refsect3"> 4762<a name="gst-sdp-media-set-information.returns"></a><h4>Returns</h4> 4763<p> <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GST-SDP-OK:CAPS"><span class="type">GST_SDP_OK</span></a>.</p> 4764</div> 4765</div> 4766<hr> 4767<div class="refsect2"> 4768<a name="gst-sdp-media-connections-len"></a><h3>gst_sdp_media_connections_len ()</h3> 4769<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> 4770gst_sdp_media_connections_len (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> *media</code></em>);</pre> 4771<p>Get the number of connection fields in <em class="parameter"><code>media</code></em> 4772.</p> 4773<div class="refsect3"> 4774<a name="gst-sdp-media-connections-len.parameters"></a><h4>Parameters</h4> 4775<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4776<colgroup> 4777<col width="150px" class="parameters_name"> 4778<col class="parameters_description"> 4779<col width="200px" class="parameters_annotations"> 4780</colgroup> 4781<tbody><tr> 4782<td class="parameter_name"><p>media</p></td> 4783<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a></p></td> 4784<td class="parameter_annotations"> </td> 4785</tr></tbody> 4786</table></div> 4787</div> 4788<div class="refsect3"> 4789<a name="gst-sdp-media-connections-len.returns"></a><h4>Returns</h4> 4790<p> the number of connections in <em class="parameter"><code>media</code></em> 4791.</p> 4792</div> 4793</div> 4794<hr> 4795<div class="refsect2"> 4796<a name="gst-sdp-media-get-connection"></a><h3>gst_sdp_media_get_connection ()</h3> 4797<pre class="programlisting">const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPConnection" title="GstSDPConnection"><span class="returnvalue">GstSDPConnection</span></a> * 4798gst_sdp_media_get_connection (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> *media</code></em>, 4799 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> idx</code></em>);</pre> 4800<p>Get the connection at position <em class="parameter"><code>idx</code></em> 4801 in <em class="parameter"><code>media</code></em> 4802.</p> 4803<div class="refsect3"> 4804<a name="gst-sdp-media-get-connection.parameters"></a><h4>Parameters</h4> 4805<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4806<colgroup> 4807<col width="150px" class="parameters_name"> 4808<col class="parameters_description"> 4809<col width="200px" class="parameters_annotations"> 4810</colgroup> 4811<tbody> 4812<tr> 4813<td class="parameter_name"><p>media</p></td> 4814<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a></p></td> 4815<td class="parameter_annotations"> </td> 4816</tr> 4817<tr> 4818<td class="parameter_name"><p>idx</p></td> 4819<td class="parameter_description"><p>an index</p></td> 4820<td class="parameter_annotations"> </td> 4821</tr> 4822</tbody> 4823</table></div> 4824</div> 4825<div class="refsect3"> 4826<a name="gst-sdp-media-get-connection.returns"></a><h4>Returns</h4> 4827<p> the <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPConnection" title="GstSDPConnection"><span class="type">GstSDPConnection</span></a> at position <em class="parameter"><code>idx</code></em> 4828.</p> 4829</div> 4830</div> 4831<hr> 4832<div class="refsect2"> 4833<a name="gst-sdp-media-insert-connection"></a><h3>gst_sdp_media_insert_connection ()</h3> 4834<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 4835gst_sdp_media_insert_connection (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> *media</code></em>, 4836 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> idx</code></em>, 4837 <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPConnection" title="GstSDPConnection"><span class="type">GstSDPConnection</span></a> *conn</code></em>);</pre> 4838<p>Insert the connection information to <em class="parameter"><code>media</code></em> 4839 at <em class="parameter"><code>idx</code></em> 4840. When <em class="parameter"><code>idx</code></em> 4841 is -1, 4842the connection is appended.</p> 4843<div class="refsect3"> 4844<a name="gst-sdp-media-insert-connection.parameters"></a><h4>Parameters</h4> 4845<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4846<colgroup> 4847<col width="150px" class="parameters_name"> 4848<col class="parameters_description"> 4849<col width="200px" class="parameters_annotations"> 4850</colgroup> 4851<tbody> 4852<tr> 4853<td class="parameter_name"><p>media</p></td> 4854<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a></p></td> 4855<td class="parameter_annotations"> </td> 4856</tr> 4857<tr> 4858<td class="parameter_name"><p>idx</p></td> 4859<td class="parameter_description"><p>an index</p></td> 4860<td class="parameter_annotations"> </td> 4861</tr> 4862<tr> 4863<td class="parameter_name"><p>conn</p></td> 4864<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPConnection" title="GstSDPConnection"><span class="type">GstSDPConnection</span></a></p></td> 4865<td class="parameter_annotations"> </td> 4866</tr> 4867</tbody> 4868</table></div> 4869</div> 4870<div class="refsect3"> 4871<a name="gst-sdp-media-insert-connection.returns"></a><h4>Returns</h4> 4872<p> <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GST-SDP-OK:CAPS"><span class="type">GST_SDP_OK</span></a>.</p> 4873</div> 4874<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 4875</div> 4876<hr> 4877<div class="refsect2"> 4878<a name="gst-sdp-media-replace-connection"></a><h3>gst_sdp_media_replace_connection ()</h3> 4879<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 4880gst_sdp_media_replace_connection (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> *media</code></em>, 4881 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> idx</code></em>, 4882 <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPConnection" title="GstSDPConnection"><span class="type">GstSDPConnection</span></a> *conn</code></em>);</pre> 4883<p>Replace the connection information in <em class="parameter"><code>media</code></em> 4884 at <em class="parameter"><code>idx</code></em> 4885 with <em class="parameter"><code>conn</code></em> 4886.</p> 4887<div class="refsect3"> 4888<a name="gst-sdp-media-replace-connection.parameters"></a><h4>Parameters</h4> 4889<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4890<colgroup> 4891<col width="150px" class="parameters_name"> 4892<col class="parameters_description"> 4893<col width="200px" class="parameters_annotations"> 4894</colgroup> 4895<tbody> 4896<tr> 4897<td class="parameter_name"><p>media</p></td> 4898<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a></p></td> 4899<td class="parameter_annotations"> </td> 4900</tr> 4901<tr> 4902<td class="parameter_name"><p>idx</p></td> 4903<td class="parameter_description"><p>an index</p></td> 4904<td class="parameter_annotations"> </td> 4905</tr> 4906<tr> 4907<td class="parameter_name"><p>conn</p></td> 4908<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPConnection" title="GstSDPConnection"><span class="type">GstSDPConnection</span></a></p></td> 4909<td class="parameter_annotations"> </td> 4910</tr> 4911</tbody> 4912</table></div> 4913</div> 4914<div class="refsect3"> 4915<a name="gst-sdp-media-replace-connection.returns"></a><h4>Returns</h4> 4916<p> <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GST-SDP-OK:CAPS"><span class="type">GST_SDP_OK</span></a>.</p> 4917</div> 4918<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 4919</div> 4920<hr> 4921<div class="refsect2"> 4922<a name="gst-sdp-media-remove-connection"></a><h3>gst_sdp_media_remove_connection ()</h3> 4923<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 4924gst_sdp_media_remove_connection (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> *media</code></em>, 4925 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> idx</code></em>);</pre> 4926<p>Remove the connection information in <em class="parameter"><code>media</code></em> 4927 at <em class="parameter"><code>idx</code></em> 4928.</p> 4929<div class="refsect3"> 4930<a name="gst-sdp-media-remove-connection.parameters"></a><h4>Parameters</h4> 4931<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4932<colgroup> 4933<col width="150px" class="parameters_name"> 4934<col class="parameters_description"> 4935<col width="200px" class="parameters_annotations"> 4936</colgroup> 4937<tbody> 4938<tr> 4939<td class="parameter_name"><p>media</p></td> 4940<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a></p></td> 4941<td class="parameter_annotations"> </td> 4942</tr> 4943<tr> 4944<td class="parameter_name"><p>idx</p></td> 4945<td class="parameter_description"><p>an index</p></td> 4946<td class="parameter_annotations"> </td> 4947</tr> 4948</tbody> 4949</table></div> 4950</div> 4951<div class="refsect3"> 4952<a name="gst-sdp-media-remove-connection.returns"></a><h4>Returns</h4> 4953<p> <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GST-SDP-OK:CAPS"><span class="type">GST_SDP_OK</span></a>.</p> 4954</div> 4955<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 4956</div> 4957<hr> 4958<div class="refsect2"> 4959<a name="gst-sdp-media-add-connection"></a><h3>gst_sdp_media_add_connection ()</h3> 4960<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 4961gst_sdp_media_add_connection (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> *media</code></em>, 4962 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nettype</code></em>, 4963 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *addrtype</code></em>, 4964 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *address</code></em>, 4965 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> ttl</code></em>, 4966 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> addr_number</code></em>);</pre> 4967<p>Add the given connection parameters to <em class="parameter"><code>media</code></em> 4968.</p> 4969<div class="refsect3"> 4970<a name="gst-sdp-media-add-connection.parameters"></a><h4>Parameters</h4> 4971<div class="informaltable"><table class="informaltable" width="100%" border="0"> 4972<colgroup> 4973<col width="150px" class="parameters_name"> 4974<col class="parameters_description"> 4975<col width="200px" class="parameters_annotations"> 4976</colgroup> 4977<tbody> 4978<tr> 4979<td class="parameter_name"><p>media</p></td> 4980<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a></p></td> 4981<td class="parameter_annotations"> </td> 4982</tr> 4983<tr> 4984<td class="parameter_name"><p>nettype</p></td> 4985<td class="parameter_description"><p>the type of network. "IN" is defined to have the meaning 4986"Internet".</p></td> 4987<td class="parameter_annotations"> </td> 4988</tr> 4989<tr> 4990<td class="parameter_name"><p>addrtype</p></td> 4991<td class="parameter_description"><p>the type of address.</p></td> 4992<td class="parameter_annotations"> </td> 4993</tr> 4994<tr> 4995<td class="parameter_name"><p>address</p></td> 4996<td class="parameter_description"><p>the address</p></td> 4997<td class="parameter_annotations"> </td> 4998</tr> 4999<tr> 5000<td class="parameter_name"><p>ttl</p></td> 5001<td class="parameter_description"><p>the time to live of the address</p></td> 5002<td class="parameter_annotations"> </td> 5003</tr> 5004<tr> 5005<td class="parameter_name"><p>addr_number</p></td> 5006<td class="parameter_description"><p>the number of layers</p></td> 5007<td class="parameter_annotations"> </td> 5008</tr> 5009</tbody> 5010</table></div> 5011</div> 5012<div class="refsect3"> 5013<a name="gst-sdp-media-add-connection.returns"></a><h4>Returns</h4> 5014<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 5015</div> 5016</div> 5017<hr> 5018<div class="refsect2"> 5019<a name="gst-sdp-media-bandwidths-len"></a><h3>gst_sdp_media_bandwidths_len ()</h3> 5020<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> 5021gst_sdp_media_bandwidths_len (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> *media</code></em>);</pre> 5022<p>Get the number of bandwidth fields in <em class="parameter"><code>media</code></em> 5023.</p> 5024<div class="refsect3"> 5025<a name="gst-sdp-media-bandwidths-len.parameters"></a><h4>Parameters</h4> 5026<div class="informaltable"><table class="informaltable" width="100%" border="0"> 5027<colgroup> 5028<col width="150px" class="parameters_name"> 5029<col class="parameters_description"> 5030<col width="200px" class="parameters_annotations"> 5031</colgroup> 5032<tbody><tr> 5033<td class="parameter_name"><p>media</p></td> 5034<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a></p></td> 5035<td class="parameter_annotations"> </td> 5036</tr></tbody> 5037</table></div> 5038</div> 5039<div class="refsect3"> 5040<a name="gst-sdp-media-bandwidths-len.returns"></a><h4>Returns</h4> 5041<p> the number of bandwidths in <em class="parameter"><code>media</code></em> 5042.</p> 5043</div> 5044</div> 5045<hr> 5046<div class="refsect2"> 5047<a name="gst-sdp-media-get-bandwidth"></a><h3>gst_sdp_media_get_bandwidth ()</h3> 5048<pre class="programlisting">const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPBandwidth" title="GstSDPBandwidth"><span class="returnvalue">GstSDPBandwidth</span></a> * 5049gst_sdp_media_get_bandwidth (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> *media</code></em>, 5050 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> idx</code></em>);</pre> 5051<p>Get the bandwidth at position <em class="parameter"><code>idx</code></em> 5052 in <em class="parameter"><code>media</code></em> 5053.</p> 5054<div class="refsect3"> 5055<a name="gst-sdp-media-get-bandwidth.parameters"></a><h4>Parameters</h4> 5056<div class="informaltable"><table class="informaltable" width="100%" border="0"> 5057<colgroup> 5058<col width="150px" class="parameters_name"> 5059<col class="parameters_description"> 5060<col width="200px" class="parameters_annotations"> 5061</colgroup> 5062<tbody> 5063<tr> 5064<td class="parameter_name"><p>media</p></td> 5065<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a></p></td> 5066<td class="parameter_annotations"> </td> 5067</tr> 5068<tr> 5069<td class="parameter_name"><p>idx</p></td> 5070<td class="parameter_description"><p>an index</p></td> 5071<td class="parameter_annotations"> </td> 5072</tr> 5073</tbody> 5074</table></div> 5075</div> 5076<div class="refsect3"> 5077<a name="gst-sdp-media-get-bandwidth.returns"></a><h4>Returns</h4> 5078<p> the <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPBandwidth" title="GstSDPBandwidth"><span class="type">GstSDPBandwidth</span></a> at position <em class="parameter"><code>idx</code></em> 5079.</p> 5080</div> 5081</div> 5082<hr> 5083<div class="refsect2"> 5084<a name="gst-sdp-media-insert-bandwidth"></a><h3>gst_sdp_media_insert_bandwidth ()</h3> 5085<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 5086gst_sdp_media_insert_bandwidth (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> *media</code></em>, 5087 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> idx</code></em>, 5088 <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPBandwidth" title="GstSDPBandwidth"><span class="type">GstSDPBandwidth</span></a> *bw</code></em>);</pre> 5089<p>Insert the bandwidth information to <em class="parameter"><code>media</code></em> 5090 at <em class="parameter"><code>idx</code></em> 5091. When <em class="parameter"><code>idx</code></em> 5092 is -1, 5093the bandwidth is appended.</p> 5094<div class="refsect3"> 5095<a name="gst-sdp-media-insert-bandwidth.parameters"></a><h4>Parameters</h4> 5096<div class="informaltable"><table class="informaltable" width="100%" border="0"> 5097<colgroup> 5098<col width="150px" class="parameters_name"> 5099<col class="parameters_description"> 5100<col width="200px" class="parameters_annotations"> 5101</colgroup> 5102<tbody> 5103<tr> 5104<td class="parameter_name"><p>media</p></td> 5105<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a></p></td> 5106<td class="parameter_annotations"> </td> 5107</tr> 5108<tr> 5109<td class="parameter_name"><p>idx</p></td> 5110<td class="parameter_description"><p>an index</p></td> 5111<td class="parameter_annotations"> </td> 5112</tr> 5113<tr> 5114<td class="parameter_name"><p>bw</p></td> 5115<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPBandwidth" title="GstSDPBandwidth"><span class="type">GstSDPBandwidth</span></a></p></td> 5116<td class="parameter_annotations"> </td> 5117</tr> 5118</tbody> 5119</table></div> 5120</div> 5121<div class="refsect3"> 5122<a name="gst-sdp-media-insert-bandwidth.returns"></a><h4>Returns</h4> 5123<p> <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GST-SDP-OK:CAPS"><span class="type">GST_SDP_OK</span></a>.</p> 5124</div> 5125<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 5126</div> 5127<hr> 5128<div class="refsect2"> 5129<a name="gst-sdp-media-replace-bandwidth"></a><h3>gst_sdp_media_replace_bandwidth ()</h3> 5130<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 5131gst_sdp_media_replace_bandwidth (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> *media</code></em>, 5132 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> idx</code></em>, 5133 <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPBandwidth" title="GstSDPBandwidth"><span class="type">GstSDPBandwidth</span></a> *bw</code></em>);</pre> 5134<p>Replace the bandwidth information in <em class="parameter"><code>media</code></em> 5135 at <em class="parameter"><code>idx</code></em> 5136 with <em class="parameter"><code>bw</code></em> 5137.</p> 5138<div class="refsect3"> 5139<a name="gst-sdp-media-replace-bandwidth.parameters"></a><h4>Parameters</h4> 5140<div class="informaltable"><table class="informaltable" width="100%" border="0"> 5141<colgroup> 5142<col width="150px" class="parameters_name"> 5143<col class="parameters_description"> 5144<col width="200px" class="parameters_annotations"> 5145</colgroup> 5146<tbody> 5147<tr> 5148<td class="parameter_name"><p>media</p></td> 5149<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a></p></td> 5150<td class="parameter_annotations"> </td> 5151</tr> 5152<tr> 5153<td class="parameter_name"><p>idx</p></td> 5154<td class="parameter_description"><p>an index</p></td> 5155<td class="parameter_annotations"> </td> 5156</tr> 5157<tr> 5158<td class="parameter_name"><p>bw</p></td> 5159<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPBandwidth" title="GstSDPBandwidth"><span class="type">GstSDPBandwidth</span></a></p></td> 5160<td class="parameter_annotations"> </td> 5161</tr> 5162</tbody> 5163</table></div> 5164</div> 5165<div class="refsect3"> 5166<a name="gst-sdp-media-replace-bandwidth.returns"></a><h4>Returns</h4> 5167<p> <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GST-SDP-OK:CAPS"><span class="type">GST_SDP_OK</span></a>.</p> 5168</div> 5169<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 5170</div> 5171<hr> 5172<div class="refsect2"> 5173<a name="gst-sdp-media-remove-bandwidth"></a><h3>gst_sdp_media_remove_bandwidth ()</h3> 5174<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 5175gst_sdp_media_remove_bandwidth (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> *media</code></em>, 5176 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> idx</code></em>);</pre> 5177<p>Remove the bandwidth information in <em class="parameter"><code>media</code></em> 5178 at <em class="parameter"><code>idx</code></em> 5179.</p> 5180<div class="refsect3"> 5181<a name="gst-sdp-media-remove-bandwidth.parameters"></a><h4>Parameters</h4> 5182<div class="informaltable"><table class="informaltable" width="100%" border="0"> 5183<colgroup> 5184<col width="150px" class="parameters_name"> 5185<col class="parameters_description"> 5186<col width="200px" class="parameters_annotations"> 5187</colgroup> 5188<tbody> 5189<tr> 5190<td class="parameter_name"><p>media</p></td> 5191<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a></p></td> 5192<td class="parameter_annotations"> </td> 5193</tr> 5194<tr> 5195<td class="parameter_name"><p>idx</p></td> 5196<td class="parameter_description"><p>an index</p></td> 5197<td class="parameter_annotations"> </td> 5198</tr> 5199</tbody> 5200</table></div> 5201</div> 5202<div class="refsect3"> 5203<a name="gst-sdp-media-remove-bandwidth.returns"></a><h4>Returns</h4> 5204<p> <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GST-SDP-OK:CAPS"><span class="type">GST_SDP_OK</span></a>.</p> 5205</div> 5206<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 5207</div> 5208<hr> 5209<div class="refsect2"> 5210<a name="gst-sdp-media-add-bandwidth"></a><h3>gst_sdp_media_add_bandwidth ()</h3> 5211<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 5212gst_sdp_media_add_bandwidth (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> *media</code></em>, 5213 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *bwtype</code></em>, 5214 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> bandwidth</code></em>);</pre> 5215<p>Add the bandwidth information with <em class="parameter"><code>bwtype</code></em> 5216 and <em class="parameter"><code>bandwidth</code></em> 5217 to <em class="parameter"><code>media</code></em> 5218.</p> 5219<div class="refsect3"> 5220<a name="gst-sdp-media-add-bandwidth.parameters"></a><h4>Parameters</h4> 5221<div class="informaltable"><table class="informaltable" width="100%" border="0"> 5222<colgroup> 5223<col width="150px" class="parameters_name"> 5224<col class="parameters_description"> 5225<col width="200px" class="parameters_annotations"> 5226</colgroup> 5227<tbody> 5228<tr> 5229<td class="parameter_name"><p>media</p></td> 5230<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a></p></td> 5231<td class="parameter_annotations"> </td> 5232</tr> 5233<tr> 5234<td class="parameter_name"><p>bwtype</p></td> 5235<td class="parameter_description"><p>the bandwidth modifier type</p></td> 5236<td class="parameter_annotations"> </td> 5237</tr> 5238<tr> 5239<td class="parameter_name"><p>bandwidth</p></td> 5240<td class="parameter_description"><p>the bandwidth in kilobits per second</p></td> 5241<td class="parameter_annotations"> </td> 5242</tr> 5243</tbody> 5244</table></div> 5245</div> 5246<div class="refsect3"> 5247<a name="gst-sdp-media-add-bandwidth.returns"></a><h4>Returns</h4> 5248<p> <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GST-SDP-OK:CAPS"><span class="type">GST_SDP_OK</span></a>.</p> 5249</div> 5250</div> 5251<hr> 5252<div class="refsect2"> 5253<a name="gst-sdp-media-get-key"></a><h3>gst_sdp_media_get_key ()</h3> 5254<pre class="programlisting">const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPKey" title="GstSDPKey"><span class="returnvalue">GstSDPKey</span></a> * 5255gst_sdp_media_get_key (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> *media</code></em>);</pre> 5256<p>Get the encryption information from <em class="parameter"><code>media</code></em> 5257.</p> 5258<div class="refsect3"> 5259<a name="gst-sdp-media-get-key.parameters"></a><h4>Parameters</h4> 5260<div class="informaltable"><table class="informaltable" width="100%" border="0"> 5261<colgroup> 5262<col width="150px" class="parameters_name"> 5263<col class="parameters_description"> 5264<col width="200px" class="parameters_annotations"> 5265</colgroup> 5266<tbody><tr> 5267<td class="parameter_name"><p>media</p></td> 5268<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a></p></td> 5269<td class="parameter_annotations"> </td> 5270</tr></tbody> 5271</table></div> 5272</div> 5273<div class="refsect3"> 5274<a name="gst-sdp-media-get-key.returns"></a><h4>Returns</h4> 5275<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPKey" title="GstSDPKey"><span class="type">GstSDPKey</span></a>.</p> 5276</div> 5277</div> 5278<hr> 5279<div class="refsect2"> 5280<a name="gst-sdp-media-set-key"></a><h3>gst_sdp_media_set_key ()</h3> 5281<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 5282gst_sdp_media_set_key (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> *media</code></em>, 5283 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *type</code></em>, 5284 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *data</code></em>);</pre> 5285<p>Adds the encryption information to <em class="parameter"><code>media</code></em> 5286.</p> 5287<div class="refsect3"> 5288<a name="gst-sdp-media-set-key.parameters"></a><h4>Parameters</h4> 5289<div class="informaltable"><table class="informaltable" width="100%" border="0"> 5290<colgroup> 5291<col width="150px" class="parameters_name"> 5292<col class="parameters_description"> 5293<col width="200px" class="parameters_annotations"> 5294</colgroup> 5295<tbody> 5296<tr> 5297<td class="parameter_name"><p>media</p></td> 5298<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a></p></td> 5299<td class="parameter_annotations"> </td> 5300</tr> 5301<tr> 5302<td class="parameter_name"><p>type</p></td> 5303<td class="parameter_description"><p>the encryption type</p></td> 5304<td class="parameter_annotations"> </td> 5305</tr> 5306<tr> 5307<td class="parameter_name"><p>data</p></td> 5308<td class="parameter_description"><p>the encryption data</p></td> 5309<td class="parameter_annotations"> </td> 5310</tr> 5311</tbody> 5312</table></div> 5313</div> 5314<div class="refsect3"> 5315<a name="gst-sdp-media-set-key.returns"></a><h4>Returns</h4> 5316<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 5317</div> 5318</div> 5319<hr> 5320<div class="refsect2"> 5321<a name="gst-sdp-media-attributes-len"></a><h3>gst_sdp_media_attributes_len ()</h3> 5322<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> 5323gst_sdp_media_attributes_len (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> *media</code></em>);</pre> 5324<p>Get the number of attribute fields in <em class="parameter"><code>media</code></em> 5325.</p> 5326<div class="refsect3"> 5327<a name="gst-sdp-media-attributes-len.parameters"></a><h4>Parameters</h4> 5328<div class="informaltable"><table class="informaltable" width="100%" border="0"> 5329<colgroup> 5330<col width="150px" class="parameters_name"> 5331<col class="parameters_description"> 5332<col width="200px" class="parameters_annotations"> 5333</colgroup> 5334<tbody><tr> 5335<td class="parameter_name"><p>media</p></td> 5336<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a></p></td> 5337<td class="parameter_annotations"> </td> 5338</tr></tbody> 5339</table></div> 5340</div> 5341<div class="refsect3"> 5342<a name="gst-sdp-media-attributes-len.returns"></a><h4>Returns</h4> 5343<p> the number of attributes in <em class="parameter"><code>media</code></em> 5344.</p> 5345</div> 5346</div> 5347<hr> 5348<div class="refsect2"> 5349<a name="gst-sdp-media-get-attribute"></a><h3>gst_sdp_media_get_attribute ()</h3> 5350<pre class="programlisting">const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPAttribute" title="GstSDPAttribute"><span class="returnvalue">GstSDPAttribute</span></a> * 5351gst_sdp_media_get_attribute (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> *media</code></em>, 5352 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> idx</code></em>);</pre> 5353<p>Get the attribute at position <em class="parameter"><code>idx</code></em> 5354 in <em class="parameter"><code>media</code></em> 5355.</p> 5356<div class="refsect3"> 5357<a name="gst-sdp-media-get-attribute.parameters"></a><h4>Parameters</h4> 5358<div class="informaltable"><table class="informaltable" width="100%" border="0"> 5359<colgroup> 5360<col width="150px" class="parameters_name"> 5361<col class="parameters_description"> 5362<col width="200px" class="parameters_annotations"> 5363</colgroup> 5364<tbody> 5365<tr> 5366<td class="parameter_name"><p>media</p></td> 5367<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a></p></td> 5368<td class="parameter_annotations"> </td> 5369</tr> 5370<tr> 5371<td class="parameter_name"><p>idx</p></td> 5372<td class="parameter_description"><p>an index</p></td> 5373<td class="parameter_annotations"> </td> 5374</tr> 5375</tbody> 5376</table></div> 5377</div> 5378<div class="refsect3"> 5379<a name="gst-sdp-media-get-attribute.returns"></a><h4>Returns</h4> 5380<p> the <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPAttribute" title="GstSDPAttribute"><span class="type">GstSDPAttribute</span></a> at position <em class="parameter"><code>idx</code></em> 5381.</p> 5382</div> 5383</div> 5384<hr> 5385<div class="refsect2"> 5386<a name="gst-sdp-media-get-attribute-val"></a><h3>gst_sdp_media_get_attribute_val ()</h3> 5387<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 5388gst_sdp_media_get_attribute_val (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> *media</code></em>, 5389 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>);</pre> 5390<p>Get the first attribute value for <em class="parameter"><code>key</code></em> 5391 in <em class="parameter"><code>media</code></em> 5392.</p> 5393<div class="refsect3"> 5394<a name="gst-sdp-media-get-attribute-val.parameters"></a><h4>Parameters</h4> 5395<div class="informaltable"><table class="informaltable" width="100%" border="0"> 5396<colgroup> 5397<col width="150px" class="parameters_name"> 5398<col class="parameters_description"> 5399<col width="200px" class="parameters_annotations"> 5400</colgroup> 5401<tbody> 5402<tr> 5403<td class="parameter_name"><p>media</p></td> 5404<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a></p></td> 5405<td class="parameter_annotations"> </td> 5406</tr> 5407<tr> 5408<td class="parameter_name"><p>key</p></td> 5409<td class="parameter_description"><p>a key</p></td> 5410<td class="parameter_annotations"> </td> 5411</tr> 5412</tbody> 5413</table></div> 5414</div> 5415<div class="refsect3"> 5416<a name="gst-sdp-media-get-attribute-val.returns"></a><h4>Returns</h4> 5417<p> the first attribute value for <em class="parameter"><code>key</code></em> 5418.</p> 5419</div> 5420</div> 5421<hr> 5422<div class="refsect2"> 5423<a name="gst-sdp-media-get-attribute-val-n"></a><h3>gst_sdp_media_get_attribute_val_n ()</h3> 5424<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 5425gst_sdp_media_get_attribute_val_n (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> *media</code></em>, 5426 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>, 5427 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> nth</code></em>);</pre> 5428<p>Get the <em class="parameter"><code>nth</code></em> 5429 attribute value for <em class="parameter"><code>key</code></em> 5430 in <em class="parameter"><code>media</code></em> 5431.</p> 5432<div class="refsect3"> 5433<a name="gst-sdp-media-get-attribute-val-n.parameters"></a><h4>Parameters</h4> 5434<div class="informaltable"><table class="informaltable" width="100%" border="0"> 5435<colgroup> 5436<col width="150px" class="parameters_name"> 5437<col class="parameters_description"> 5438<col width="200px" class="parameters_annotations"> 5439</colgroup> 5440<tbody> 5441<tr> 5442<td class="parameter_name"><p>media</p></td> 5443<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a></p></td> 5444<td class="parameter_annotations"> </td> 5445</tr> 5446<tr> 5447<td class="parameter_name"><p>key</p></td> 5448<td class="parameter_description"><p>a key</p></td> 5449<td class="parameter_annotations"> </td> 5450</tr> 5451<tr> 5452<td class="parameter_name"><p>nth</p></td> 5453<td class="parameter_description"><p>an index</p></td> 5454<td class="parameter_annotations"> </td> 5455</tr> 5456</tbody> 5457</table></div> 5458</div> 5459<div class="refsect3"> 5460<a name="gst-sdp-media-get-attribute-val-n.returns"></a><h4>Returns</h4> 5461<p> the <em class="parameter"><code>nth</code></em> 5462attribute value.</p> 5463</div> 5464</div> 5465<hr> 5466<div class="refsect2"> 5467<a name="gst-sdp-media-insert-attribute"></a><h3>gst_sdp_media_insert_attribute ()</h3> 5468<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 5469gst_sdp_media_insert_attribute (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> *media</code></em>, 5470 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> idx</code></em>, 5471 <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPAttribute" title="GstSDPAttribute"><span class="type">GstSDPAttribute</span></a> *attr</code></em>);</pre> 5472<p>Insert the attribute to <em class="parameter"><code>media</code></em> 5473 at <em class="parameter"><code>idx</code></em> 5474. When <em class="parameter"><code>idx</code></em> 5475 is -1, 5476the attribute is appended.</p> 5477<div class="refsect3"> 5478<a name="gst-sdp-media-insert-attribute.parameters"></a><h4>Parameters</h4> 5479<div class="informaltable"><table class="informaltable" width="100%" border="0"> 5480<colgroup> 5481<col width="150px" class="parameters_name"> 5482<col class="parameters_description"> 5483<col width="200px" class="parameters_annotations"> 5484</colgroup> 5485<tbody> 5486<tr> 5487<td class="parameter_name"><p>media</p></td> 5488<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a></p></td> 5489<td class="parameter_annotations"> </td> 5490</tr> 5491<tr> 5492<td class="parameter_name"><p>idx</p></td> 5493<td class="parameter_description"><p>an index</p></td> 5494<td class="parameter_annotations"> </td> 5495</tr> 5496<tr> 5497<td class="parameter_name"><p>attr</p></td> 5498<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPAttribute" title="GstSDPAttribute"><span class="type">GstSDPAttribute</span></a></p></td> 5499<td class="parameter_annotations"> </td> 5500</tr> 5501</tbody> 5502</table></div> 5503</div> 5504<div class="refsect3"> 5505<a name="gst-sdp-media-insert-attribute.returns"></a><h4>Returns</h4> 5506<p> <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GST-SDP-OK:CAPS"><span class="type">GST_SDP_OK</span></a>.</p> 5507</div> 5508<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 5509</div> 5510<hr> 5511<div class="refsect2"> 5512<a name="gst-sdp-media-replace-attribute"></a><h3>gst_sdp_media_replace_attribute ()</h3> 5513<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 5514gst_sdp_media_replace_attribute (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> *media</code></em>, 5515 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> idx</code></em>, 5516 <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPAttribute" title="GstSDPAttribute"><span class="type">GstSDPAttribute</span></a> *attr</code></em>);</pre> 5517<p>Replace the attribute in <em class="parameter"><code>media</code></em> 5518 at <em class="parameter"><code>idx</code></em> 5519 with <em class="parameter"><code>attr</code></em> 5520.</p> 5521<div class="refsect3"> 5522<a name="gst-sdp-media-replace-attribute.parameters"></a><h4>Parameters</h4> 5523<div class="informaltable"><table class="informaltable" width="100%" border="0"> 5524<colgroup> 5525<col width="150px" class="parameters_name"> 5526<col class="parameters_description"> 5527<col width="200px" class="parameters_annotations"> 5528</colgroup> 5529<tbody> 5530<tr> 5531<td class="parameter_name"><p>media</p></td> 5532<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a></p></td> 5533<td class="parameter_annotations"> </td> 5534</tr> 5535<tr> 5536<td class="parameter_name"><p>idx</p></td> 5537<td class="parameter_description"><p>an index</p></td> 5538<td class="parameter_annotations"> </td> 5539</tr> 5540<tr> 5541<td class="parameter_name"><p>attr</p></td> 5542<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPAttribute" title="GstSDPAttribute"><span class="type">GstSDPAttribute</span></a></p></td> 5543<td class="parameter_annotations"> </td> 5544</tr> 5545</tbody> 5546</table></div> 5547</div> 5548<div class="refsect3"> 5549<a name="gst-sdp-media-replace-attribute.returns"></a><h4>Returns</h4> 5550<p> <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GST-SDP-OK:CAPS"><span class="type">GST_SDP_OK</span></a>.</p> 5551</div> 5552<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 5553</div> 5554<hr> 5555<div class="refsect2"> 5556<a name="gst-sdp-media-remove-attribute"></a><h3>gst_sdp_media_remove_attribute ()</h3> 5557<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 5558gst_sdp_media_remove_attribute (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> *media</code></em>, 5559 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> idx</code></em>);</pre> 5560<p>Remove the attribute in <em class="parameter"><code>media</code></em> 5561 at <em class="parameter"><code>idx</code></em> 5562.</p> 5563<div class="refsect3"> 5564<a name="gst-sdp-media-remove-attribute.parameters"></a><h4>Parameters</h4> 5565<div class="informaltable"><table class="informaltable" width="100%" border="0"> 5566<colgroup> 5567<col width="150px" class="parameters_name"> 5568<col class="parameters_description"> 5569<col width="200px" class="parameters_annotations"> 5570</colgroup> 5571<tbody> 5572<tr> 5573<td class="parameter_name"><p>media</p></td> 5574<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a></p></td> 5575<td class="parameter_annotations"> </td> 5576</tr> 5577<tr> 5578<td class="parameter_name"><p>idx</p></td> 5579<td class="parameter_description"><p>an index</p></td> 5580<td class="parameter_annotations"> </td> 5581</tr> 5582</tbody> 5583</table></div> 5584</div> 5585<div class="refsect3"> 5586<a name="gst-sdp-media-remove-attribute.returns"></a><h4>Returns</h4> 5587<p> <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GST-SDP-OK:CAPS"><span class="type">GST_SDP_OK</span></a>.</p> 5588</div> 5589<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p> 5590</div> 5591<hr> 5592<div class="refsect2"> 5593<a name="gst-sdp-media-add-attribute"></a><h3>gst_sdp_media_add_attribute ()</h3> 5594<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 5595gst_sdp_media_add_attribute (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> *media</code></em>, 5596 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>, 5597 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *value</code></em>);</pre> 5598<p>Add the attribute with <em class="parameter"><code>key</code></em> 5599 and <em class="parameter"><code>value</code></em> 5600 to <em class="parameter"><code>media</code></em> 5601.</p> 5602<div class="refsect3"> 5603<a name="gst-sdp-media-add-attribute.parameters"></a><h4>Parameters</h4> 5604<div class="informaltable"><table class="informaltable" width="100%" border="0"> 5605<colgroup> 5606<col width="150px" class="parameters_name"> 5607<col class="parameters_description"> 5608<col width="200px" class="parameters_annotations"> 5609</colgroup> 5610<tbody> 5611<tr> 5612<td class="parameter_name"><p>media</p></td> 5613<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a></p></td> 5614<td class="parameter_annotations"> </td> 5615</tr> 5616<tr> 5617<td class="parameter_name"><p>key</p></td> 5618<td class="parameter_description"><p>a key</p></td> 5619<td class="parameter_annotations"> </td> 5620</tr> 5621<tr> 5622<td class="parameter_name"><p>value</p></td> 5623<td class="parameter_description"><p>a value. </p></td> 5624<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td> 5625</tr> 5626</tbody> 5627</table></div> 5628</div> 5629<div class="refsect3"> 5630<a name="gst-sdp-media-add-attribute.returns"></a><h4>Returns</h4> 5631<p> <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GST-SDP-OK:CAPS"><span class="type">GST_SDP_OK</span></a>.</p> 5632</div> 5633</div> 5634<hr> 5635<div class="refsect2"> 5636<a name="gst-sdp-media-get-caps-from-media"></a><h3>gst_sdp_media_get_caps_from_media ()</h3> 5637<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="returnvalue">GstCaps</span></a> * 5638gst_sdp_media_get_caps_from_media (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> *media</code></em>, 5639 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> pt</code></em>);</pre> 5640<p>Mapping of caps from SDP fields:</p> 5641<p>a=rtpmap:(payload) (encoding_name)/(clock_rate)[/(encoding_params)]</p> 5642<p>a=framesize:(payload) (width)-(height)</p> 5643<p>a=fmtp:(payload) (param)[=(value)];...</p> 5644<div class="refsect3"> 5645<a name="gst-sdp-media-get-caps-from-media.parameters"></a><h4>Parameters</h4> 5646<div class="informaltable"><table class="informaltable" width="100%" border="0"> 5647<colgroup> 5648<col width="150px" class="parameters_name"> 5649<col class="parameters_description"> 5650<col width="200px" class="parameters_annotations"> 5651</colgroup> 5652<tbody> 5653<tr> 5654<td class="parameter_name"><p>media</p></td> 5655<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a></p></td> 5656<td class="parameter_annotations"> </td> 5657</tr> 5658<tr> 5659<td class="parameter_name"><p>pt</p></td> 5660<td class="parameter_description"><p>a payload type</p></td> 5661<td class="parameter_annotations"> </td> 5662</tr> 5663</tbody> 5664</table></div> 5665</div> 5666<div class="refsect3"> 5667<a name="gst-sdp-media-get-caps-from-media.returns"></a><h4>Returns</h4> 5668<p> a <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if an error happened</p> 5669</div> 5670<p class="since">Since: <a class="link" href="ix08.html#api-index-1.8">1.8</a></p> 5671</div> 5672<hr> 5673<div class="refsect2"> 5674<a name="gst-sdp-media-set-media-from-caps"></a><h3>gst_sdp_media_set_media_from_caps ()</h3> 5675<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 5676gst_sdp_media_set_media_from_caps (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a> *caps</code></em>, 5677 <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> *media</code></em>);</pre> 5678<p>Mapping of caps to SDP fields:</p> 5679<p>a=rtpmap:(payload) (encoding_name) or (clock_rate)[or (encoding_params)]</p> 5680<p>a=framesize:(payload) (width)-(height)</p> 5681<p>a=fmtp:(payload) (param)[=(value)];...</p> 5682<p>a=rtcp-fb:(payload) (param1) [param2]...</p> 5683<div class="refsect3"> 5684<a name="gst-sdp-media-set-media-from-caps.parameters"></a><h4>Parameters</h4> 5685<div class="informaltable"><table class="informaltable" width="100%" border="0"> 5686<colgroup> 5687<col width="150px" class="parameters_name"> 5688<col class="parameters_description"> 5689<col width="200px" class="parameters_annotations"> 5690</colgroup> 5691<tbody> 5692<tr> 5693<td class="parameter_name"><p>caps</p></td> 5694<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a></p></td> 5695<td class="parameter_annotations"> </td> 5696</tr> 5697<tr> 5698<td class="parameter_name"><p>media</p></td> 5699<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a></p></td> 5700<td class="parameter_annotations"> </td> 5701</tr> 5702</tbody> 5703</table></div> 5704</div> 5705<div class="refsect3"> 5706<a name="gst-sdp-media-set-media-from-caps.returns"></a><h4>Returns</h4> 5707<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 5708</div> 5709<p class="since">Since: <a class="link" href="ix08.html#api-index-1.8">1.8</a></p> 5710</div> 5711<hr> 5712<div class="refsect2"> 5713<a name="gst-sdp-make-keymgmt"></a><h3>gst_sdp_make_keymgmt ()</h3> 5714<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 5715gst_sdp_make_keymgmt (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>, 5716 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *base64</code></em>);</pre> 5717<p>Makes key management data</p> 5718<div class="refsect3"> 5719<a name="gst-sdp-make-keymgmt.parameters"></a><h4>Parameters</h4> 5720<div class="informaltable"><table class="informaltable" width="100%" border="0"> 5721<colgroup> 5722<col width="150px" class="parameters_name"> 5723<col class="parameters_description"> 5724<col width="200px" class="parameters_annotations"> 5725</colgroup> 5726<tbody> 5727<tr> 5728<td class="parameter_name"><p>uri</p></td> 5729<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> URI</p></td> 5730<td class="parameter_annotations"> </td> 5731</tr> 5732<tr> 5733<td class="parameter_name"><p>base64</p></td> 5734<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> base64-encoded key data</p></td> 5735<td class="parameter_annotations"> </td> 5736</tr> 5737</tbody> 5738</table></div> 5739</div> 5740<div class="refsect3"> 5741<a name="gst-sdp-make-keymgmt.returns"></a><h4>Returns</h4> 5742<p>a <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> key-mgmt data,. </p> 5743<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> 5744</div> 5745<p class="since">Since: <a class="link" href="ix08.html#api-index-1.8">1.8</a></p> 5746</div> 5747<hr> 5748<div class="refsect2"> 5749<a name="gst-sdp-message-attributes-to-caps"></a><h3>gst_sdp_message_attributes_to_caps ()</h3> 5750<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 5751gst_sdp_message_attributes_to_caps (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> *msg</code></em>, 5752 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a> *caps</code></em>);</pre> 5753<p>Mapping of attributes of <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a> to <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a></p> 5754<div class="refsect3"> 5755<a name="gst-sdp-message-attributes-to-caps.parameters"></a><h4>Parameters</h4> 5756<div class="informaltable"><table class="informaltable" width="100%" border="0"> 5757<colgroup> 5758<col width="150px" class="parameters_name"> 5759<col class="parameters_description"> 5760<col width="200px" class="parameters_annotations"> 5761</colgroup> 5762<tbody> 5763<tr> 5764<td class="parameter_name"><p>msg</p></td> 5765<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMessage" title="GstSDPMessage"><span class="type">GstSDPMessage</span></a></p></td> 5766<td class="parameter_annotations"> </td> 5767</tr> 5768<tr> 5769<td class="parameter_name"><p>caps</p></td> 5770<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a></p></td> 5771<td class="parameter_annotations"> </td> 5772</tr> 5773</tbody> 5774</table></div> 5775</div> 5776<div class="refsect3"> 5777<a name="gst-sdp-message-attributes-to-caps.returns"></a><h4>Returns</h4> 5778<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 5779</div> 5780<p class="since">Since: <a class="link" href="ix08.html#api-index-1.8">1.8</a></p> 5781</div> 5782<hr> 5783<div class="refsect2"> 5784<a name="gst-sdp-media-attributes-to-caps"></a><h3>gst_sdp_media_attributes_to_caps ()</h3> 5785<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="returnvalue">GstSDPResult</span></a> 5786gst_sdp_media_attributes_to_caps (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> *media</code></em>, 5787 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a> *caps</code></em>);</pre> 5788<p>Mapping of attributes of <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> to <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a></p> 5789<div class="refsect3"> 5790<a name="gst-sdp-media-attributes-to-caps.parameters"></a><h4>Parameters</h4> 5791<div class="informaltable"><table class="informaltable" width="100%" border="0"> 5792<colgroup> 5793<col width="150px" class="parameters_name"> 5794<col class="parameters_description"> 5795<col width="200px" class="parameters_annotations"> 5796</colgroup> 5797<tbody> 5798<tr> 5799<td class="parameter_name"><p>media</p></td> 5800<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a></p></td> 5801<td class="parameter_annotations"> </td> 5802</tr> 5803<tr> 5804<td class="parameter_name"><p>caps</p></td> 5805<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a></p></td> 5806<td class="parameter_annotations"> </td> 5807</tr> 5808</tbody> 5809</table></div> 5810</div> 5811<div class="refsect3"> 5812<a name="gst-sdp-media-attributes-to-caps.returns"></a><h4>Returns</h4> 5813<p> a <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPResult" title="enum GstSDPResult"><span class="type">GstSDPResult</span></a>.</p> 5814</div> 5815<p class="since">Since: <a class="link" href="ix08.html#api-index-1.8">1.8</a></p> 5816</div> 5817</div> 5818<div class="refsect1"> 5819<a name="gst-plugins-base-libs-GstSDPMessage.other_details"></a><h2>Types and Values</h2> 5820<div class="refsect2"> 5821<a name="GstSDPResult"></a><h3>enum GstSDPResult</h3> 5822<p>Return values for the SDP functions.</p> 5823<div class="refsect3"> 5824<a name="GstSDPResult.members"></a><h4>Members</h4> 5825<div class="informaltable"><table class="informaltable" width="100%" border="0"> 5826<colgroup> 5827<col width="300px" class="enum_members_name"> 5828<col class="enum_members_description"> 5829<col width="200px" class="enum_members_annotations"> 5830</colgroup> 5831<tbody> 5832<tr> 5833<td class="enum_member_name"><p><a name="GST-SDP-OK:CAPS"></a>GST_SDP_OK</p></td> 5834<td class="enum_member_description"> 5835<p>A successful return value</p> 5836</td> 5837<td class="enum_member_annotations"> </td> 5838</tr> 5839<tr> 5840<td class="enum_member_name"><p><a name="GST-SDP-EINVAL:CAPS"></a>GST_SDP_EINVAL</p></td> 5841<td class="enum_member_description"> 5842<p>a function was given invalid parameters</p> 5843</td> 5844<td class="enum_member_annotations"> </td> 5845</tr> 5846</tbody> 5847</table></div> 5848</div> 5849</div> 5850<hr> 5851<div class="refsect2"> 5852<a name="GstSDPOrigin"></a><h3>GstSDPOrigin</h3> 5853<pre class="programlisting">typedef struct { 5854 gchar *username; 5855 gchar *sess_id; 5856 gchar *sess_version; 5857 gchar *nettype; 5858 gchar *addrtype; 5859 gchar *addr; 5860} GstSDPOrigin; 5861</pre> 5862<p>The contents of the SDP "o=" field which gives the originator of the session 5863(their username and the address of the user's host) plus a session id and 5864session version number.</p> 5865<div class="refsect3"> 5866<a name="GstSDPOrigin.members"></a><h4>Members</h4> 5867<div class="informaltable"><table class="informaltable" width="100%" border="0"> 5868<colgroup> 5869<col width="300px" class="struct_members_name"> 5870<col class="struct_members_description"> 5871<col width="200px" class="struct_members_annotations"> 5872</colgroup> 5873<tbody> 5874<tr> 5875<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GstSDPOrigin.username"></a>username</code></em>;</p></td> 5876<td class="struct_member_description"><p>the user's login on the originating host, or it is "-" 5877if the originating host does not support the concept of user ids.</p></td> 5878<td class="struct_member_annotations"> </td> 5879</tr> 5880<tr> 5881<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GstSDPOrigin.sess-id"></a>sess_id</code></em>;</p></td> 5882<td class="struct_member_description"><p>is a numeric string such that the tuple of <em class="parameter"><code>username</code></em> 5883, <em class="parameter"><code>sess_id</code></em> 5884, 5885<em class="parameter"><code>nettype</code></em> 5886, <em class="parameter"><code>addrtype</code></em> 5887and <em class="parameter"><code>addr</code></em> 5888form a globally unique identifier for the 5889session.</p></td> 5890<td class="struct_member_annotations"> </td> 5891</tr> 5892<tr> 5893<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GstSDPOrigin.sess-version"></a>sess_version</code></em>;</p></td> 5894<td class="struct_member_description"><p>a version number for this announcement</p></td> 5895<td class="struct_member_annotations"> </td> 5896</tr> 5897<tr> 5898<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GstSDPOrigin.nettype"></a>nettype</code></em>;</p></td> 5899<td class="struct_member_description"><p>the type of network. "IN" is defined to have the meaning 5900"Internet".</p></td> 5901<td class="struct_member_annotations"> </td> 5902</tr> 5903<tr> 5904<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GstSDPOrigin.addrtype"></a>addrtype</code></em>;</p></td> 5905<td class="struct_member_description"><p>the type of <em class="parameter"><code>addr</code></em> 5906.</p></td> 5907<td class="struct_member_annotations"> </td> 5908</tr> 5909<tr> 5910<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GstSDPOrigin.addr"></a>addr</code></em>;</p></td> 5911<td class="struct_member_description"><p>the globally unique address of the machine from which the session was 5912created.</p></td> 5913<td class="struct_member_annotations"> </td> 5914</tr> 5915</tbody> 5916</table></div> 5917</div> 5918</div> 5919<hr> 5920<div class="refsect2"> 5921<a name="GstSDPConnection"></a><h3>GstSDPConnection</h3> 5922<pre class="programlisting">typedef struct { 5923 gchar *nettype; 5924 gchar *addrtype; 5925 gchar *address; 5926 guint ttl; 5927 guint addr_number; 5928} GstSDPConnection; 5929</pre> 5930<p>The contents of the SDP "c=" field which contains connection data.</p> 5931<div class="refsect3"> 5932<a name="GstSDPConnection.members"></a><h4>Members</h4> 5933<div class="informaltable"><table class="informaltable" width="100%" border="0"> 5934<colgroup> 5935<col width="300px" class="struct_members_name"> 5936<col class="struct_members_description"> 5937<col width="200px" class="struct_members_annotations"> 5938</colgroup> 5939<tbody> 5940<tr> 5941<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GstSDPConnection.nettype"></a>nettype</code></em>;</p></td> 5942<td class="struct_member_description"><p>the type of network. "IN" is defined to have the meaning 5943"Internet".</p></td> 5944<td class="struct_member_annotations"> </td> 5945</tr> 5946<tr> 5947<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GstSDPConnection.addrtype"></a>addrtype</code></em>;</p></td> 5948<td class="struct_member_description"><p>the type of <em class="parameter"><code>address</code></em> 5949.</p></td> 5950<td class="struct_member_annotations"> </td> 5951</tr> 5952<tr> 5953<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GstSDPConnection.address"></a>address</code></em>;</p></td> 5954<td class="struct_member_description"><p>the address</p></td> 5955<td class="struct_member_annotations"> </td> 5956</tr> 5957<tr> 5958<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstSDPConnection.ttl"></a>ttl</code></em>;</p></td> 5959<td class="struct_member_description"><p>the time to live of the address</p></td> 5960<td class="struct_member_annotations"> </td> 5961</tr> 5962<tr> 5963<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstSDPConnection.addr-number"></a>addr_number</code></em>;</p></td> 5964<td class="struct_member_description"><p>the number of layers</p></td> 5965<td class="struct_member_annotations"> </td> 5966</tr> 5967</tbody> 5968</table></div> 5969</div> 5970</div> 5971<hr> 5972<div class="refsect2"> 5973<a name="GST-SDP-BWTYPE-CT:CAPS"></a><h3>GST_SDP_BWTYPE_CT</h3> 5974<pre class="programlisting">#define GST_SDP_BWTYPE_CT "CT" 5975</pre> 5976<p>The Conference Total bandwidth modifier.</p> 5977</div> 5978<hr> 5979<div class="refsect2"> 5980<a name="GST-SDP-BWTYPE-AS:CAPS"></a><h3>GST_SDP_BWTYPE_AS</h3> 5981<pre class="programlisting">#define GST_SDP_BWTYPE_AS "AS" 5982</pre> 5983<p>The Application-Specific Maximum bandwidth modifier.</p> 5984</div> 5985<hr> 5986<div class="refsect2"> 5987<a name="GST-SDP-BWTYPE-EXT-PREFIX:CAPS"></a><h3>GST_SDP_BWTYPE_EXT_PREFIX</h3> 5988<pre class="programlisting">#define GST_SDP_BWTYPE_EXT_PREFIX "X-" 5989</pre> 5990<p>The extension prefix bandwidth modifier.</p> 5991</div> 5992<hr> 5993<div class="refsect2"> 5994<a name="GST-SDP-BWTYPE-RR:CAPS"></a><h3>GST_SDP_BWTYPE_RR</h3> 5995<pre class="programlisting">#define GST_SDP_BWTYPE_RR "RR" 5996</pre> 5997<p>RTCP bandwidth allocated to data receivers (RFC 3556).</p> 5998</div> 5999<hr> 6000<div class="refsect2"> 6001<a name="GST-SDP-BWTYPE-RS:CAPS"></a><h3>GST_SDP_BWTYPE_RS</h3> 6002<pre class="programlisting">#define GST_SDP_BWTYPE_RS "RS" 6003</pre> 6004<p>RTCP bandwidth allocated to active data senders (RFC 3556).</p> 6005</div> 6006<hr> 6007<div class="refsect2"> 6008<a name="GST-SDP-BWTYPE-TIAS:CAPS"></a><h3>GST_SDP_BWTYPE_TIAS</h3> 6009<pre class="programlisting">#define GST_SDP_BWTYPE_TIAS "TIAS" 6010</pre> 6011<p>Transport Independent Application Specific Maximum bandwidth (RFC 3890).</p> 6012</div> 6013<hr> 6014<div class="refsect2"> 6015<a name="GstSDPBandwidth"></a><h3>GstSDPBandwidth</h3> 6016<pre class="programlisting">typedef struct { 6017 gchar *bwtype; 6018 guint bandwidth; 6019} GstSDPBandwidth; 6020</pre> 6021<p>The contents of the SDP "b=" field which specifies the proposed bandwidth to 6022be used by the session or media.</p> 6023<div class="refsect3"> 6024<a name="GstSDPBandwidth.members"></a><h4>Members</h4> 6025<div class="informaltable"><table class="informaltable" width="100%" border="0"> 6026<colgroup> 6027<col width="300px" class="struct_members_name"> 6028<col class="struct_members_description"> 6029<col width="200px" class="struct_members_annotations"> 6030</colgroup> 6031<tbody> 6032<tr> 6033<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GstSDPBandwidth.bwtype"></a>bwtype</code></em>;</p></td> 6034<td class="struct_member_description"><p>the bandwidth modifier type</p></td> 6035<td class="struct_member_annotations"> </td> 6036</tr> 6037<tr> 6038<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstSDPBandwidth.bandwidth"></a>bandwidth</code></em>;</p></td> 6039<td class="struct_member_description"><p>the bandwidth in kilobits per second</p></td> 6040<td class="struct_member_annotations"> </td> 6041</tr> 6042</tbody> 6043</table></div> 6044</div> 6045</div> 6046<hr> 6047<div class="refsect2"> 6048<a name="GstSDPTime"></a><h3>GstSDPTime</h3> 6049<pre class="programlisting">typedef struct { 6050 gchar *start; 6051 gchar *stop; 6052 GArray *repeat; 6053} GstSDPTime; 6054</pre> 6055<p>The contents of the SDP "t=" field which specify the start and stop times for 6056a conference session.</p> 6057<div class="refsect3"> 6058<a name="GstSDPTime.members"></a><h4>Members</h4> 6059<div class="informaltable"><table class="informaltable" width="100%" border="0"> 6060<colgroup> 6061<col width="300px" class="struct_members_name"> 6062<col class="struct_members_description"> 6063<col width="200px" class="struct_members_annotations"> 6064</colgroup> 6065<tbody> 6066<tr> 6067<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GstSDPTime.start"></a>start</code></em>;</p></td> 6068<td class="struct_member_description"><p>start time for the conference. The value is the decimal 6069representation of Network Time Protocol (NTP) time values in seconds</p></td> 6070<td class="struct_member_annotations"> </td> 6071</tr> 6072<tr> 6073<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GstSDPTime.stop"></a>stop</code></em>;</p></td> 6074<td class="struct_member_description"><p>stop time for the conference. The value is the decimal 6075representation of Network Time Protocol (NTP) time values in seconds</p></td> 6076<td class="struct_member_annotations"> </td> 6077</tr> 6078<tr> 6079<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *<em class="structfield"><code><a name="GstSDPTime.repeat"></a>repeat</code></em>;</p></td> 6080<td class="struct_member_description"><p>repeat times for a session</p></td> 6081<td class="struct_member_annotations"> </td> 6082</tr> 6083</tbody> 6084</table></div> 6085</div> 6086</div> 6087<hr> 6088<div class="refsect2"> 6089<a name="GstSDPZone"></a><h3>GstSDPZone</h3> 6090<pre class="programlisting">typedef struct { 6091 gchar *time; 6092 gchar *typed_time; 6093} GstSDPZone; 6094</pre> 6095<p>The contents of the SDP "z=" field which allows the sender to 6096specify a list of time zone adjustments and offsets from the base 6097time.</p> 6098<div class="refsect3"> 6099<a name="GstSDPZone.members"></a><h4>Members</h4> 6100<div class="informaltable"><table class="informaltable" width="100%" border="0"> 6101<colgroup> 6102<col width="300px" class="struct_members_name"> 6103<col class="struct_members_description"> 6104<col width="200px" class="struct_members_annotations"> 6105</colgroup> 6106<tbody> 6107<tr> 6108<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GstSDPZone.time"></a>time</code></em>;</p></td> 6109<td class="struct_member_description"><p>the NTP time that a time zone adjustment happens</p></td> 6110<td class="struct_member_annotations"> </td> 6111</tr> 6112<tr> 6113<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GstSDPZone.typed-time"></a>typed_time</code></em>;</p></td> 6114<td class="struct_member_description"><p>the offset from the time when the session was first scheduled</p></td> 6115<td class="struct_member_annotations"> </td> 6116</tr> 6117</tbody> 6118</table></div> 6119</div> 6120</div> 6121<hr> 6122<div class="refsect2"> 6123<a name="GstSDPKey"></a><h3>GstSDPKey</h3> 6124<pre class="programlisting">typedef struct { 6125 gchar *type; 6126 gchar *data; 6127} GstSDPKey; 6128</pre> 6129<p>The contents of the SDP "k=" field which is used to convey encryption 6130keys.</p> 6131<div class="refsect3"> 6132<a name="GstSDPKey.members"></a><h4>Members</h4> 6133<div class="informaltable"><table class="informaltable" width="100%" border="0"> 6134<colgroup> 6135<col width="300px" class="struct_members_name"> 6136<col class="struct_members_description"> 6137<col width="200px" class="struct_members_annotations"> 6138</colgroup> 6139<tbody> 6140<tr> 6141<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GstSDPKey.type"></a>type</code></em>;</p></td> 6142<td class="struct_member_description"><p>the encryption type</p></td> 6143<td class="struct_member_annotations"> </td> 6144</tr> 6145<tr> 6146<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GstSDPKey.data"></a>data</code></em>;</p></td> 6147<td class="struct_member_description"><p>the encryption data</p></td> 6148<td class="struct_member_annotations"> </td> 6149</tr> 6150</tbody> 6151</table></div> 6152</div> 6153</div> 6154<hr> 6155<div class="refsect2"> 6156<a name="GstSDPAttribute"></a><h3>GstSDPAttribute</h3> 6157<pre class="programlisting">typedef struct { 6158 gchar *key; 6159 gchar *value; 6160} GstSDPAttribute; 6161</pre> 6162<p>The contents of the SDP "a=" field which contains a key/value pair.</p> 6163<div class="refsect3"> 6164<a name="GstSDPAttribute.members"></a><h4>Members</h4> 6165<div class="informaltable"><table class="informaltable" width="100%" border="0"> 6166<colgroup> 6167<col width="300px" class="struct_members_name"> 6168<col class="struct_members_description"> 6169<col width="200px" class="struct_members_annotations"> 6170</colgroup> 6171<tbody> 6172<tr> 6173<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GstSDPAttribute.key"></a>key</code></em>;</p></td> 6174<td class="struct_member_description"><p>the attribute key</p></td> 6175<td class="struct_member_annotations"> </td> 6176</tr> 6177<tr> 6178<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GstSDPAttribute.value"></a>value</code></em>;</p></td> 6179<td class="struct_member_description"><p>the attribute value or NULL when it was a property attribute</p></td> 6180<td class="struct_member_annotations"> </td> 6181</tr> 6182</tbody> 6183</table></div> 6184</div> 6185</div> 6186<hr> 6187<div class="refsect2"> 6188<a name="GstSDPMedia"></a><h3>GstSDPMedia</h3> 6189<pre class="programlisting">typedef struct { 6190 gchar *media; 6191 guint port; 6192 guint num_ports; 6193 gchar *proto; 6194 GArray *fmts; 6195 gchar *information; 6196 GArray *connections; 6197 GArray *bandwidths; 6198 GstSDPKey key; 6199 GArray *attributes; 6200} GstSDPMedia; 6201</pre> 6202<p>The contents of the SDP "m=" field with all related fields.</p> 6203<div class="refsect3"> 6204<a name="GstSDPMedia.members"></a><h4>Members</h4> 6205<div class="informaltable"><table class="informaltable" width="100%" border="0"> 6206<colgroup> 6207<col width="300px" class="struct_members_name"> 6208<col class="struct_members_description"> 6209<col width="200px" class="struct_members_annotations"> 6210</colgroup> 6211<tbody> 6212<tr> 6213<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GstSDPMedia.media"></a>media</code></em>;</p></td> 6214<td class="struct_member_description"><p>the media type</p></td> 6215<td class="struct_member_annotations"> </td> 6216</tr> 6217<tr> 6218<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstSDPMedia.port"></a>port</code></em>;</p></td> 6219<td class="struct_member_description"><p>the transport port to which the media stream will be sent</p></td> 6220<td class="struct_member_annotations"> </td> 6221</tr> 6222<tr> 6223<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstSDPMedia.num-ports"></a>num_ports</code></em>;</p></td> 6224<td class="struct_member_description"><p>the number of ports or -1 if only one port was specified</p></td> 6225<td class="struct_member_annotations"> </td> 6226</tr> 6227<tr> 6228<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GstSDPMedia.proto"></a>proto</code></em>;</p></td> 6229<td class="struct_member_description"><p>the transport protocol</p></td> 6230<td class="struct_member_annotations"> </td> 6231</tr> 6232<tr> 6233<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *<em class="structfield"><code><a name="GstSDPMedia.fmts"></a>fmts</code></em>;</p></td> 6234<td class="struct_member_description"><p>an array of <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> formats</p></td> 6235<td class="struct_member_annotations"> </td> 6236</tr> 6237<tr> 6238<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GstSDPMedia.information"></a>information</code></em>;</p></td> 6239<td class="struct_member_description"><p>the media title</p></td> 6240<td class="struct_member_annotations"> </td> 6241</tr> 6242<tr> 6243<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *<em class="structfield"><code><a name="GstSDPMedia.connections"></a>connections</code></em>;</p></td> 6244<td class="struct_member_description"><p>array of <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPConnection" title="GstSDPConnection"><span class="type">GstSDPConnection</span></a> with media connection information</p></td> 6245<td class="struct_member_annotations"> </td> 6246</tr> 6247<tr> 6248<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *<em class="structfield"><code><a name="GstSDPMedia.bandwidths"></a>bandwidths</code></em>;</p></td> 6249<td class="struct_member_description"><p>array of <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPBandwidth" title="GstSDPBandwidth"><span class="type">GstSDPBandwidth</span></a> with media bandwidth information</p></td> 6250<td class="struct_member_annotations"> </td> 6251</tr> 6252<tr> 6253<td class="struct_member_name"><p><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPKey" title="GstSDPKey"><span class="type">GstSDPKey</span></a> <em class="structfield"><code><a name="GstSDPMedia.key"></a>key</code></em>;</p></td> 6254<td class="struct_member_description"><p>the encryption key</p></td> 6255<td class="struct_member_annotations"> </td> 6256</tr> 6257<tr> 6258<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *<em class="structfield"><code><a name="GstSDPMedia.attributes"></a>attributes</code></em>;</p></td> 6259<td class="struct_member_description"><p>array of <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPAttribute" title="GstSDPAttribute"><span class="type">GstSDPAttribute</span></a> with the additional media attributes</p></td> 6260<td class="struct_member_annotations"> </td> 6261</tr> 6262</tbody> 6263</table></div> 6264</div> 6265</div> 6266<hr> 6267<div class="refsect2"> 6268<a name="GstSDPMessage"></a><h3>GstSDPMessage</h3> 6269<pre class="programlisting">typedef struct { 6270 gchar *version; 6271 GstSDPOrigin origin; 6272 gchar *session_name; 6273 gchar *information; 6274 gchar *uri; 6275 GArray *emails; 6276 GArray *phones; 6277 GstSDPConnection connection; 6278 GArray *bandwidths; 6279 GArray *times; 6280 GArray *zones; 6281 GstSDPKey key; 6282 GArray *attributes; 6283 GArray *medias; 6284} GstSDPMessage; 6285</pre> 6286<p>The contents of the SDP message.</p> 6287<div class="refsect3"> 6288<a name="GstSDPMessage.members"></a><h4>Members</h4> 6289<div class="informaltable"><table class="informaltable" width="100%" border="0"> 6290<colgroup> 6291<col width="300px" class="struct_members_name"> 6292<col class="struct_members_description"> 6293<col width="200px" class="struct_members_annotations"> 6294</colgroup> 6295<tbody> 6296<tr> 6297<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GstSDPMessage.version"></a>version</code></em>;</p></td> 6298<td class="struct_member_description"><p>the protocol version</p></td> 6299<td class="struct_member_annotations"> </td> 6300</tr> 6301<tr> 6302<td class="struct_member_name"><p><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPOrigin" title="GstSDPOrigin"><span class="type">GstSDPOrigin</span></a> <em class="structfield"><code><a name="GstSDPMessage.origin"></a>origin</code></em>;</p></td> 6303<td class="struct_member_description"><p>owner/creator and session identifier</p></td> 6304<td class="struct_member_annotations"> </td> 6305</tr> 6306<tr> 6307<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GstSDPMessage.session-name"></a>session_name</code></em>;</p></td> 6308<td class="struct_member_description"><p>session name</p></td> 6309<td class="struct_member_annotations"> </td> 6310</tr> 6311<tr> 6312<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GstSDPMessage.information"></a>information</code></em>;</p></td> 6313<td class="struct_member_description"><p>session information</p></td> 6314<td class="struct_member_annotations"> </td> 6315</tr> 6316<tr> 6317<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GstSDPMessage.uri"></a>uri</code></em>;</p></td> 6318<td class="struct_member_description"><p>URI of description</p></td> 6319<td class="struct_member_annotations"> </td> 6320</tr> 6321<tr> 6322<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *<em class="structfield"><code><a name="GstSDPMessage.emails"></a>emails</code></em>;</p></td> 6323<td class="struct_member_description"><p>array of <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> with email addresses</p></td> 6324<td class="struct_member_annotations"> </td> 6325</tr> 6326<tr> 6327<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *<em class="structfield"><code><a name="GstSDPMessage.phones"></a>phones</code></em>;</p></td> 6328<td class="struct_member_description"><p>array of <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> with phone numbers</p></td> 6329<td class="struct_member_annotations"> </td> 6330</tr> 6331<tr> 6332<td class="struct_member_name"><p><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPConnection" title="GstSDPConnection"><span class="type">GstSDPConnection</span></a> <em class="structfield"><code><a name="GstSDPMessage.connection"></a>connection</code></em>;</p></td> 6333<td class="struct_member_description"><p>connection information for the session</p></td> 6334<td class="struct_member_annotations"> </td> 6335</tr> 6336<tr> 6337<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *<em class="structfield"><code><a name="GstSDPMessage.bandwidths"></a>bandwidths</code></em>;</p></td> 6338<td class="struct_member_description"><p>array of <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPBandwidth" title="GstSDPBandwidth"><span class="type">GstSDPBandwidth</span></a> with bandwidth information</p></td> 6339<td class="struct_member_annotations"> </td> 6340</tr> 6341<tr> 6342<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *<em class="structfield"><code><a name="GstSDPMessage.times"></a>times</code></em>;</p></td> 6343<td class="struct_member_description"><p>array of <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPTime" title="GstSDPTime"><span class="type">GstSDPTime</span></a> with time descriptions</p></td> 6344<td class="struct_member_annotations"> </td> 6345</tr> 6346<tr> 6347<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *<em class="structfield"><code><a name="GstSDPMessage.zones"></a>zones</code></em>;</p></td> 6348<td class="struct_member_description"><p>array of <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPZone" title="GstSDPZone"><span class="type">GstSDPZone</span></a> with time zone adjustments</p></td> 6349<td class="struct_member_annotations"> </td> 6350</tr> 6351<tr> 6352<td class="struct_member_name"><p><a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPKey" title="GstSDPKey"><span class="type">GstSDPKey</span></a> <em class="structfield"><code><a name="GstSDPMessage.key"></a>key</code></em>;</p></td> 6353<td class="struct_member_description"><p>encryption key</p></td> 6354<td class="struct_member_annotations"> </td> 6355</tr> 6356<tr> 6357<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *<em class="structfield"><code><a name="GstSDPMessage.attributes"></a>attributes</code></em>;</p></td> 6358<td class="struct_member_description"><p>array of <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPAttribute" title="GstSDPAttribute"><span class="type">GstSDPAttribute</span></a> with session attributes</p></td> 6359<td class="struct_member_annotations"> </td> 6360</tr> 6361<tr> 6362<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *<em class="structfield"><code><a name="GstSDPMessage.medias"></a>medias</code></em>;</p></td> 6363<td class="struct_member_description"><p>array of <a class="link" href="gst-plugins-base-libs-GstSDPMessage.html#GstSDPMedia" title="GstSDPMedia"><span class="type">GstSDPMedia</span></a> with media descriptions</p></td> 6364<td class="struct_member_annotations"> </td> 6365</tr> 6366</tbody> 6367</table></div> 6368</div> 6369</div> 6370</div> 6371</div> 6372<div class="footer"> 6373<hr>Generated by GTK-Doc V1.28</div> 6374</body> 6375</html>