2 <!-- This file was automatically generated from C sources - DO NOT EDIT!
3 To affect the contents of this file, edit the original C definitions,
4 and/or use gtk-doc annotations. -->
5 <repository version="1.2"
6 xmlns="http://www.gtk.org/introspection/core/1.0"
7 xmlns:c="http://www.gtk.org/introspection/c/1.0"
8 xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
9 <include name="GLib" version="2.0"/>
10 <include name="GModule" version="2.0"/>
11 <include name="GObject" version="2.0"/>
12 <include name="Gst" version="0.10"/>
13 <include name="libxml2" version="2.0"/>
14 <package name="gstreamer-sdp-0.10"/>
15 <c:include name="gst/audio/gstsdp.h"/>
16 <c:include name="gst/audio/gstsdpmessage.h"/>
17 <namespace name="GstSdp"
19 shared-library="libgstsdp-0.10.so.0"
20 c:identifier-prefixes="Gst"
21 c:symbol-prefixes="gst">
22 <record name="SDPAttribute" c:type="GstSDPAttribute">
23 <doc xml:whitespace="preserve">The contents of the SDP "a=" field which contains a key/value pair.</doc>
24 <field name="key" writable="1">
25 <type name="utf8" c:type="gchar*"/>
27 <field name="value" writable="1">
28 <type name="utf8" c:type="gchar*"/>
31 <record name="SDPBandwidth" c:type="GstSDPBandwidth">
32 <doc xml:whitespace="preserve">The contents of the SDP "b=" field which specifies the proposed bandwidth to
33 be used by the session or media.</doc>
34 <field name="bwtype" writable="1">
35 <type name="utf8" c:type="gchar*"/>
37 <field name="bandwidth" writable="1">
38 <type name="guint" c:type="guint"/>
41 <record name="SDPConnection" c:type="GstSDPConnection">
42 <doc xml:whitespace="preserve">The contents of the SDP "c=" field which contains connection data.</doc>
43 <field name="nettype" writable="1">
44 <type name="utf8" c:type="gchar*"/>
46 <field name="addrtype" writable="1">
47 <type name="utf8" c:type="gchar*"/>
49 <field name="address" writable="1">
50 <type name="utf8" c:type="gchar*"/>
52 <field name="ttl" writable="1">
53 <type name="guint" c:type="guint"/>
55 <field name="addr_number" writable="1">
56 <type name="guint" c:type="guint"/>
59 <record name="SDPKey" c:type="GstSDPKey">
60 <doc xml:whitespace="preserve">The contents of the SDP "k=" field which is used to convey encryption
62 <field name="type" writable="1">
63 <type name="utf8" c:type="gchar*"/>
65 <field name="data" writable="1">
66 <type name="utf8" c:type="gchar*"/>
69 <record name="SDPMedia" c:type="GstSDPMedia">
70 <doc xml:whitespace="preserve">The contents of the SDP "m=" field with all related fields.</doc>
71 <field name="media" writable="1">
72 <type name="utf8" c:type="gchar*"/>
74 <field name="port" writable="1">
75 <type name="guint" c:type="guint"/>
77 <field name="num_ports" writable="1">
78 <type name="guint" c:type="guint"/>
80 <field name="proto" writable="1">
81 <type name="utf8" c:type="gchar*"/>
83 <field name="fmts" writable="1">
84 <array name="GLib.Array" c:type="GArray*">
85 <type name="gpointer" c:type="gpointer"/>
88 <field name="information" writable="1">
89 <type name="utf8" c:type="gchar*"/>
91 <field name="connections" writable="1">
92 <array name="GLib.Array" c:type="GArray*">
93 <type name="gpointer" c:type="gpointer"/>
96 <field name="bandwidths" writable="1">
97 <array name="GLib.Array" c:type="GArray*">
98 <type name="gpointer" c:type="gpointer"/>
101 <field name="key" writable="1">
102 <type name="SDPKey" c:type="GstSDPKey"/>
104 <field name="attributes" writable="1">
105 <array name="GLib.Array" c:type="GArray*">
106 <type name="gpointer" c:type="gpointer"/>
109 <method name="add_attribute" c:identifier="gst_sdp_media_add_attribute">
110 <doc xml:whitespace="preserve">Add the attribute with @key and @value to @media.</doc>
111 <return-value transfer-ownership="none">
112 <doc xml:whitespace="preserve">#GST_SDP_OK.</doc>
113 <type name="SDPResult" c:type="GstSDPResult"/>
116 <parameter name="key" transfer-ownership="none">
117 <doc xml:whitespace="preserve">a key</doc>
118 <type name="utf8" c:type="gchar*"/>
120 <parameter name="value" transfer-ownership="none">
121 <doc xml:whitespace="preserve">a value</doc>
122 <type name="utf8" c:type="gchar*"/>
126 <method name="add_bandwidth" c:identifier="gst_sdp_media_add_bandwidth">
127 <doc xml:whitespace="preserve">Add the bandwidth information with @bwtype and @bandwidth to @media.</doc>
128 <return-value transfer-ownership="none">
129 <doc xml:whitespace="preserve">#GST_SDP_OK.</doc>
130 <type name="SDPResult" c:type="GstSDPResult"/>
133 <parameter name="bwtype" transfer-ownership="none">
134 <doc xml:whitespace="preserve">the bandwidth modifier type</doc>
135 <type name="utf8" c:type="gchar*"/>
137 <parameter name="bandwidth" transfer-ownership="none">
138 <doc xml:whitespace="preserve">the bandwidth in kilobits per second</doc>
139 <type name="guint" c:type="guint"/>
143 <method name="add_connection"
144 c:identifier="gst_sdp_media_add_connection">
145 <doc xml:whitespace="preserve">Add the given connection parameters to @media.</doc>
146 <return-value transfer-ownership="none">
147 <doc xml:whitespace="preserve">a #GstSDPResult.</doc>
148 <type name="SDPResult" c:type="GstSDPResult"/>
151 <parameter name="nettype" transfer-ownership="none">
152 <doc xml:whitespace="preserve">the type of network. "IN" is defined to have the meaning "Internet".</doc>
153 <type name="utf8" c:type="gchar*"/>
155 <parameter name="addrtype" transfer-ownership="none">
156 <doc xml:whitespace="preserve">the type of address.</doc>
157 <type name="utf8" c:type="gchar*"/>
159 <parameter name="address" transfer-ownership="none">
160 <doc xml:whitespace="preserve">the address</doc>
161 <type name="utf8" c:type="gchar*"/>
163 <parameter name="ttl" transfer-ownership="none">
164 <doc xml:whitespace="preserve">the time to live of the address</doc>
165 <type name="guint" c:type="guint"/>
167 <parameter name="addr_number" transfer-ownership="none">
168 <doc xml:whitespace="preserve">the number of layers</doc>
169 <type name="guint" c:type="guint"/>
173 <method name="add_format" c:identifier="gst_sdp_media_add_format">
174 <doc xml:whitespace="preserve">Add the format information to @media.</doc>
175 <return-value transfer-ownership="none">
176 <doc xml:whitespace="preserve">#GST_SDP_OK.</doc>
177 <type name="SDPResult" c:type="GstSDPResult"/>
180 <parameter name="format" transfer-ownership="none">
181 <doc xml:whitespace="preserve">the format</doc>
182 <type name="utf8" c:type="gchar*"/>
186 <method name="as_text" c:identifier="gst_sdp_media_as_text">
187 <doc xml:whitespace="preserve">Convert the contents of @media to a text string.</doc>
188 <return-value transfer-ownership="full">
189 <doc xml:whitespace="preserve">A dynamically allocated string representing the media.</doc>
190 <type name="utf8" c:type="gchar*"/>
193 <method name="attributes_len"
194 c:identifier="gst_sdp_media_attributes_len">
195 <doc xml:whitespace="preserve">Get the number of attribute fields in @media.</doc>
196 <return-value transfer-ownership="none">
197 <doc xml:whitespace="preserve">the number of attributes in @media.</doc>
198 <type name="guint" c:type="guint"/>
201 <method name="bandwidths_len"
202 c:identifier="gst_sdp_media_bandwidths_len">
203 <doc xml:whitespace="preserve">Get the number of bandwidth fields in @media.</doc>
204 <return-value transfer-ownership="none">
205 <doc xml:whitespace="preserve">the number of bandwidths in @media.</doc>
206 <type name="guint" c:type="guint"/>
209 <method name="connections_len"
210 c:identifier="gst_sdp_media_connections_len">
211 <doc xml:whitespace="preserve">Get the number of connection fields in @media.</doc>
212 <return-value transfer-ownership="none">
213 <doc xml:whitespace="preserve">the number of connections in @media.</doc>
214 <type name="guint" c:type="guint"/>
217 <method name="formats_len" c:identifier="gst_sdp_media_formats_len">
218 <doc xml:whitespace="preserve">Get the number of formats in @media.</doc>
219 <return-value transfer-ownership="none">
220 <doc xml:whitespace="preserve">the number of formats in @media.</doc>
221 <type name="guint" c:type="guint"/>
224 <method name="free" c:identifier="gst_sdp_media_free">
225 <doc xml:whitespace="preserve">Free all resources allocated by @media. @media should not be used anymore after
226 this function. This function should be used when @media was dynamically
227 allocated with gst_sdp_media_new().</doc>
228 <return-value transfer-ownership="none">
229 <doc xml:whitespace="preserve">a #GstSDPResult.</doc>
230 <type name="SDPResult" c:type="GstSDPResult"/>
233 <method name="get_attribute" c:identifier="gst_sdp_media_get_attribute">
234 <doc xml:whitespace="preserve">Get the attribute at position @idx in @media.</doc>
235 <return-value transfer-ownership="none">
236 <doc xml:whitespace="preserve">the #GstSDPAttribute at position @idx.</doc>
237 <type name="SDPAttribute" c:type="GstSDPAttribute*"/>
240 <parameter name="idx" transfer-ownership="none">
241 <doc xml:whitespace="preserve">an index</doc>
242 <type name="guint" c:type="guint"/>
246 <method name="get_attribute_val"
247 c:identifier="gst_sdp_media_get_attribute_val">
248 <doc xml:whitespace="preserve">Get the first attribute value for @key in @media.</doc>
249 <return-value transfer-ownership="none">
250 <doc xml:whitespace="preserve">the first attribute value for @key.</doc>
251 <type name="utf8" c:type="gchar*"/>
254 <parameter name="key" transfer-ownership="none">
255 <doc xml:whitespace="preserve">a key</doc>
256 <type name="utf8" c:type="gchar*"/>
260 <method name="get_attribute_val_n"
261 c:identifier="gst_sdp_media_get_attribute_val_n">
262 <doc xml:whitespace="preserve">Get the @nth attribute value for @key in @media.</doc>
263 <return-value transfer-ownership="none">
264 <doc xml:whitespace="preserve">the @nth attribute value.</doc>
265 <type name="utf8" c:type="gchar*"/>
268 <parameter name="key" transfer-ownership="none">
269 <doc xml:whitespace="preserve">a key</doc>
270 <type name="utf8" c:type="gchar*"/>
272 <parameter name="nth" transfer-ownership="none">
273 <doc xml:whitespace="preserve">an index</doc>
274 <type name="guint" c:type="guint"/>
278 <method name="get_bandwidth" c:identifier="gst_sdp_media_get_bandwidth">
279 <doc xml:whitespace="preserve">Get the bandwidth at position @idx in @media.</doc>
280 <return-value transfer-ownership="none">
281 <doc xml:whitespace="preserve">the #GstSDPBandwidth at position @idx.</doc>
282 <type name="SDPBandwidth" c:type="GstSDPBandwidth*"/>
285 <parameter name="idx" transfer-ownership="none">
286 <doc xml:whitespace="preserve">an index</doc>
287 <type name="guint" c:type="guint"/>
291 <method name="get_connection"
292 c:identifier="gst_sdp_media_get_connection">
293 <doc xml:whitespace="preserve">Get the connection at position @idx in @media.</doc>
294 <return-value transfer-ownership="none">
295 <doc xml:whitespace="preserve">the #GstSDPConnection at position @idx.</doc>
296 <type name="SDPConnection" c:type="GstSDPConnection*"/>
299 <parameter name="idx" transfer-ownership="none">
300 <doc xml:whitespace="preserve">an index</doc>
301 <type name="guint" c:type="guint"/>
305 <method name="get_format" c:identifier="gst_sdp_media_get_format">
306 <doc xml:whitespace="preserve">Get the format information at position @idx in @media.</doc>
307 <return-value transfer-ownership="none">
308 <doc xml:whitespace="preserve">the format at position @idx.</doc>
309 <type name="utf8" c:type="gchar*"/>
312 <parameter name="idx" transfer-ownership="none">
313 <doc xml:whitespace="preserve">an index</doc>
314 <type name="guint" c:type="guint"/>
318 <method name="get_information"
319 c:identifier="gst_sdp_media_get_information">
320 <doc xml:whitespace="preserve">Get the information of @media</doc>
321 <return-value transfer-ownership="none">
322 <doc xml:whitespace="preserve">the information of @media.</doc>
323 <type name="utf8" c:type="gchar*"/>
326 <method name="get_key" c:identifier="gst_sdp_media_get_key">
327 <doc xml:whitespace="preserve">Get the encryption information from @media.</doc>
328 <return-value transfer-ownership="none">
329 <doc xml:whitespace="preserve">a #GstSDPKey.</doc>
330 <type name="SDPKey" c:type="GstSDPKey*"/>
333 <method name="get_media" c:identifier="gst_sdp_media_get_media">
334 <doc xml:whitespace="preserve">Get the media description of @media.</doc>
335 <return-value transfer-ownership="none">
336 <doc xml:whitespace="preserve">the media description.</doc>
337 <type name="utf8" c:type="gchar*"/>
340 <method name="get_num_ports" c:identifier="gst_sdp_media_get_num_ports">
341 <doc xml:whitespace="preserve">Get the number of ports for @media.</doc>
342 <return-value transfer-ownership="none">
343 <doc xml:whitespace="preserve">the number of ports for @media.</doc>
344 <type name="guint" c:type="guint"/>
347 <method name="get_port" c:identifier="gst_sdp_media_get_port">
348 <doc xml:whitespace="preserve">Get the port number for @media.</doc>
349 <return-value transfer-ownership="none">
350 <doc xml:whitespace="preserve">the port number of @media.</doc>
351 <type name="guint" c:type="guint"/>
354 <method name="get_proto" c:identifier="gst_sdp_media_get_proto">
355 <doc xml:whitespace="preserve">Get the transport protocol of @media</doc>
356 <return-value transfer-ownership="none">
357 <doc xml:whitespace="preserve">the transport protocol of @media.</doc>
358 <type name="utf8" c:type="gchar*"/>
361 <method name="init" c:identifier="gst_sdp_media_init">
362 <doc xml:whitespace="preserve">Initialize @media so that its contents are as if it was freshly allocated
363 with gst_sdp_media_new(). This function is mostly used to initialize a media
364 allocated on the stack. gst_sdp_media_uninit() undoes this operation.
365 When this function is invoked on newly allocated data (with malloc or on the
366 stack), its contents should be set to 0 before calling this function.</doc>
367 <return-value transfer-ownership="none">
368 <doc xml:whitespace="preserve">a #GstSDPResult.</doc>
369 <type name="SDPResult" c:type="GstSDPResult"/>
372 <method name="set_information"
373 c:identifier="gst_sdp_media_set_information">
374 <doc xml:whitespace="preserve">Set the media information of @media to @information.</doc>
375 <return-value transfer-ownership="none">
376 <doc xml:whitespace="preserve">#GST_SDP_OK.</doc>
377 <type name="SDPResult" c:type="GstSDPResult"/>
380 <parameter name="information" transfer-ownership="none">
381 <doc xml:whitespace="preserve">the media information</doc>
382 <type name="utf8" c:type="gchar*"/>
386 <method name="set_key" c:identifier="gst_sdp_media_set_key">
387 <doc xml:whitespace="preserve">Adds the encryption information to @media.</doc>
388 <return-value transfer-ownership="none">
389 <doc xml:whitespace="preserve">a #GstSDPResult.</doc>
390 <type name="SDPResult" c:type="GstSDPResult"/>
393 <parameter name="type" transfer-ownership="none">
394 <doc xml:whitespace="preserve">the encryption type</doc>
395 <type name="utf8" c:type="gchar*"/>
397 <parameter name="data" transfer-ownership="none">
398 <doc xml:whitespace="preserve">the encryption data</doc>
399 <type name="utf8" c:type="gchar*"/>
403 <method name="set_media" c:identifier="gst_sdp_media_set_media">
404 <doc xml:whitespace="preserve">Set the media description of @media to @med.</doc>
405 <return-value transfer-ownership="none">
406 <doc xml:whitespace="preserve">#GST_SDP_OK.</doc>
407 <type name="SDPResult" c:type="GstSDPResult"/>
410 <parameter name="med" transfer-ownership="none">
411 <doc xml:whitespace="preserve">the media description</doc>
412 <type name="utf8" c:type="gchar*"/>
416 <method name="set_port_info" c:identifier="gst_sdp_media_set_port_info">
417 <doc xml:whitespace="preserve">Set the port information in @media.</doc>
418 <return-value transfer-ownership="none">
419 <doc xml:whitespace="preserve">#GST_SDP_OK.</doc>
420 <type name="SDPResult" c:type="GstSDPResult"/>
423 <parameter name="port" transfer-ownership="none">
424 <doc xml:whitespace="preserve">the port number</doc>
425 <type name="guint" c:type="guint"/>
427 <parameter name="num_ports" transfer-ownership="none">
428 <doc xml:whitespace="preserve">the number of ports</doc>
429 <type name="guint" c:type="guint"/>
433 <method name="set_proto" c:identifier="gst_sdp_media_set_proto">
434 <doc xml:whitespace="preserve">Set the media transport protocol of @media to @proto.</doc>
435 <return-value transfer-ownership="none">
436 <doc xml:whitespace="preserve">#GST_SDP_OK.</doc>
437 <type name="SDPResult" c:type="GstSDPResult"/>
440 <parameter name="proto" transfer-ownership="none">
441 <doc xml:whitespace="preserve">the media transport protocol</doc>
442 <type name="utf8" c:type="gchar*"/>
446 <method name="uninit" c:identifier="gst_sdp_media_uninit">
447 <doc xml:whitespace="preserve">Free all resources allocated in @media. @media should not be used anymore after
448 this function. This function should be used when @media was allocated on the
449 stack and initialized with gst_sdp_media_init().</doc>
450 <return-value transfer-ownership="none">
451 <doc xml:whitespace="preserve">a #GstSDPResult.</doc>
452 <type name="SDPResult" c:type="GstSDPResult"/>
456 <record name="SDPMessage" c:type="GstSDPMessage">
457 <doc xml:whitespace="preserve">The contents of the SDP message.</doc>
458 <field name="version" writable="1">
459 <type name="utf8" c:type="gchar*"/>
461 <field name="origin" writable="1">
462 <type name="SDPOrigin" c:type="GstSDPOrigin"/>
464 <field name="session_name" writable="1">
465 <type name="utf8" c:type="gchar*"/>
467 <field name="information" writable="1">
468 <type name="utf8" c:type="gchar*"/>
470 <field name="uri" writable="1">
471 <type name="utf8" c:type="gchar*"/>
473 <field name="emails" writable="1">
474 <array name="GLib.Array" c:type="GArray*">
475 <type name="gpointer" c:type="gpointer"/>
478 <field name="phones" writable="1">
479 <array name="GLib.Array" c:type="GArray*">
480 <type name="gpointer" c:type="gpointer"/>
483 <field name="connection" writable="1">
484 <type name="SDPConnection" c:type="GstSDPConnection"/>
486 <field name="bandwidths" writable="1">
487 <array name="GLib.Array" c:type="GArray*">
488 <type name="gpointer" c:type="gpointer"/>
491 <field name="times" writable="1">
492 <array name="GLib.Array" c:type="GArray*">
493 <type name="gpointer" c:type="gpointer"/>
496 <field name="zones" writable="1">
497 <array name="GLib.Array" c:type="GArray*">
498 <type name="gpointer" c:type="gpointer"/>
501 <field name="key" writable="1">
502 <type name="SDPKey" c:type="GstSDPKey"/>
504 <field name="attributes" writable="1">
505 <array name="GLib.Array" c:type="GArray*">
506 <type name="gpointer" c:type="gpointer"/>
509 <field name="medias" writable="1">
510 <array name="GLib.Array" c:type="GArray*">
511 <type name="gpointer" c:type="gpointer"/>
514 <method name="add_attribute"
515 c:identifier="gst_sdp_message_add_attribute">
516 <doc xml:whitespace="preserve">Add the attribute with @key and @value to @msg.</doc>
517 <return-value transfer-ownership="none">
518 <doc xml:whitespace="preserve">@GST_SDP_OK.</doc>
519 <type name="SDPResult" c:type="GstSDPResult"/>
522 <parameter name="key" transfer-ownership="none">
523 <doc xml:whitespace="preserve">the key</doc>
524 <type name="utf8" c:type="gchar*"/>
526 <parameter name="value" transfer-ownership="none">
527 <doc xml:whitespace="preserve">the value</doc>
528 <type name="utf8" c:type="gchar*"/>
532 <method name="add_bandwidth"
533 c:identifier="gst_sdp_message_add_bandwidth">
534 <doc xml:whitespace="preserve">Add the specified bandwidth information to @msg.</doc>
535 <return-value transfer-ownership="none">
536 <doc xml:whitespace="preserve">a #GstSDPResult.</doc>
537 <type name="SDPResult" c:type="GstSDPResult"/>
540 <parameter name="bwtype" transfer-ownership="none">
541 <doc xml:whitespace="preserve">the bandwidth modifier type</doc>
542 <type name="utf8" c:type="gchar*"/>
544 <parameter name="bandwidth" transfer-ownership="none">
545 <doc xml:whitespace="preserve">the bandwidth in kilobits per second</doc>
546 <type name="guint" c:type="guint"/>
550 <method name="add_email" c:identifier="gst_sdp_message_add_email">
551 <doc xml:whitespace="preserve">Add @email to the list of emails in @msg.</doc>
552 <return-value transfer-ownership="none">
553 <doc xml:whitespace="preserve">a #GstSDPResult.</doc>
554 <type name="SDPResult" c:type="GstSDPResult"/>
557 <parameter name="email" transfer-ownership="none">
558 <doc xml:whitespace="preserve">an email</doc>
559 <type name="utf8" c:type="gchar*"/>
563 <method name="add_media" c:identifier="gst_sdp_message_add_media">
564 <doc xml:whitespace="preserve">Adds @media to the array of medias in @msg. This function takes ownership of
565 the contents of @media so that @media will have to be reinitialized with
566 gst_media_init() before it can be used again.</doc>
567 <return-value transfer-ownership="none">
568 <doc xml:whitespace="preserve">a #GstSDPResult.</doc>
569 <type name="SDPResult" c:type="GstSDPResult"/>
572 <parameter name="media" transfer-ownership="none">
573 <doc xml:whitespace="preserve">a #GstSDPMedia to add</doc>
574 <type name="SDPMedia" c:type="GstSDPMedia*"/>
578 <method name="add_phone" c:identifier="gst_sdp_message_add_phone">
579 <doc xml:whitespace="preserve">Add @phone to the list of phones in @msg.</doc>
580 <return-value transfer-ownership="none">
581 <doc xml:whitespace="preserve">a #GstSDPResult.</doc>
582 <type name="SDPResult" c:type="GstSDPResult"/>
585 <parameter name="phone" transfer-ownership="none">
586 <doc xml:whitespace="preserve">a phone</doc>
587 <type name="utf8" c:type="gchar*"/>
591 <method name="add_time" c:identifier="gst_sdp_message_add_time">
592 <doc xml:whitespace="preserve">Add time information @start and @stop to @msg.</doc>
593 <return-value transfer-ownership="none">
594 <doc xml:whitespace="preserve">a #GstSDPResult.</doc>
595 <type name="SDPResult" c:type="GstSDPResult"/>
598 <parameter name="start" transfer-ownership="none">
599 <doc xml:whitespace="preserve">the start time</doc>
600 <type name="utf8" c:type="gchar*"/>
602 <parameter name="stop" transfer-ownership="none">
603 <doc xml:whitespace="preserve">the stop time</doc>
604 <type name="utf8" c:type="gchar*"/>
606 <parameter name="repeat" transfer-ownership="none">
607 <doc xml:whitespace="preserve">the repeat times</doc>
608 <type name="utf8" c:type="gchar**"/>
612 <method name="add_zone" c:identifier="gst_sdp_message_add_zone">
613 <doc xml:whitespace="preserve">Add time zone information to @msg.</doc>
614 <return-value transfer-ownership="none">
615 <doc xml:whitespace="preserve">a #GstSDPResult.</doc>
616 <type name="SDPResult" c:type="GstSDPResult"/>
619 <parameter name="adj_time" transfer-ownership="none">
620 <doc xml:whitespace="preserve">the NTP time that a time zone adjustment happens</doc>
621 <type name="utf8" c:type="gchar*"/>
623 <parameter name="typed_time" transfer-ownership="none">
624 <doc xml:whitespace="preserve">the offset from the time when the session was first scheduled</doc>
625 <type name="utf8" c:type="gchar*"/>
629 <method name="as_text" c:identifier="gst_sdp_message_as_text">
630 <doc xml:whitespace="preserve">Convert the contents of @msg to a text string.</doc>
631 <return-value transfer-ownership="full">
632 <doc xml:whitespace="preserve">A dynamically allocated string representing the SDP description.</doc>
633 <type name="utf8" c:type="gchar*"/>
636 <method name="attributes_len"
637 c:identifier="gst_sdp_message_attributes_len">
638 <doc xml:whitespace="preserve">Get the number of attributes in @msg.</doc>
639 <return-value transfer-ownership="none">
640 <doc xml:whitespace="preserve">the number of attributes in @msg.</doc>
641 <type name="guint" c:type="guint"/>
644 <method name="bandwidths_len"
645 c:identifier="gst_sdp_message_bandwidths_len">
646 <doc xml:whitespace="preserve">Get the number of bandwidth information in @msg.</doc>
647 <return-value transfer-ownership="none">
648 <doc xml:whitespace="preserve">the number of bandwidth information in @msg.</doc>
649 <type name="guint" c:type="guint"/>
652 <method name="dump" c:identifier="gst_sdp_message_dump">
653 <doc xml:whitespace="preserve">Dump the parsed contents of @msg to stdout.</doc>
654 <return-value transfer-ownership="none">
655 <doc xml:whitespace="preserve">a #GstSDPResult.</doc>
656 <type name="SDPResult" c:type="GstSDPResult"/>
659 <method name="emails_len" c:identifier="gst_sdp_message_emails_len">
660 <doc xml:whitespace="preserve">Get the number of emails in @msg.</doc>
661 <return-value transfer-ownership="none">
662 <doc xml:whitespace="preserve">the number of emails in @msg.</doc>
663 <type name="guint" c:type="guint"/>
666 <method name="free" c:identifier="gst_sdp_message_free">
667 <doc xml:whitespace="preserve">Free all resources allocated by @msg. @msg should not be used anymore after
668 this function. This function should be used when @msg was dynamically
669 allocated with gst_sdp_message_new().</doc>
670 <return-value transfer-ownership="none">
671 <doc xml:whitespace="preserve">a #GstSDPResult.</doc>
672 <type name="SDPResult" c:type="GstSDPResult"/>
675 <method name="get_attribute"
676 c:identifier="gst_sdp_message_get_attribute">
677 <doc xml:whitespace="preserve">Get the attribute at position @idx in @msg.</doc>
678 <return-value transfer-ownership="none">
679 <doc xml:whitespace="preserve">the #GstSDPAttribute at position @idx.</doc>
680 <type name="SDPAttribute" c:type="GstSDPAttribute*"/>
683 <parameter name="idx" transfer-ownership="none">
684 <doc xml:whitespace="preserve">the index</doc>
685 <type name="guint" c:type="guint"/>
689 <method name="get_attribute_val"
690 c:identifier="gst_sdp_message_get_attribute_val">
691 <doc xml:whitespace="preserve">Get the first attribute with key @key in @msg.</doc>
692 <return-value transfer-ownership="none">
693 <doc xml:whitespace="preserve">the attribute value of the first attribute with @key.</doc>
694 <type name="utf8" c:type="gchar*"/>
697 <parameter name="key" transfer-ownership="none">
698 <doc xml:whitespace="preserve">the key</doc>
699 <type name="utf8" c:type="gchar*"/>
703 <method name="get_attribute_val_n"
704 c:identifier="gst_sdp_message_get_attribute_val_n">
705 <doc xml:whitespace="preserve">Get the @nth attribute with key @key in @msg.</doc>
706 <return-value transfer-ownership="none">
707 <doc xml:whitespace="preserve">the attribute value of the @nth attribute with @key.</doc>
708 <type name="utf8" c:type="gchar*"/>
711 <parameter name="key" transfer-ownership="none">
712 <doc xml:whitespace="preserve">the key</doc>
713 <type name="utf8" c:type="gchar*"/>
715 <parameter name="nth" transfer-ownership="none">
716 <doc xml:whitespace="preserve">the index</doc>
717 <type name="guint" c:type="guint"/>
721 <method name="get_bandwidth"
722 c:identifier="gst_sdp_message_get_bandwidth">
723 <doc xml:whitespace="preserve">Get the bandwidth at index @idx from @msg.</doc>
724 <return-value transfer-ownership="none">
725 <doc xml:whitespace="preserve">a #GstSDPBandwidth.</doc>
726 <type name="SDPBandwidth" c:type="GstSDPBandwidth*"/>
729 <parameter name="idx" transfer-ownership="none">
730 <doc xml:whitespace="preserve">the bandwidth index</doc>
731 <type name="guint" c:type="guint"/>
735 <method name="get_connection"
736 c:identifier="gst_sdp_message_get_connection">
737 <doc xml:whitespace="preserve">Get the connection of @msg.</doc>
738 <return-value transfer-ownership="none">
739 <doc xml:whitespace="preserve">a #GstSDPConnection. The result remains valid as long as @msg is valid.</doc>
740 <type name="SDPConnection" c:type="GstSDPConnection*"/>
743 <method name="get_email" c:identifier="gst_sdp_message_get_email">
744 <doc xml:whitespace="preserve">Get the email with number @idx from @msg.</doc>
745 <return-value transfer-ownership="none">
746 <doc xml:whitespace="preserve">the email at position @idx.</doc>
747 <type name="utf8" c:type="gchar*"/>
750 <parameter name="idx" transfer-ownership="none">
751 <doc xml:whitespace="preserve">an email index</doc>
752 <type name="guint" c:type="guint"/>
756 <method name="get_information"
757 c:identifier="gst_sdp_message_get_information">
758 <doc xml:whitespace="preserve">Get the information in @msg.</doc>
759 <return-value transfer-ownership="none">
760 <doc xml:whitespace="preserve">a #GstSDPResult.</doc>
761 <type name="utf8" c:type="gchar*"/>
764 <method name="get_key" c:identifier="gst_sdp_message_get_key">
765 <doc xml:whitespace="preserve">Get the encryption information from @msg.</doc>
766 <return-value transfer-ownership="none">
767 <doc xml:whitespace="preserve">a #GstSDPKey.</doc>
768 <type name="SDPKey" c:type="GstSDPKey*"/>
771 <method name="get_media" c:identifier="gst_sdp_message_get_media">
772 <doc xml:whitespace="preserve">Get the media description at index @idx in @msg.</doc>
773 <return-value transfer-ownership="none">
774 <doc xml:whitespace="preserve">a #GstSDPMedia.</doc>
775 <type name="SDPMedia" c:type="GstSDPMedia*"/>
778 <parameter name="idx" transfer-ownership="none">
779 <doc xml:whitespace="preserve">the index</doc>
780 <type name="guint" c:type="guint"/>
784 <method name="get_origin" c:identifier="gst_sdp_message_get_origin">
785 <doc xml:whitespace="preserve">Get the origin of @msg.</doc>
786 <return-value transfer-ownership="none">
787 <doc xml:whitespace="preserve">a #GstSDPOrigin. The result remains valid as long as @msg is valid.</doc>
788 <type name="SDPOrigin" c:type="GstSDPOrigin*"/>
791 <method name="get_phone" c:identifier="gst_sdp_message_get_phone">
792 <doc xml:whitespace="preserve">Get the phone with number @idx from @msg.</doc>
793 <return-value transfer-ownership="none">
794 <doc xml:whitespace="preserve">the phone at position @idx.</doc>
795 <type name="utf8" c:type="gchar*"/>
798 <parameter name="idx" transfer-ownership="none">
799 <doc xml:whitespace="preserve">a phone index</doc>
800 <type name="guint" c:type="guint"/>
804 <method name="get_session_name"
805 c:identifier="gst_sdp_message_get_session_name">
806 <doc xml:whitespace="preserve">Get the session name in @msg.</doc>
807 <return-value transfer-ownership="none">
808 <doc xml:whitespace="preserve">a #GstSDPResult.</doc>
809 <type name="utf8" c:type="gchar*"/>
812 <method name="get_time" c:identifier="gst_sdp_message_get_time">
813 <doc xml:whitespace="preserve">Get time information with index @idx from @msg.</doc>
814 <return-value transfer-ownership="none">
815 <doc xml:whitespace="preserve">a #GstSDPTime.</doc>
816 <type name="SDPTime" c:type="GstSDPTime*"/>
819 <parameter name="idx" transfer-ownership="none">
820 <doc xml:whitespace="preserve">the time index</doc>
821 <type name="guint" c:type="guint"/>
825 <method name="get_uri" c:identifier="gst_sdp_message_get_uri">
826 <doc xml:whitespace="preserve">Get the URI in @msg.</doc>
827 <return-value transfer-ownership="none">
828 <doc xml:whitespace="preserve">a #GstSDPResult.</doc>
829 <type name="utf8" c:type="gchar*"/>
832 <method name="get_version" c:identifier="gst_sdp_message_get_version">
833 <doc xml:whitespace="preserve">Get the version in @msg.</doc>
834 <return-value transfer-ownership="none">
835 <doc xml:whitespace="preserve">a #GstSDPResult.</doc>
836 <type name="utf8" c:type="gchar*"/>
839 <method name="get_zone" c:identifier="gst_sdp_message_get_zone">
840 <doc xml:whitespace="preserve">Get time zone information with index @idx from @msg.</doc>
841 <return-value transfer-ownership="none">
842 <doc xml:whitespace="preserve">a #GstSDPZone.</doc>
843 <type name="SDPZone" c:type="GstSDPZone*"/>
846 <parameter name="idx" transfer-ownership="none">
847 <doc xml:whitespace="preserve">the zone index</doc>
848 <type name="guint" c:type="guint"/>
852 <method name="init" c:identifier="gst_sdp_message_init">
853 <doc xml:whitespace="preserve">Initialize @msg so that its contents are as if it was freshly allocated
854 with gst_sdp_message_new(). This function is mostly used to initialize a message
855 allocated on the stack. gst_sdp_message_uninit() undoes this operation.
856 When this function is invoked on newly allocated data (with malloc or on the
857 stack), its contents should be set to 0 before calling this function.</doc>
858 <return-value transfer-ownership="none">
859 <doc xml:whitespace="preserve">a #GstSDPResult.</doc>
860 <type name="SDPResult" c:type="GstSDPResult"/>
863 <method name="medias_len" c:identifier="gst_sdp_message_medias_len">
864 <doc xml:whitespace="preserve">Get the number of media descriptions in @msg.</doc>
865 <return-value transfer-ownership="none">
866 <doc xml:whitespace="preserve">the number of media descriptions in @msg.</doc>
867 <type name="guint" c:type="guint"/>
870 <method name="phones_len" c:identifier="gst_sdp_message_phones_len">
871 <doc xml:whitespace="preserve">Get the number of phones in @msg.</doc>
872 <return-value transfer-ownership="none">
873 <doc xml:whitespace="preserve">the number of phones in @msg.</doc>
874 <type name="guint" c:type="guint"/>
877 <method name="set_connection"
878 c:identifier="gst_sdp_message_set_connection">
879 <doc xml:whitespace="preserve">Configure the SDP connection in @msg with the given parameters.</doc>
880 <return-value transfer-ownership="none">
881 <doc xml:whitespace="preserve">a #GstSDPResult.</doc>
882 <type name="SDPResult" c:type="GstSDPResult"/>
885 <parameter name="nettype" transfer-ownership="none">
886 <doc xml:whitespace="preserve">the type of network. "IN" is defined to have the meaning "Internet".</doc>
887 <type name="utf8" c:type="gchar*"/>
889 <parameter name="addrtype" transfer-ownership="none">
890 <doc xml:whitespace="preserve">the type of address.</doc>
891 <type name="utf8" c:type="gchar*"/>
893 <parameter name="address" transfer-ownership="none">
894 <doc xml:whitespace="preserve">the address</doc>
895 <type name="utf8" c:type="gchar*"/>
897 <parameter name="ttl" transfer-ownership="none">
898 <doc xml:whitespace="preserve">the time to live of the address</doc>
899 <type name="guint" c:type="guint"/>
901 <parameter name="addr_number" transfer-ownership="none">
902 <doc xml:whitespace="preserve">the number of layers</doc>
903 <type name="guint" c:type="guint"/>
907 <method name="set_information"
908 c:identifier="gst_sdp_message_set_information">
909 <doc xml:whitespace="preserve">Set the information in @msg.</doc>
910 <return-value transfer-ownership="none">
911 <doc xml:whitespace="preserve">a #GstSDPResult.</doc>
912 <type name="SDPResult" c:type="GstSDPResult"/>
915 <parameter name="information" transfer-ownership="none">
916 <doc xml:whitespace="preserve">the information</doc>
917 <type name="utf8" c:type="gchar*"/>
921 <method name="set_key" c:identifier="gst_sdp_message_set_key">
922 <doc xml:whitespace="preserve">Adds the encryption information to @msg.</doc>
923 <return-value transfer-ownership="none">
924 <doc xml:whitespace="preserve">a #GstSDPResult.</doc>
925 <type name="SDPResult" c:type="GstSDPResult"/>
928 <parameter name="type" transfer-ownership="none">
929 <doc xml:whitespace="preserve">the encryption type</doc>
930 <type name="utf8" c:type="gchar*"/>
932 <parameter name="data" transfer-ownership="none">
933 <doc xml:whitespace="preserve">the encryption data</doc>
934 <type name="utf8" c:type="gchar*"/>
938 <method name="set_origin" c:identifier="gst_sdp_message_set_origin">
939 <doc xml:whitespace="preserve">Configure the SDP origin in @msg with the given parameters.</doc>
940 <return-value transfer-ownership="none">
941 <doc xml:whitespace="preserve">#GST_SDP_OK.</doc>
942 <type name="SDPResult" c:type="GstSDPResult"/>
945 <parameter name="username" transfer-ownership="none">
946 <doc xml:whitespace="preserve">the user name</doc>
947 <type name="utf8" c:type="gchar*"/>
949 <parameter name="sess_id" transfer-ownership="none">
950 <doc xml:whitespace="preserve">a session id</doc>
951 <type name="utf8" c:type="gchar*"/>
953 <parameter name="sess_version" transfer-ownership="none">
954 <doc xml:whitespace="preserve">a session version</doc>
955 <type name="utf8" c:type="gchar*"/>
957 <parameter name="nettype" transfer-ownership="none">
958 <doc xml:whitespace="preserve">a network type</doc>
959 <type name="utf8" c:type="gchar*"/>
961 <parameter name="addrtype" transfer-ownership="none">
962 <doc xml:whitespace="preserve">an address type</doc>
963 <type name="utf8" c:type="gchar*"/>
965 <parameter name="addr" transfer-ownership="none">
966 <doc xml:whitespace="preserve">an address</doc>
967 <type name="utf8" c:type="gchar*"/>
971 <method name="set_session_name"
972 c:identifier="gst_sdp_message_set_session_name">
973 <doc xml:whitespace="preserve">Set the session name in @msg.</doc>
974 <return-value transfer-ownership="none">
975 <doc xml:whitespace="preserve">a #GstSDPResult.</doc>
976 <type name="SDPResult" c:type="GstSDPResult"/>
979 <parameter name="session_name" transfer-ownership="none">
980 <doc xml:whitespace="preserve">the session name</doc>
981 <type name="utf8" c:type="gchar*"/>
985 <method name="set_uri" c:identifier="gst_sdp_message_set_uri">
986 <doc xml:whitespace="preserve">Set the URI in @msg.</doc>
987 <return-value transfer-ownership="none">
988 <doc xml:whitespace="preserve">a #GstSDPResult.</doc>
989 <type name="SDPResult" c:type="GstSDPResult"/>
992 <parameter name="uri" transfer-ownership="none">
993 <doc xml:whitespace="preserve">the URI</doc>
994 <type name="utf8" c:type="gchar*"/>
998 <method name="set_version" c:identifier="gst_sdp_message_set_version">
999 <doc xml:whitespace="preserve">Set the version in @msg.</doc>
1000 <return-value transfer-ownership="none">
1001 <doc xml:whitespace="preserve">a #GstSDPResult.</doc>
1002 <type name="SDPResult" c:type="GstSDPResult"/>
1005 <parameter name="version" transfer-ownership="none">
1006 <doc xml:whitespace="preserve">the version</doc>
1007 <type name="utf8" c:type="gchar*"/>
1011 <method name="times_len" c:identifier="gst_sdp_message_times_len">
1012 <doc xml:whitespace="preserve">Get the number of time information entries in @msg.</doc>
1013 <return-value transfer-ownership="none">
1014 <doc xml:whitespace="preserve">the number of time information entries in @msg.</doc>
1015 <type name="guint" c:type="guint"/>
1018 <method name="uninit" c:identifier="gst_sdp_message_uninit">
1019 <doc xml:whitespace="preserve">Free all resources allocated in @msg. @msg should not be used anymore after
1020 this function. This function should be used when @msg was allocated on the
1021 stack and initialized with gst_sdp_message_init().</doc>
1022 <return-value transfer-ownership="none">
1023 <doc xml:whitespace="preserve">a #GstSDPResult.</doc>
1024 <type name="SDPResult" c:type="GstSDPResult"/>
1027 <method name="zones_len" c:identifier="gst_sdp_message_zones_len">
1028 <doc xml:whitespace="preserve">Get the number of time zone information entries in @msg.</doc>
1029 <return-value transfer-ownership="none">
1030 <doc xml:whitespace="preserve">the number of time zone information entries in @msg.</doc>
1031 <type name="guint" c:type="guint"/>
1035 <record name="SDPOrigin" c:type="GstSDPOrigin">
1036 <doc xml:whitespace="preserve">The contents of the SDP "o=" field which gives the originator of the session
1037 (their username and the address of the user's host) plus a session id and
1038 session version number.</doc>
1039 <field name="username" writable="1">
1040 <type name="utf8" c:type="gchar*"/>
1042 <field name="sess_id" writable="1">
1043 <type name="utf8" c:type="gchar*"/>
1045 <field name="sess_version" writable="1">
1046 <type name="utf8" c:type="gchar*"/>
1048 <field name="nettype" writable="1">
1049 <type name="utf8" c:type="gchar*"/>
1051 <field name="addrtype" writable="1">
1052 <type name="utf8" c:type="gchar*"/>
1054 <field name="addr" writable="1">
1055 <type name="utf8" c:type="gchar*"/>
1058 <enumeration name="SDPResult" c:type="GstSDPResult">
1059 <doc xml:whitespace="preserve">Return values for the SDP functions.</doc>
1060 <member name="ok" value="0" c:identifier="GST_SDP_OK"/>
1061 <member name="einval" value="-1" c:identifier="GST_SDP_EINVAL"/>
1063 <record name="SDPTime" c:type="GstSDPTime">
1064 <doc xml:whitespace="preserve">The contents of the SDP "t=" field which specify the start and stop times for
1065 a conference session.</doc>
1066 <field name="start" writable="1">
1067 <type name="utf8" c:type="gchar*"/>
1069 <field name="stop" writable="1">
1070 <type name="utf8" c:type="gchar*"/>
1072 <field name="repeat" writable="1">
1073 <array name="GLib.Array" c:type="GArray*">
1074 <type name="gpointer" c:type="gpointer"/>
1078 <record name="SDPZone" c:type="GstSDPZone">
1079 <doc xml:whitespace="preserve">The contents of the SDP "z=" field which allows the sender to
1080 specify a list of time zone adjustments and offsets from the base
1082 <field name="time" writable="1">
1083 <type name="utf8" c:type="gchar*"/>
1085 <field name="typed_time" writable="1">
1086 <type name="utf8" c:type="gchar*"/>
1089 <constant name="SDP_BWTYPE_AS" value="AS">
1090 <type name="utf8" c:type="gchar*"/>
1092 <constant name="SDP_BWTYPE_CT" value="CT">
1093 <type name="utf8" c:type="gchar*"/>
1095 <constant name="SDP_BWTYPE_EXT_PREFIX" value="X-">
1096 <type name="utf8" c:type="gchar*"/>
1098 <constant name="SDP_BWTYPE_RR" value="RR">
1099 <type name="utf8" c:type="gchar*"/>
1101 <constant name="SDP_BWTYPE_RS" value="RS">
1102 <type name="utf8" c:type="gchar*"/>
1104 <function name="sdp_address_is_multicast"
1105 c:identifier="gst_sdp_address_is_multicast"
1107 <doc xml:whitespace="preserve">Check if the given @addr is a multicast address.</doc>
1108 <return-value transfer-ownership="none">
1109 <doc xml:whitespace="preserve">TRUE when @addr is multicast.</doc>
1110 <type name="gboolean" c:type="gboolean"/>
1113 <parameter name="nettype" transfer-ownership="none">
1114 <doc xml:whitespace="preserve">a network type</doc>
1115 <type name="utf8" c:type="gchar*"/>
1117 <parameter name="addrtype" transfer-ownership="none">
1118 <doc xml:whitespace="preserve">an address type</doc>
1119 <type name="utf8" c:type="gchar*"/>
1121 <parameter name="addr" transfer-ownership="none">
1122 <doc xml:whitespace="preserve">an address</doc>
1123 <type name="utf8" c:type="gchar*"/>
1127 <function name="sdp_media_new" c:identifier="gst_sdp_media_new">
1128 <doc xml:whitespace="preserve">Allocate a new GstSDPMedia and store the result in @media.</doc>
1129 <return-value transfer-ownership="none">
1130 <doc xml:whitespace="preserve">a #GstSDPResult.</doc>
1131 <type name="SDPResult" c:type="GstSDPResult"/>
1134 <parameter name="media" transfer-ownership="none">
1135 <doc xml:whitespace="preserve">pointer to new #GstSDPMedia</doc>
1136 <type name="SDPMedia" c:type="GstSDPMedia**"/>
1140 <function name="sdp_message_as_uri"
1141 c:identifier="gst_sdp_message_as_uri"
1143 <doc xml:whitespace="preserve">Creates a uri from @msg with the given @scheme. The uri has the format:
1144 Where each value is url encoded.</doc>
1145 <return-value transfer-ownership="full">
1146 <doc xml:whitespace="preserve">a uri for @msg.</doc>
1147 <type name="utf8" c:type="gchar*"/>
1150 <parameter name="scheme" transfer-ownership="none">
1151 <doc xml:whitespace="preserve">the uri scheme</doc>
1152 <type name="utf8" c:type="gchar*"/>
1154 <parameter name="msg" transfer-ownership="none">
1155 <doc xml:whitespace="preserve">the #GstSDPMessage</doc>
1156 <type name="SDPMessage" c:type="GstSDPMessage*"/>
1160 <function name="sdp_message_new" c:identifier="gst_sdp_message_new">
1161 <doc xml:whitespace="preserve">Allocate a new GstSDPMessage and store the result in @msg.</doc>
1162 <return-value transfer-ownership="none">
1163 <doc xml:whitespace="preserve">a #GstSDPResult.</doc>
1164 <type name="SDPResult" c:type="GstSDPResult"/>
1167 <parameter name="msg" transfer-ownership="none">
1168 <doc xml:whitespace="preserve">pointer to new #GstSDPMessage</doc>
1169 <type name="SDPMessage" c:type="GstSDPMessage**"/>
1173 <function name="sdp_message_parse_buffer"
1174 c:identifier="gst_sdp_message_parse_buffer">
1175 <doc xml:whitespace="preserve">Parse the contents of @size bytes pointed to by @data and store the result in</doc>
1176 <return-value transfer-ownership="none">
1177 <doc xml:whitespace="preserve">#GST_SDP_OK on success.</doc>
1178 <type name="SDPResult" c:type="GstSDPResult"/>
1181 <parameter name="data" transfer-ownership="none">
1182 <doc xml:whitespace="preserve">the start of the buffer</doc>
1183 <type name="guint8" c:type="guint8*"/>
1185 <parameter name="size" transfer-ownership="none">
1186 <doc xml:whitespace="preserve">the size of the buffer</doc>
1187 <type name="guint" c:type="guint"/>
1189 <parameter name="msg" transfer-ownership="none">
1190 <doc xml:whitespace="preserve">the result #GstSDPMessage</doc>
1191 <type name="SDPMessage" c:type="GstSDPMessage*"/>
1195 <function name="sdp_message_parse_uri"
1196 c:identifier="gst_sdp_message_parse_uri"
1198 <doc xml:whitespace="preserve">Parse the null-terminated @uri and store the result in @msg.
1199 The uri should be of the form:
1200 scheme://[address[:ttl=ttl][:noa=noa]]/[sessionname]
1201 [#type=value *[&type=value]]
1202 where value is url encoded. This looslely resembles
1203 http://tools.ietf.org/html/draft-fujikawa-sdp-url-01</doc>
1204 <return-value transfer-ownership="none">
1205 <doc xml:whitespace="preserve">#GST_SDP_OK on success.</doc>
1206 <type name="SDPResult" c:type="GstSDPResult"/>
1209 <parameter name="uri" transfer-ownership="none">
1210 <doc xml:whitespace="preserve">the start of the uri</doc>
1211 <type name="utf8" c:type="gchar*"/>
1213 <parameter name="msg" transfer-ownership="none">
1214 <doc xml:whitespace="preserve">the result #GstSDPMessage</doc>
1215 <type name="SDPMessage" c:type="GstSDPMessage*"/>