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="GstSdp" version="0.10"/>
14 <include name="libxml2" version="2.0"/>
15 <package name="gstreamer-rtsp-0.10"/>
16 <c:include name="gst/audio/gstrtsp-enumtypes.h"/>
17 <c:include name="gst/audio/gstrtspbase64.h"/>
18 <c:include name="gst/audio/gstrtspconnection.h"/>
19 <c:include name="gst/audio/gstrtspdefs.h"/>
20 <c:include name="gst/audio/gstrtspextension.h"/>
21 <c:include name="gst/audio/gstrtspmessage.h"/>
22 <c:include name="gst/audio/gstrtsprange.h"/>
23 <c:include name="gst/audio/gstrtsptransport.h"/>
24 <c:include name="gst/audio/gstrtspurl.h"/>
25 <namespace name="GstRtsp"
27 shared-library="libgstrtsp-0.10.so.0"
28 c:identifier-prefixes="Gst"
29 c:symbol-prefixes="gst">
30 <enumeration name="RTSPAuthMethod"
31 glib:type-name="GstRTSPAuthMethod"
32 glib:get-type="gst_rtsp_auth_method_get_type"
33 c:type="GstRTSPAuthMethod">
34 <doc xml:whitespace="preserve">Authentication methods, ordered by strength</doc>
37 c:identifier="GST_RTSP_AUTH_NONE"
41 c:identifier="GST_RTSP_AUTH_BASIC"
45 c:identifier="GST_RTSP_AUTH_DIGEST"
48 <record name="RTSPConnection" c:type="GstRTSPConnection" disguised="1">
49 <doc xml:whitespace="preserve">Opaque RTSP connection object.</doc>
50 <method name="clear_auth_params"
51 c:identifier="gst_rtsp_connection_clear_auth_params"
53 <doc xml:whitespace="preserve">Clear the list of authentication directives stored in @conn.</doc>
54 <return-value transfer-ownership="none">
55 <type name="none" c:type="void"/>
58 <method name="close" c:identifier="gst_rtsp_connection_close">
59 <doc xml:whitespace="preserve">Close the connected @conn. After this call, the connection is in the same
60 state as when it was first created.</doc>
61 <return-value transfer-ownership="none">
62 <doc xml:whitespace="preserve">#GST_RTSP_OK on success.</doc>
63 <type name="RTSPResult" c:type="GstRTSPResult"/>
66 <method name="connect" c:identifier="gst_rtsp_connection_connect">
67 <doc xml:whitespace="preserve">Attempt to connect to the url of @conn made with
68 gst_rtsp_connection_create(). If @timeout is #NULL this function can block
69 forever. If @timeout contains a valid timeout, this function will return
70 #GST_RTSP_ETIMEOUT after the timeout expired.
71 This function can be cancelled with gst_rtsp_connection_flush().</doc>
72 <return-value transfer-ownership="none">
73 <doc xml:whitespace="preserve">#GST_RTSP_OK when a connection could be made.</doc>
74 <type name="RTSPResult" c:type="GstRTSPResult"/>
77 <parameter name="timeout" transfer-ownership="none">
78 <doc xml:whitespace="preserve">a #GTimeVal timeout</doc>
79 <type name="GLib.TimeVal" c:type="GTimeVal*"/>
83 <method name="do_tunnel"
84 c:identifier="gst_rtsp_connection_do_tunnel"
86 <doc xml:whitespace="preserve">If @conn received the first tunnel connection and @conn2 received
87 the second tunnel connection, link the two connections together so that
88 After this call, @conn2 cannot be used anymore and must be freed with
89 gst_rtsp_connection_free().
90 If @conn2 is %NULL then only the base64 decoding context will be setup for</doc>
91 <return-value transfer-ownership="none">
92 <doc xml:whitespace="preserve">return GST_RTSP_OK on success.</doc>
93 <type name="RTSPResult" c:type="GstRTSPResult"/>
96 <parameter name="conn2" transfer-ownership="none">
97 <doc xml:whitespace="preserve">a #GstRTSPConnection or %NULL</doc>
98 <type name="RTSPConnection" c:type="GstRTSPConnection*"/>
102 <method name="flush" c:identifier="gst_rtsp_connection_flush">
103 <doc xml:whitespace="preserve">Start or stop the flushing action on @conn. When flushing, all current
104 and future actions on @conn will return #GST_RTSP_EINTR until the connection
105 is set to non-flushing mode again.</doc>
106 <return-value transfer-ownership="none">
107 <doc xml:whitespace="preserve">#GST_RTSP_OK.</doc>
108 <type name="RTSPResult" c:type="GstRTSPResult"/>
111 <parameter name="flush" transfer-ownership="none">
112 <doc xml:whitespace="preserve">start or stop the flush</doc>
113 <type name="gboolean" c:type="gboolean"/>
117 <method name="free" c:identifier="gst_rtsp_connection_free">
118 <doc xml:whitespace="preserve">Close and free @conn.</doc>
119 <return-value transfer-ownership="none">
120 <doc xml:whitespace="preserve">#GST_RTSP_OK on success.</doc>
121 <type name="RTSPResult" c:type="GstRTSPResult"/>
124 <method name="get_ip"
125 c:identifier="gst_rtsp_connection_get_ip"
127 <doc xml:whitespace="preserve">Retrieve the IP address of the other end of @conn.
128 connection is closed.</doc>
129 <return-value transfer-ownership="none">
130 <doc xml:whitespace="preserve">The IP address as a string. this value remains valid until the</doc>
131 <type name="utf8" c:type="gchar*"/>
134 <method name="get_readfd"
135 c:identifier="gst_rtsp_connection_get_readfd"
137 <doc xml:whitespace="preserve">Get the file descriptor for reading.
138 descriptor remains valid until the connection is closed.</doc>
139 <return-value transfer-ownership="none">
140 <doc xml:whitespace="preserve">the file descriptor used for reading or -1 on error. The file</doc>
141 <type name="gint" c:type="gint"/>
144 <method name="get_tunnelid"
145 c:identifier="gst_rtsp_connection_get_tunnelid"
147 <doc xml:whitespace="preserve">Get the tunnel session id the connection.</doc>
148 <return-value transfer-ownership="none">
149 <doc xml:whitespace="preserve">returns a non-empty string if @conn is being tunneled over HTTP.</doc>
150 <type name="utf8" c:type="gchar*"/>
153 <method name="get_url"
154 c:identifier="gst_rtsp_connection_get_url"
156 <doc xml:whitespace="preserve">Retrieve the URL of the other end of @conn.
157 connection is freed.</doc>
158 <return-value transfer-ownership="full">
159 <doc xml:whitespace="preserve">The URL. This value remains valid until the</doc>
160 <type name="RTSPUrl" c:type="GstRTSPUrl*"/>
163 <method name="get_writefd"
164 c:identifier="gst_rtsp_connection_get_writefd"
166 <doc xml:whitespace="preserve">Get the file descriptor for writing.
167 descriptor remains valid until the connection is closed.</doc>
168 <return-value transfer-ownership="none">
169 <doc xml:whitespace="preserve">the file descriptor used for writing or -1 on error. The file</doc>
170 <type name="gint" c:type="gint"/>
173 <method name="is_tunneled"
174 c:identifier="gst_rtsp_connection_is_tunneled"
176 <doc xml:whitespace="preserve">Get the tunneling state of the connection.</doc>
177 <return-value transfer-ownership="none">
178 <doc xml:whitespace="preserve">if @conn is using HTTP tunneling.</doc>
179 <type name="gboolean" c:type="gboolean"/>
182 <method name="next_timeout"
183 c:identifier="gst_rtsp_connection_next_timeout">
184 <doc xml:whitespace="preserve">Calculate the next timeout for @conn, storing the result in @timeout.</doc>
185 <return-value transfer-ownership="none">
186 <doc xml:whitespace="preserve">#GST_RTSP_OK.</doc>
187 <type name="RTSPResult" c:type="GstRTSPResult"/>
190 <parameter name="timeout" transfer-ownership="none">
191 <doc xml:whitespace="preserve">a timeout</doc>
192 <type name="GLib.TimeVal" c:type="GTimeVal*"/>
197 c:identifier="gst_rtsp_connection_poll"
199 <doc xml:whitespace="preserve">Wait up to the specified @timeout for the connection to become available for
200 at least one of the operations specified in @events. When the function returns
201 with #GST_RTSP_OK, @revents will contain a bitmask of available operations on
202 This function can be cancelled with gst_rtsp_connection_flush().</doc>
203 <return-value transfer-ownership="none">
204 <doc xml:whitespace="preserve">#GST_RTSP_OK on success.</doc>
205 <type name="RTSPResult" c:type="GstRTSPResult"/>
208 <parameter name="events" transfer-ownership="none">
209 <doc xml:whitespace="preserve">a bitmask of #GstRTSPEvent flags to check</doc>
210 <type name="RTSPEvent" c:type="GstRTSPEvent"/>
212 <parameter name="revents" transfer-ownership="none">
213 <doc xml:whitespace="preserve">location for result flags</doc>
214 <type name="RTSPEvent" c:type="GstRTSPEvent*"/>
216 <parameter name="timeout" transfer-ownership="none">
217 <doc xml:whitespace="preserve">a timeout</doc>
218 <type name="GLib.TimeVal" c:type="GTimeVal*"/>
222 <method name="read" c:identifier="gst_rtsp_connection_read">
223 <doc xml:whitespace="preserve">Attempt to read @size bytes into @data from the connected @conn, blocking up to
224 the specified @timeout. @timeout can be #NULL, in which case this function
226 This function can be cancelled with gst_rtsp_connection_flush().</doc>
227 <return-value transfer-ownership="none">
228 <doc xml:whitespace="preserve">#GST_RTSP_OK on success.</doc>
229 <type name="RTSPResult" c:type="GstRTSPResult"/>
232 <parameter name="data" transfer-ownership="none">
233 <doc xml:whitespace="preserve">the data to read</doc>
234 <type name="guint8" c:type="guint8*"/>
236 <parameter name="size" transfer-ownership="none">
237 <doc xml:whitespace="preserve">the size of @data</doc>
238 <type name="guint" c:type="guint"/>
240 <parameter name="timeout" transfer-ownership="none">
241 <doc xml:whitespace="preserve">a timeout value or #NULL</doc>
242 <type name="GLib.TimeVal" c:type="GTimeVal*"/>
246 <method name="receive" c:identifier="gst_rtsp_connection_receive">
247 <doc xml:whitespace="preserve">Attempt to read into @message from the connected @conn, blocking up to
248 the specified @timeout. @timeout can be #NULL, in which case this function
250 This function can be cancelled with gst_rtsp_connection_flush().</doc>
251 <return-value transfer-ownership="none">
252 <doc xml:whitespace="preserve">#GST_RTSP_OK on success.</doc>
253 <type name="RTSPResult" c:type="GstRTSPResult"/>
256 <parameter name="message" transfer-ownership="none">
257 <doc xml:whitespace="preserve">the message to read</doc>
258 <type name="RTSPMessage" c:type="GstRTSPMessage*"/>
260 <parameter name="timeout" transfer-ownership="none">
261 <doc xml:whitespace="preserve">a timeout value or #NULL</doc>
262 <type name="GLib.TimeVal" c:type="GTimeVal*"/>
266 <method name="reset_timeout"
267 c:identifier="gst_rtsp_connection_reset_timeout">
268 <doc xml:whitespace="preserve">Reset the timeout of @conn.</doc>
269 <return-value transfer-ownership="none">
270 <doc xml:whitespace="preserve">#GST_RTSP_OK.</doc>
271 <type name="RTSPResult" c:type="GstRTSPResult"/>
274 <method name="send" c:identifier="gst_rtsp_connection_send">
275 <doc xml:whitespace="preserve">Attempt to send @message to the connected @conn, blocking up to
276 the specified @timeout. @timeout can be #NULL, in which case this function
278 This function can be cancelled with gst_rtsp_connection_flush().</doc>
279 <return-value transfer-ownership="none">
280 <doc xml:whitespace="preserve">#GST_RTSP_OK on success.</doc>
281 <type name="RTSPResult" c:type="GstRTSPResult"/>
284 <parameter name="message" transfer-ownership="none">
285 <doc xml:whitespace="preserve">the message to send</doc>
286 <type name="RTSPMessage" c:type="GstRTSPMessage*"/>
288 <parameter name="timeout" transfer-ownership="none">
289 <doc xml:whitespace="preserve">a timeout value or #NULL</doc>
290 <type name="GLib.TimeVal" c:type="GTimeVal*"/>
294 <method name="set_auth" c:identifier="gst_rtsp_connection_set_auth">
295 <doc xml:whitespace="preserve">Configure @conn for authentication mode @method with @user and @pass as the
296 user and password respectively.</doc>
297 <return-value transfer-ownership="none">
298 <doc xml:whitespace="preserve">#GST_RTSP_OK.</doc>
299 <type name="RTSPResult" c:type="GstRTSPResult"/>
302 <parameter name="method" transfer-ownership="none">
303 <doc xml:whitespace="preserve">authentication method</doc>
304 <type name="RTSPAuthMethod" c:type="GstRTSPAuthMethod"/>
306 <parameter name="user" transfer-ownership="none">
307 <doc xml:whitespace="preserve">the user</doc>
308 <type name="utf8" c:type="gchar*"/>
310 <parameter name="pass" transfer-ownership="none">
311 <doc xml:whitespace="preserve">the password</doc>
312 <type name="utf8" c:type="gchar*"/>
316 <method name="set_auth_param"
317 c:identifier="gst_rtsp_connection_set_auth_param"
319 <doc xml:whitespace="preserve">Setup @conn with authentication directives. This is not necesary for
320 methods #GST_RTSP_AUTH_NONE and #GST_RTSP_AUTH_BASIC. For
321 #GST_RTSP_AUTH_DIGEST, directives should be taken from the digest challenge
322 in the WWW-Authenticate response header and can include realm, domain,
323 nonce, opaque, stale, algorithm, qop as per RFC2617.</doc>
324 <return-value transfer-ownership="none">
325 <type name="none" c:type="void"/>
328 <parameter name="param" transfer-ownership="none">
329 <doc xml:whitespace="preserve">authentication directive</doc>
330 <type name="utf8" c:type="gchar*"/>
332 <parameter name="value" transfer-ownership="none">
333 <doc xml:whitespace="preserve">value</doc>
334 <type name="utf8" c:type="gchar*"/>
338 <method name="set_http_mode"
339 c:identifier="gst_rtsp_connection_set_http_mode"
341 <doc xml:whitespace="preserve">By setting the HTTP mode to %TRUE the message parsing will support HTTP
342 messages in addition to the RTSP messages. It will also disable the
343 automatic handling of setting up an HTTP tunnel.</doc>
344 <return-value transfer-ownership="none">
345 <type name="none" c:type="void"/>
348 <parameter name="enable" transfer-ownership="none">
349 <doc xml:whitespace="preserve">%TRUE to enable manual HTTP mode</doc>
350 <type name="gboolean" c:type="gboolean"/>
354 <method name="set_ip"
355 c:identifier="gst_rtsp_connection_set_ip"
357 <doc xml:whitespace="preserve">Set the IP address of the server.</doc>
358 <return-value transfer-ownership="none">
359 <type name="none" c:type="void"/>
362 <parameter name="ip" transfer-ownership="none">
363 <doc xml:whitespace="preserve">an ip address</doc>
364 <type name="utf8" c:type="gchar*"/>
368 <method name="set_proxy"
369 c:identifier="gst_rtsp_connection_set_proxy"
371 <doc xml:whitespace="preserve">Set the proxy host and port.</doc>
372 <return-value transfer-ownership="none">
373 <doc xml:whitespace="preserve">#GST_RTSP_OK.</doc>
374 <type name="RTSPResult" c:type="GstRTSPResult"/>
377 <parameter name="host" transfer-ownership="none">
378 <doc xml:whitespace="preserve">the proxy host</doc>
379 <type name="utf8" c:type="gchar*"/>
381 <parameter name="port" transfer-ownership="none">
382 <doc xml:whitespace="preserve">the proxy port</doc>
383 <type name="guint" c:type="guint"/>
387 <method name="set_qos_dscp"
388 c:identifier="gst_rtsp_connection_set_qos_dscp"
390 <doc xml:whitespace="preserve">Configure @conn to use the specified DSCP value.</doc>
391 <return-value transfer-ownership="none">
392 <doc xml:whitespace="preserve">#GST_RTSP_OK on success.</doc>
393 <type name="RTSPResult" c:type="GstRTSPResult"/>
396 <parameter name="qos_dscp" transfer-ownership="none">
397 <doc xml:whitespace="preserve">DSCP value</doc>
398 <type name="guint" c:type="guint"/>
402 <method name="set_tunneled"
403 c:identifier="gst_rtsp_connection_set_tunneled"
405 <doc xml:whitespace="preserve">Set the HTTP tunneling state of the connection. This must be configured before
406 the @conn is connected.</doc>
407 <return-value transfer-ownership="none">
408 <type name="none" c:type="void"/>
411 <parameter name="tunneled" transfer-ownership="none">
412 <doc xml:whitespace="preserve">the new state</doc>
413 <type name="gboolean" c:type="gboolean"/>
417 <method name="write" c:identifier="gst_rtsp_connection_write">
418 <doc xml:whitespace="preserve">Attempt to write @size bytes of @data to the connected @conn, blocking up to
419 the specified @timeout. @timeout can be #NULL, in which case this function
421 This function can be cancelled with gst_rtsp_connection_flush().</doc>
422 <return-value transfer-ownership="none">
423 <doc xml:whitespace="preserve">#GST_RTSP_OK on success.</doc>
424 <type name="RTSPResult" c:type="GstRTSPResult"/>
427 <parameter name="data" transfer-ownership="none">
428 <doc xml:whitespace="preserve">the data to write</doc>
429 <type name="guint8" c:type="guint8*"/>
431 <parameter name="size" transfer-ownership="none">
432 <doc xml:whitespace="preserve">the size of @data</doc>
433 <type name="guint" c:type="guint"/>
435 <parameter name="timeout" transfer-ownership="none">
436 <doc xml:whitespace="preserve">a timeout value or #NULL</doc>
437 <type name="GLib.TimeVal" c:type="GTimeVal*"/>
442 <bitfield name="RTSPEvent"
443 glib:type-name="GstRTSPEvent"
444 glib:get-type="gst_rtsp_event_get_type"
445 c:type="GstRTSPEvent">
446 <doc xml:whitespace="preserve">The possible events for the connection.</doc>
449 c:identifier="GST_RTSP_EV_READ"
453 c:identifier="GST_RTSP_EV_WRITE"
456 <interface name="RTSPExtension"
457 c:symbol-prefix="rtsp_extension"
458 c:type="GstRTSPExtension"
459 glib:type-name="GstRTSPExtension"
460 glib:get-type="gst_rtsp_extension_get_type"
461 glib:type-struct="RTSPExtensionInterface">
462 <virtual-method name="after_send" invoker="after_send">
463 <return-value transfer-ownership="none">
464 <type name="RTSPResult" c:type="GstRTSPResult"/>
467 <parameter name="req" transfer-ownership="none">
468 <type name="RTSPMessage" c:type="GstRTSPMessage*"/>
470 <parameter name="resp" transfer-ownership="none">
471 <type name="RTSPMessage" c:type="GstRTSPMessage*"/>
475 <virtual-method name="before_send" invoker="before_send">
476 <return-value transfer-ownership="none">
477 <type name="RTSPResult" c:type="GstRTSPResult"/>
480 <parameter name="req" transfer-ownership="none">
481 <type name="RTSPMessage" c:type="GstRTSPMessage*"/>
485 <virtual-method name="configure_stream" invoker="configure_stream">
486 <return-value transfer-ownership="none">
487 <type name="gboolean" c:type="gboolean"/>
490 <parameter name="caps" transfer-ownership="none">
491 <type name="Gst.Caps" c:type="GstCaps*"/>
495 <virtual-method name="detect_server" invoker="detect_server">
496 <return-value transfer-ownership="none">
497 <type name="gboolean" c:type="gboolean"/>
500 <parameter name="resp" transfer-ownership="none">
501 <type name="RTSPMessage" c:type="GstRTSPMessage*"/>
505 <virtual-method name="get_transports" invoker="get_transports">
506 <return-value transfer-ownership="none">
507 <type name="RTSPResult" c:type="GstRTSPResult"/>
510 <parameter name="protocols" transfer-ownership="none">
511 <type name="RTSPLowerTrans" c:type="GstRTSPLowerTrans"/>
513 <parameter name="transport" transfer-ownership="none">
514 <type name="utf8" c:type="gchar**"/>
518 <virtual-method name="parse_sdp" invoker="parse_sdp">
519 <return-value transfer-ownership="none">
520 <type name="RTSPResult" c:type="GstRTSPResult"/>
523 <parameter name="sdp" transfer-ownership="none">
524 <type name="GstSdp.SDPMessage" c:type="GstSDPMessage*"/>
526 <parameter name="s" transfer-ownership="none">
527 <type name="Gst.Structure" c:type="GstStructure*"/>
531 <virtual-method name="receive_request" invoker="receive_request">
532 <return-value transfer-ownership="none">
533 <type name="RTSPResult" c:type="GstRTSPResult"/>
536 <parameter name="req" transfer-ownership="none">
537 <type name="RTSPMessage" c:type="GstRTSPMessage*"/>
541 <virtual-method name="setup_media" invoker="setup_media">
542 <return-value transfer-ownership="none">
543 <type name="RTSPResult" c:type="GstRTSPResult"/>
546 <parameter name="media" transfer-ownership="none">
547 <type name="GstSdp.SDPMedia" c:type="GstSDPMedia*"/>
551 <virtual-method name="stream_select" invoker="stream_select">
552 <return-value transfer-ownership="none">
553 <type name="RTSPResult" c:type="GstRTSPResult"/>
556 <parameter name="url" transfer-ownership="none">
557 <type name="RTSPUrl" c:type="GstRTSPUrl*"/>
561 <method name="after_send" c:identifier="gst_rtsp_extension_after_send">
562 <return-value transfer-ownership="none">
563 <type name="RTSPResult" c:type="GstRTSPResult"/>
566 <parameter name="req" transfer-ownership="none">
567 <type name="RTSPMessage" c:type="GstRTSPMessage*"/>
569 <parameter name="resp" transfer-ownership="none">
570 <type name="RTSPMessage" c:type="GstRTSPMessage*"/>
574 <method name="before_send" c:identifier="gst_rtsp_extension_before_send">
575 <return-value transfer-ownership="none">
576 <type name="RTSPResult" c:type="GstRTSPResult"/>
579 <parameter name="req" transfer-ownership="none">
580 <type name="RTSPMessage" c:type="GstRTSPMessage*"/>
584 <method name="configure_stream"
585 c:identifier="gst_rtsp_extension_configure_stream">
586 <return-value transfer-ownership="none">
587 <type name="gboolean" c:type="gboolean"/>
590 <parameter name="caps" transfer-ownership="none">
591 <type name="Gst.Caps" c:type="GstCaps*"/>
595 <method name="detect_server"
596 c:identifier="gst_rtsp_extension_detect_server">
597 <return-value transfer-ownership="none">
598 <type name="gboolean" c:type="gboolean"/>
601 <parameter name="resp" transfer-ownership="none">
602 <type name="RTSPMessage" c:type="GstRTSPMessage*"/>
606 <method name="get_transports"
607 c:identifier="gst_rtsp_extension_get_transports">
608 <return-value transfer-ownership="none">
609 <type name="RTSPResult" c:type="GstRTSPResult"/>
612 <parameter name="protocols" transfer-ownership="none">
613 <type name="RTSPLowerTrans" c:type="GstRTSPLowerTrans"/>
615 <parameter name="transport" transfer-ownership="none">
616 <type name="utf8" c:type="gchar**"/>
620 <method name="parse_sdp" c:identifier="gst_rtsp_extension_parse_sdp">
621 <return-value transfer-ownership="none">
622 <type name="RTSPResult" c:type="GstRTSPResult"/>
625 <parameter name="sdp" transfer-ownership="none">
626 <type name="GstSdp.SDPMessage" c:type="GstSDPMessage*"/>
628 <parameter name="s" transfer-ownership="none">
629 <type name="Gst.Structure" c:type="GstStructure*"/>
633 <method name="receive_request"
634 c:identifier="gst_rtsp_extension_receive_request">
635 <return-value transfer-ownership="none">
636 <type name="RTSPResult" c:type="GstRTSPResult"/>
639 <parameter name="req" transfer-ownership="none">
640 <type name="RTSPMessage" c:type="GstRTSPMessage*"/>
644 <method name="send" c:identifier="gst_rtsp_extension_send">
645 <return-value transfer-ownership="none">
646 <type name="RTSPResult" c:type="GstRTSPResult"/>
649 <parameter name="req" transfer-ownership="none">
650 <type name="RTSPMessage" c:type="GstRTSPMessage*"/>
652 <parameter name="resp" transfer-ownership="none">
653 <type name="RTSPMessage" c:type="GstRTSPMessage*"/>
657 <method name="setup_media" c:identifier="gst_rtsp_extension_setup_media">
658 <return-value transfer-ownership="none">
659 <type name="RTSPResult" c:type="GstRTSPResult"/>
662 <parameter name="media" transfer-ownership="none">
663 <type name="GstSdp.SDPMedia" c:type="GstSDPMedia*"/>
667 <method name="stream_select"
668 c:identifier="gst_rtsp_extension_stream_select">
669 <return-value transfer-ownership="none">
670 <type name="RTSPResult" c:type="GstRTSPResult"/>
673 <parameter name="url" transfer-ownership="none">
674 <type name="RTSPUrl" c:type="GstRTSPUrl*"/>
678 <glib:signal name="send">
679 <return-value transfer-ownership="none">
680 <type name="RTSPResult"/>
683 <parameter name="object" transfer-ownership="none">
684 <type name="gpointer"/>
686 <parameter name="p0" transfer-ownership="none">
687 <type name="gpointer"/>
692 <record name="RTSPExtensionInterface"
693 c:type="GstRTSPExtensionInterface"
694 glib:is-gtype-struct-for="RTSPExtension">
695 <field name="parent">
696 <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
698 <field name="detect_server">
699 <callback name="detect_server">
700 <return-value transfer-ownership="none">
701 <type name="gboolean" c:type="gboolean"/>
704 <parameter name="ext" transfer-ownership="none">
705 <type name="RTSPExtension" c:type="GstRTSPExtension*"/>
707 <parameter name="resp" transfer-ownership="none">
708 <type name="RTSPMessage" c:type="GstRTSPMessage*"/>
713 <field name="before_send">
714 <callback name="before_send">
715 <return-value transfer-ownership="none">
716 <type name="RTSPResult" c:type="GstRTSPResult"/>
719 <parameter name="ext" transfer-ownership="none">
720 <type name="RTSPExtension" c:type="GstRTSPExtension*"/>
722 <parameter name="req" transfer-ownership="none">
723 <type name="RTSPMessage" c:type="GstRTSPMessage*"/>
728 <field name="after_send">
729 <callback name="after_send">
730 <return-value transfer-ownership="none">
731 <type name="RTSPResult" c:type="GstRTSPResult"/>
734 <parameter name="ext" transfer-ownership="none">
735 <type name="RTSPExtension" c:type="GstRTSPExtension*"/>
737 <parameter name="req" transfer-ownership="none">
738 <type name="RTSPMessage" c:type="GstRTSPMessage*"/>
740 <parameter name="resp" transfer-ownership="none">
741 <type name="RTSPMessage" c:type="GstRTSPMessage*"/>
746 <field name="parse_sdp">
747 <callback name="parse_sdp">
748 <return-value transfer-ownership="none">
749 <type name="RTSPResult" c:type="GstRTSPResult"/>
752 <parameter name="ext" transfer-ownership="none">
753 <type name="RTSPExtension" c:type="GstRTSPExtension*"/>
755 <parameter name="sdp" transfer-ownership="none">
756 <type name="GstSdp.SDPMessage" c:type="GstSDPMessage*"/>
758 <parameter name="s" transfer-ownership="none">
759 <type name="Gst.Structure" c:type="GstStructure*"/>
764 <field name="setup_media">
765 <callback name="setup_media">
766 <return-value transfer-ownership="none">
767 <type name="RTSPResult" c:type="GstRTSPResult"/>
770 <parameter name="ext" transfer-ownership="none">
771 <type name="RTSPExtension" c:type="GstRTSPExtension*"/>
773 <parameter name="media" transfer-ownership="none">
774 <type name="GstSdp.SDPMedia" c:type="GstSDPMedia*"/>
779 <field name="configure_stream">
780 <callback name="configure_stream">
781 <return-value transfer-ownership="none">
782 <type name="gboolean" c:type="gboolean"/>
785 <parameter name="ext" transfer-ownership="none">
786 <type name="RTSPExtension" c:type="GstRTSPExtension*"/>
788 <parameter name="caps" transfer-ownership="none">
789 <type name="Gst.Caps" c:type="GstCaps*"/>
794 <field name="get_transports">
795 <callback name="get_transports">
796 <return-value transfer-ownership="none">
797 <type name="RTSPResult" c:type="GstRTSPResult"/>
800 <parameter name="ext" transfer-ownership="none">
801 <type name="RTSPExtension" c:type="GstRTSPExtension*"/>
803 <parameter name="protocols" transfer-ownership="none">
804 <type name="RTSPLowerTrans" c:type="GstRTSPLowerTrans"/>
806 <parameter name="transport" transfer-ownership="none">
807 <type name="utf8" c:type="gchar**"/>
812 <field name="stream_select">
813 <callback name="stream_select">
814 <return-value transfer-ownership="none">
815 <type name="RTSPResult" c:type="GstRTSPResult"/>
818 <parameter name="ext" transfer-ownership="none">
819 <type name="RTSPExtension" c:type="GstRTSPExtension*"/>
821 <parameter name="url" transfer-ownership="none">
822 <type name="RTSPUrl" c:type="GstRTSPUrl*"/>
828 <callback name="send">
829 <return-value transfer-ownership="none">
830 <type name="RTSPResult" c:type="GstRTSPResult"/>
833 <parameter name="ext" transfer-ownership="none">
834 <type name="RTSPExtension" c:type="GstRTSPExtension*"/>
836 <parameter name="req" transfer-ownership="none">
837 <type name="RTSPMessage" c:type="GstRTSPMessage*"/>
839 <parameter name="resp" transfer-ownership="none">
840 <type name="RTSPMessage" c:type="GstRTSPMessage*"/>
845 <field name="receive_request">
846 <callback name="receive_request">
847 <return-value transfer-ownership="none">
848 <type name="RTSPResult" c:type="GstRTSPResult"/>
851 <parameter name="ext" transfer-ownership="none">
852 <type name="RTSPExtension" c:type="GstRTSPExtension*"/>
854 <parameter name="req" transfer-ownership="none">
855 <type name="RTSPMessage" c:type="GstRTSPMessage*"/>
860 <field name="_gst_reserved">
861 <array zero-terminated="0" c:type="gpointer" fixed-size="3">
862 <type name="gpointer" c:type="gpointer"/>
866 <enumeration name="RTSPFamily"
867 glib:type-name="GstRTSPFamily"
868 glib:get-type="gst_rtsp_family_get_type"
869 c:type="GstRTSPFamily">
870 <doc xml:whitespace="preserve">The possible network families.</doc>
873 c:identifier="GST_RTSP_FAM_NONE"
877 c:identifier="GST_RTSP_FAM_INET"
881 c:identifier="GST_RTSP_FAM_INET6"
884 <enumeration name="RTSPHeaderField"
885 glib:type-name="GstRTSPHeaderField"
886 glib:get-type="gst_rtsp_header_field_get_type"
887 c:type="GstRTSPHeaderField">
888 <member name="invalid"
890 c:identifier="GST_RTSP_HDR_INVALID"
891 glib:nick="invalid"/>
892 <member name="accept"
894 c:identifier="GST_RTSP_HDR_ACCEPT"
896 <member name="accept_encoding"
898 c:identifier="GST_RTSP_HDR_ACCEPT_ENCODING"
899 glib:nick="accept-encoding"/>
900 <member name="accept_language"
902 c:identifier="GST_RTSP_HDR_ACCEPT_LANGUAGE"
903 glib:nick="accept-language"/>
906 c:identifier="GST_RTSP_HDR_ALLOW"
908 <member name="authorization"
910 c:identifier="GST_RTSP_HDR_AUTHORIZATION"
911 glib:nick="authorization"/>
912 <member name="bandwidth"
914 c:identifier="GST_RTSP_HDR_BANDWIDTH"
915 glib:nick="bandwidth"/>
916 <member name="blocksize"
918 c:identifier="GST_RTSP_HDR_BLOCKSIZE"
919 glib:nick="blocksize"/>
920 <member name="cache_control"
922 c:identifier="GST_RTSP_HDR_CACHE_CONTROL"
923 glib:nick="cache-control"/>
924 <member name="conference"
926 c:identifier="GST_RTSP_HDR_CONFERENCE"
927 glib:nick="conference"/>
928 <member name="connection"
930 c:identifier="GST_RTSP_HDR_CONNECTION"
931 glib:nick="connection"/>
932 <member name="content_base"
934 c:identifier="GST_RTSP_HDR_CONTENT_BASE"
935 glib:nick="content-base"/>
936 <member name="content_encoding"
938 c:identifier="GST_RTSP_HDR_CONTENT_ENCODING"
939 glib:nick="content-encoding"/>
940 <member name="content_language"
942 c:identifier="GST_RTSP_HDR_CONTENT_LANGUAGE"
943 glib:nick="content-language"/>
944 <member name="content_length"
946 c:identifier="GST_RTSP_HDR_CONTENT_LENGTH"
947 glib:nick="content-length"/>
948 <member name="content_location"
950 c:identifier="GST_RTSP_HDR_CONTENT_LOCATION"
951 glib:nick="content-location"/>
952 <member name="content_type"
954 c:identifier="GST_RTSP_HDR_CONTENT_TYPE"
955 glib:nick="content-type"/>
958 c:identifier="GST_RTSP_HDR_CSEQ"
962 c:identifier="GST_RTSP_HDR_DATE"
964 <member name="expires"
966 c:identifier="GST_RTSP_HDR_EXPIRES"
967 glib:nick="expires"/>
970 c:identifier="GST_RTSP_HDR_FROM"
972 <member name="if_modified_since"
974 c:identifier="GST_RTSP_HDR_IF_MODIFIED_SINCE"
975 glib:nick="if-modified-since"/>
976 <member name="last_modified"
978 c:identifier="GST_RTSP_HDR_LAST_MODIFIED"
979 glib:nick="last-modified"/>
980 <member name="proxy_authenticate"
982 c:identifier="GST_RTSP_HDR_PROXY_AUTHENTICATE"
983 glib:nick="proxy-authenticate"/>
984 <member name="proxy_require"
986 c:identifier="GST_RTSP_HDR_PROXY_REQUIRE"
987 glib:nick="proxy-require"/>
988 <member name="public"
990 c:identifier="GST_RTSP_HDR_PUBLIC"
994 c:identifier="GST_RTSP_HDR_RANGE"
996 <member name="referer"
998 c:identifier="GST_RTSP_HDR_REFERER"
999 glib:nick="referer"/>
1000 <member name="require"
1002 c:identifier="GST_RTSP_HDR_REQUIRE"
1003 glib:nick="require"/>
1004 <member name="retry_after"
1006 c:identifier="GST_RTSP_HDR_RETRY_AFTER"
1007 glib:nick="retry-after"/>
1008 <member name="rtp_info"
1010 c:identifier="GST_RTSP_HDR_RTP_INFO"
1011 glib:nick="rtp-info"/>
1012 <member name="scale"
1014 c:identifier="GST_RTSP_HDR_SCALE"
1016 <member name="session"
1018 c:identifier="GST_RTSP_HDR_SESSION"
1019 glib:nick="session"/>
1020 <member name="server"
1022 c:identifier="GST_RTSP_HDR_SERVER"
1023 glib:nick="server"/>
1024 <member name="speed"
1026 c:identifier="GST_RTSP_HDR_SPEED"
1028 <member name="transport"
1030 c:identifier="GST_RTSP_HDR_TRANSPORT"
1031 glib:nick="transport"/>
1032 <member name="unsupported"
1034 c:identifier="GST_RTSP_HDR_UNSUPPORTED"
1035 glib:nick="unsupported"/>
1036 <member name="user_agent"
1038 c:identifier="GST_RTSP_HDR_USER_AGENT"
1039 glib:nick="user-agent"/>
1042 c:identifier="GST_RTSP_HDR_VIA"
1044 <member name="www_authenticate"
1046 c:identifier="GST_RTSP_HDR_WWW_AUTHENTICATE"
1047 glib:nick="www-authenticate"/>
1048 <member name="client_challenge"
1050 c:identifier="GST_RTSP_HDR_CLIENT_CHALLENGE"
1051 glib:nick="client-challenge"/>
1052 <member name="real_challenge1"
1054 c:identifier="GST_RTSP_HDR_REAL_CHALLENGE1"
1055 glib:nick="real-challenge1"/>
1056 <member name="real_challenge2"
1058 c:identifier="GST_RTSP_HDR_REAL_CHALLENGE2"
1059 glib:nick="real-challenge2"/>
1060 <member name="real_challenge3"
1062 c:identifier="GST_RTSP_HDR_REAL_CHALLENGE3"
1063 glib:nick="real-challenge3"/>
1064 <member name="subscribe"
1066 c:identifier="GST_RTSP_HDR_SUBSCRIBE"
1067 glib:nick="subscribe"/>
1068 <member name="alert"
1070 c:identifier="GST_RTSP_HDR_ALERT"
1072 <member name="client_id"
1074 c:identifier="GST_RTSP_HDR_CLIENT_ID"
1075 glib:nick="client-id"/>
1076 <member name="company_id"
1078 c:identifier="GST_RTSP_HDR_COMPANY_ID"
1079 glib:nick="company-id"/>
1082 c:identifier="GST_RTSP_HDR_GUID"
1084 <member name="region_data"
1086 c:identifier="GST_RTSP_HDR_REGION_DATA"
1087 glib:nick="region-data"/>
1088 <member name="max_asm_width"
1090 c:identifier="GST_RTSP_HDR_MAX_ASM_WIDTH"
1091 glib:nick="max-asm-width"/>
1092 <member name="language"
1094 c:identifier="GST_RTSP_HDR_LANGUAGE"
1095 glib:nick="language"/>
1096 <member name="player_start_time"
1098 c:identifier="GST_RTSP_HDR_PLAYER_START_TIME"
1099 glib:nick="player-start-time"/>
1100 <member name="location"
1102 c:identifier="GST_RTSP_HDR_LOCATION"
1103 glib:nick="location"/>
1106 c:identifier="GST_RTSP_HDR_ETAG"
1108 <member name="if_match"
1110 c:identifier="GST_RTSP_HDR_IF_MATCH"
1111 glib:nick="if-match"/>
1112 <member name="accept_charset"
1114 c:identifier="GST_RTSP_HDR_ACCEPT_CHARSET"
1115 glib:nick="accept-charset"/>
1116 <member name="supported"
1118 c:identifier="GST_RTSP_HDR_SUPPORTED"
1119 glib:nick="supported"/>
1122 c:identifier="GST_RTSP_HDR_VARY"
1124 <member name="x_accelerate_streaming"
1126 c:identifier="GST_RTSP_HDR_X_ACCELERATE_STREAMING"
1127 glib:nick="x-accelerate-streaming"/>
1128 <member name="x_accept_authent"
1130 c:identifier="GST_RTSP_HDR_X_ACCEPT_AUTHENT"
1131 glib:nick="x-accept-authent"/>
1132 <member name="x_accept_proxy_authent"
1134 c:identifier="GST_RTSP_HDR_X_ACCEPT_PROXY_AUTHENT"
1135 glib:nick="x-accept-proxy-authent"/>
1136 <member name="x_broadcast_id"
1138 c:identifier="GST_RTSP_HDR_X_BROADCAST_ID"
1139 glib:nick="x-broadcast-id"/>
1140 <member name="x_burst_streaming"
1142 c:identifier="GST_RTSP_HDR_X_BURST_STREAMING"
1143 glib:nick="x-burst-streaming"/>
1144 <member name="x_notice"
1146 c:identifier="GST_RTSP_HDR_X_NOTICE"
1147 glib:nick="x-notice"/>
1148 <member name="x_player_lag_time"
1150 c:identifier="GST_RTSP_HDR_X_PLAYER_LAG_TIME"
1151 glib:nick="x-player-lag-time"/>
1152 <member name="x_playlist"
1154 c:identifier="GST_RTSP_HDR_X_PLAYLIST"
1155 glib:nick="x-playlist"/>
1156 <member name="x_playlist_change_notice"
1158 c:identifier="GST_RTSP_HDR_X_PLAYLIST_CHANGE_NOTICE"
1159 glib:nick="x-playlist-change-notice"/>
1160 <member name="x_playlist_gen_id"
1162 c:identifier="GST_RTSP_HDR_X_PLAYLIST_GEN_ID"
1163 glib:nick="x-playlist-gen-id"/>
1164 <member name="x_playlist_seek_id"
1166 c:identifier="GST_RTSP_HDR_X_PLAYLIST_SEEK_ID"
1167 glib:nick="x-playlist-seek-id"/>
1168 <member name="x_proxy_client_agent"
1170 c:identifier="GST_RTSP_HDR_X_PROXY_CLIENT_AGENT"
1171 glib:nick="x-proxy-client-agent"/>
1172 <member name="x_proxy_client_verb"
1174 c:identifier="GST_RTSP_HDR_X_PROXY_CLIENT_VERB"
1175 glib:nick="x-proxy-client-verb"/>
1176 <member name="x_receding_playlistchange"
1178 c:identifier="GST_RTSP_HDR_X_RECEDING_PLAYLISTCHANGE"
1179 glib:nick="x-receding-playlistchange"/>
1180 <member name="x_rtp_info"
1182 c:identifier="GST_RTSP_HDR_X_RTP_INFO"
1183 glib:nick="x-rtp-info"/>
1184 <member name="x_startupprofile"
1186 c:identifier="GST_RTSP_HDR_X_STARTUPPROFILE"
1187 glib:nick="x-startupprofile"/>
1188 <member name="timestamp"
1190 c:identifier="GST_RTSP_HDR_TIMESTAMP"
1191 glib:nick="timestamp"/>
1192 <member name="authentication_info"
1194 c:identifier="GST_RTSP_HDR_AUTHENTICATION_INFO"
1195 glib:nick="authentication-info"/>
1198 c:identifier="GST_RTSP_HDR_HOST"
1200 <member name="pragma"
1202 c:identifier="GST_RTSP_HDR_PRAGMA"
1203 glib:nick="pragma"/>
1204 <member name="x_server_ip_address"
1206 c:identifier="GST_RTSP_HDR_X_SERVER_IP_ADDRESS"
1207 glib:nick="x-server-ip-address"/>
1208 <member name="x_sessioncookie"
1210 c:identifier="GST_RTSP_HDR_X_SESSIONCOOKIE"
1211 glib:nick="x-sessioncookie"/>
1214 c:identifier="GST_RTSP_HDR_LAST"
1217 <bitfield name="RTSPLowerTrans"
1218 glib:type-name="GstRTSPLowerTrans"
1219 glib:get-type="gst_rtsp_lower_trans_get_type"
1220 c:type="GstRTSPLowerTrans">
1221 <doc xml:whitespace="preserve">The different transport methods.</doc>
1222 <member name="udp_unicast"
1224 c:identifier="GST_RTSP_LOWER_TRANS_UDP"
1225 glib:nick="udp-unicast"/>
1226 <member name="udp_multicast"
1228 c:identifier="GST_RTSP_LOWER_TRANS_UDP_MCAST"
1229 glib:nick="udp-multicast"/>
1232 c:identifier="GST_RTSP_LOWER_TRANS_TCP"
1236 c:identifier="GST_RTSP_LOWER_TRANS_HTTP"
1239 <record name="RTSPMessage" c:type="GstRTSPMessage">
1240 <doc xml:whitespace="preserve">An RTSP message containing request, response or data messages. Depending on
1241 the @type, the appropriate structure may be accessed.</doc>
1242 <field name="type" writable="1">
1243 <type name="RTSPMsgType" c:type="GstRTSPMsgType"/>
1245 <union name="type_data" c:type="type_data">
1246 <record name="request" c:type="request">
1247 <field name="method" writable="1">
1248 <type name="RTSPMethod" c:type="GstRTSPMethod"/>
1250 <field name="uri" writable="1">
1251 <type name="utf8" c:type="gchar*"/>
1253 <field name="version" writable="1">
1254 <type name="RTSPVersion" c:type="GstRTSPVersion"/>
1257 <record name="response" c:type="response">
1258 <field name="code" writable="1">
1259 <type name="RTSPStatusCode" c:type="GstRTSPStatusCode"/>
1261 <field name="reason" writable="1">
1262 <type name="utf8" c:type="gchar*"/>
1264 <field name="version" writable="1">
1265 <type name="RTSPVersion" c:type="GstRTSPVersion"/>
1268 <record name="data" c:type="data">
1269 <field name="channel" writable="1">
1270 <type name="guint8" c:type="guint8"/>
1274 <field name="hdr_fields" writable="1">
1275 <array name="GLib.Array" c:type="GArray*">
1276 <type name="gpointer" c:type="gpointer"/>
1279 <field name="body" writable="1">
1280 <type name="guint8" c:type="guint8*"/>
1282 <field name="body_size" writable="1">
1283 <type name="guint" c:type="guint"/>
1285 <method name="add_header" c:identifier="gst_rtsp_message_add_header">
1286 <doc xml:whitespace="preserve">Add a header with key @field and @value to @msg. This function takes a copy
1288 <return-value transfer-ownership="none">
1289 <doc xml:whitespace="preserve">a #GstRTSPResult.</doc>
1290 <type name="RTSPResult" c:type="GstRTSPResult"/>
1293 <parameter name="field" transfer-ownership="none">
1294 <doc xml:whitespace="preserve">a #GstRTSPHeaderField</doc>
1295 <type name="RTSPHeaderField" c:type="GstRTSPHeaderField"/>
1297 <parameter name="value" transfer-ownership="none">
1298 <doc xml:whitespace="preserve">the value of the header</doc>
1299 <type name="utf8" c:type="gchar*"/>
1303 <method name="append_headers"
1304 c:identifier="gst_rtsp_message_append_headers">
1305 <doc xml:whitespace="preserve">Append the currently configured headers in @msg to the #GString @str suitable
1306 for transmission.</doc>
1307 <return-value transfer-ownership="none">
1308 <doc xml:whitespace="preserve">#GST_RTSP_OK.</doc>
1309 <type name="RTSPResult" c:type="GstRTSPResult"/>
1312 <parameter name="str" transfer-ownership="none">
1313 <doc xml:whitespace="preserve">a string</doc>
1314 <type name="GLib.String" c:type="GString*"/>
1318 <method name="dump" c:identifier="gst_rtsp_message_dump">
1319 <doc xml:whitespace="preserve">Dump the contents of @msg to stdout.</doc>
1320 <return-value transfer-ownership="none">
1321 <doc xml:whitespace="preserve">#GST_RTSP_OK.</doc>
1322 <type name="RTSPResult" c:type="GstRTSPResult"/>
1325 <method name="free" c:identifier="gst_rtsp_message_free">
1326 <doc xml:whitespace="preserve">Free the memory used by @msg.</doc>
1327 <return-value transfer-ownership="none">
1328 <doc xml:whitespace="preserve">a #GstRTSPResult.</doc>
1329 <type name="RTSPResult" c:type="GstRTSPResult"/>
1332 <method name="get_body" c:identifier="gst_rtsp_message_get_body">
1333 <doc xml:whitespace="preserve">Get the body of @msg. @data remains valid for as long as @msg is valid and
1335 <return-value transfer-ownership="none">
1336 <doc xml:whitespace="preserve">#GST_RTSP_OK.</doc>
1337 <type name="RTSPResult" c:type="GstRTSPResult"/>
1340 <parameter name="data" transfer-ownership="none">
1341 <doc xml:whitespace="preserve">location for the data</doc>
1342 <type name="guint8" c:type="guint8**"/>
1344 <parameter name="size" transfer-ownership="none">
1345 <doc xml:whitespace="preserve">location for the size of @data</doc>
1346 <type name="guint" c:type="guint*"/>
1350 <method name="get_header" c:identifier="gst_rtsp_message_get_header">
1351 <doc xml:whitespace="preserve">Get the @indx header value with key @field from @msg. The result in @value
1352 stays valid as long as it remains present in @msg.
1353 was not found.</doc>
1354 <return-value transfer-ownership="none">
1355 <doc xml:whitespace="preserve">#GST_RTSP_OK when @field was found, #GST_RTSP_ENOTIMPL if the key</doc>
1356 <type name="RTSPResult" c:type="GstRTSPResult"/>
1359 <parameter name="field" transfer-ownership="none">
1360 <doc xml:whitespace="preserve">a #GstRTSPHeaderField</doc>
1361 <type name="RTSPHeaderField" c:type="GstRTSPHeaderField"/>
1363 <parameter name="value" transfer-ownership="none">
1364 <doc xml:whitespace="preserve">pointer to hold the result</doc>
1365 <type name="utf8" c:type="gchar**"/>
1367 <parameter name="indx" transfer-ownership="none">
1368 <doc xml:whitespace="preserve">the index of the header</doc>
1369 <type name="gint" c:type="gint"/>
1373 <method name="init" c:identifier="gst_rtsp_message_init">
1374 <doc xml:whitespace="preserve">Initialize @msg. This function is mostly used when @msg is allocated on the
1375 stack. The reverse operation of this is gst_rtsp_message_unset().</doc>
1376 <return-value transfer-ownership="none">
1377 <doc xml:whitespace="preserve">a #GstRTSPResult.</doc>
1378 <type name="RTSPResult" c:type="GstRTSPResult"/>
1381 <method name="init_data" c:identifier="gst_rtsp_message_init_data">
1382 <doc xml:whitespace="preserve">Initialize a new data #GstRTSPMessage for @channel.</doc>
1383 <return-value transfer-ownership="none">
1384 <doc xml:whitespace="preserve">a #GstRTSPResult.</doc>
1385 <type name="RTSPResult" c:type="GstRTSPResult"/>
1388 <parameter name="channel" transfer-ownership="none">
1389 <doc xml:whitespace="preserve">a channel</doc>
1390 <type name="guint8" c:type="guint8"/>
1394 <method name="init_request" c:identifier="gst_rtsp_message_init_request">
1395 <doc xml:whitespace="preserve">Initialize @msg as a request message with @method and @uri. To clear @msg
1396 again, use gst_rtsp_message_unset().</doc>
1397 <return-value transfer-ownership="none">
1398 <doc xml:whitespace="preserve">a #GstRTSPResult.</doc>
1399 <type name="RTSPResult" c:type="GstRTSPResult"/>
1402 <parameter name="method" transfer-ownership="none">
1403 <doc xml:whitespace="preserve">the request method to use</doc>
1404 <type name="RTSPMethod" c:type="GstRTSPMethod"/>
1406 <parameter name="uri" transfer-ownership="none">
1407 <doc xml:whitespace="preserve">the uri of the request</doc>
1408 <type name="utf8" c:type="gchar*"/>
1412 <method name="init_response"
1413 c:identifier="gst_rtsp_message_init_response">
1414 <doc xml:whitespace="preserve">Initialize @msg with @code and @reason.
1415 When @reason is #NULL, the default reason for @code will be used.
1416 When @request is not #NULL, the relevant headers will be copied to the new
1417 response message.</doc>
1418 <return-value transfer-ownership="none">
1419 <doc xml:whitespace="preserve">a #GstRTSPResult.</doc>
1420 <type name="RTSPResult" c:type="GstRTSPResult"/>
1423 <parameter name="code" transfer-ownership="none">
1424 <doc xml:whitespace="preserve">the status code</doc>
1425 <type name="RTSPStatusCode" c:type="GstRTSPStatusCode"/>
1427 <parameter name="reason" transfer-ownership="none">
1428 <doc xml:whitespace="preserve">the status reason or #NULL</doc>
1429 <type name="utf8" c:type="gchar*"/>
1431 <parameter name="request" transfer-ownership="none">
1432 <doc xml:whitespace="preserve">the request that triggered the response or #NULL</doc>
1433 <type name="RTSPMessage" c:type="GstRTSPMessage*"/>
1437 <method name="parse_data" c:identifier="gst_rtsp_message_parse_data">
1438 <doc xml:whitespace="preserve">Parse the data message @msg and store the channel in @channel.</doc>
1439 <return-value transfer-ownership="none">
1440 <doc xml:whitespace="preserve">a #GstRTSPResult.</doc>
1441 <type name="RTSPResult" c:type="GstRTSPResult"/>
1444 <parameter name="channel" transfer-ownership="none">
1445 <doc xml:whitespace="preserve">location to hold the channel</doc>
1446 <type name="guint8" c:type="guint8*"/>
1450 <method name="parse_request"
1451 c:identifier="gst_rtsp_message_parse_request">
1452 <doc xml:whitespace="preserve">Parse the request message @msg and store the values @method, @uri and
1454 <return-value transfer-ownership="none">
1455 <doc xml:whitespace="preserve">a #GstRTSPResult.</doc>
1456 <type name="RTSPResult" c:type="GstRTSPResult"/>
1459 <parameter name="method" transfer-ownership="none">
1460 <doc xml:whitespace="preserve">location to hold the method</doc>
1461 <type name="RTSPMethod" c:type="GstRTSPMethod*"/>
1463 <parameter name="uri" transfer-ownership="none">
1464 <doc xml:whitespace="preserve">location to hold the uri</doc>
1465 <type name="utf8" c:type="gchar**"/>
1467 <parameter name="version" transfer-ownership="none">
1468 <doc xml:whitespace="preserve">location to hold the version</doc>
1469 <type name="RTSPVersion" c:type="GstRTSPVersion*"/>
1473 <method name="parse_response"
1474 c:identifier="gst_rtsp_message_parse_response">
1475 <doc xml:whitespace="preserve">Parse the response message @msg and store the values @code, @reason and
1477 <return-value transfer-ownership="none">
1478 <doc xml:whitespace="preserve">a #GstRTSPResult.</doc>
1479 <type name="RTSPResult" c:type="GstRTSPResult"/>
1482 <parameter name="code" transfer-ownership="none">
1483 <doc xml:whitespace="preserve">location to hold the status code</doc>
1484 <type name="RTSPStatusCode" c:type="GstRTSPStatusCode*"/>
1486 <parameter name="reason" transfer-ownership="none">
1487 <doc xml:whitespace="preserve">location to hold the status reason</doc>
1488 <type name="utf8" c:type="gchar**"/>
1490 <parameter name="version" transfer-ownership="none">
1491 <doc xml:whitespace="preserve">location to hold the version</doc>
1492 <type name="RTSPVersion" c:type="GstRTSPVersion*"/>
1496 <method name="remove_header"
1497 c:identifier="gst_rtsp_message_remove_header">
1498 <doc xml:whitespace="preserve">Remove the @indx header with key @field from @msg. If @indx equals -1, all
1499 headers will be removed.</doc>
1500 <return-value transfer-ownership="none">
1501 <doc xml:whitespace="preserve">a #GstRTSPResult.</doc>
1502 <type name="RTSPResult" c:type="GstRTSPResult"/>
1505 <parameter name="field" transfer-ownership="none">
1506 <doc xml:whitespace="preserve">a #GstRTSPHeaderField</doc>
1507 <type name="RTSPHeaderField" c:type="GstRTSPHeaderField"/>
1509 <parameter name="indx" transfer-ownership="none">
1510 <doc xml:whitespace="preserve">the index of the header</doc>
1511 <type name="gint" c:type="gint"/>
1515 <method name="set_body" c:identifier="gst_rtsp_message_set_body">
1516 <doc xml:whitespace="preserve">Set the body of @msg to a copy of @data.</doc>
1517 <return-value transfer-ownership="none">
1518 <doc xml:whitespace="preserve">#GST_RTSP_OK.</doc>
1519 <type name="RTSPResult" c:type="GstRTSPResult"/>
1522 <parameter name="data" transfer-ownership="none">
1523 <doc xml:whitespace="preserve">the data</doc>
1524 <type name="guint8" c:type="guint8*"/>
1526 <parameter name="size" transfer-ownership="none">
1527 <doc xml:whitespace="preserve">the size of @data</doc>
1528 <type name="guint" c:type="guint"/>
1532 <method name="steal_body" c:identifier="gst_rtsp_message_steal_body">
1533 <doc xml:whitespace="preserve">Take the body of @msg and store it in @data and @size. After this method,
1534 the body and size of @msg will be set to #NULL and 0 respectively.</doc>
1535 <return-value transfer-ownership="none">
1536 <doc xml:whitespace="preserve">#GST_RTSP_OK.</doc>
1537 <type name="RTSPResult" c:type="GstRTSPResult"/>
1540 <parameter name="data" transfer-ownership="none">
1541 <doc xml:whitespace="preserve">location for the data</doc>
1542 <type name="guint8" c:type="guint8**"/>
1544 <parameter name="size" transfer-ownership="none">
1545 <doc xml:whitespace="preserve">location for the size of @data</doc>
1546 <type name="guint" c:type="guint*"/>
1550 <method name="take_body" c:identifier="gst_rtsp_message_take_body">
1551 <doc xml:whitespace="preserve">Set the body of @msg to @data and @size. This method takes ownership of</doc>
1552 <return-value transfer-ownership="none">
1553 <doc xml:whitespace="preserve">#GST_RTSP_OK.</doc>
1554 <type name="RTSPResult" c:type="GstRTSPResult"/>
1557 <parameter name="data" transfer-ownership="none">
1558 <doc xml:whitespace="preserve">the data</doc>
1559 <type name="guint8" c:type="guint8*"/>
1561 <parameter name="size" transfer-ownership="none">
1562 <doc xml:whitespace="preserve">the size of @data</doc>
1563 <type name="guint" c:type="guint"/>
1567 <method name="take_header"
1568 c:identifier="gst_rtsp_message_take_header"
1570 <doc xml:whitespace="preserve">Add a header with key @field and @value to @msg. This function takes
1571 ownership of @value.</doc>
1572 <return-value transfer-ownership="none">
1573 <doc xml:whitespace="preserve">a #GstRTSPResult.</doc>
1574 <type name="RTSPResult" c:type="GstRTSPResult"/>
1577 <parameter name="field" transfer-ownership="none">
1578 <doc xml:whitespace="preserve">a #GstRTSPHeaderField</doc>
1579 <type name="RTSPHeaderField" c:type="GstRTSPHeaderField"/>
1581 <parameter name="value" transfer-ownership="none">
1582 <doc xml:whitespace="preserve">the value of the header</doc>
1583 <type name="utf8" c:type="gchar*"/>
1587 <method name="unset" c:identifier="gst_rtsp_message_unset">
1588 <doc xml:whitespace="preserve">Unset the contents of @msg so that it becomes an uninitialized
1589 #GstRTSPMessage again. This function is mostly used in combination with
1590 gst_rtsp_message_init_request(), gst_rtsp_message_init_response() and
1591 gst_rtsp_message_init_data() on stack allocated #GstRTSPMessage structures.</doc>
1592 <return-value transfer-ownership="none">
1593 <doc xml:whitespace="preserve">#GST_RTSP_OK.</doc>
1594 <type name="RTSPResult" c:type="GstRTSPResult"/>
1598 <bitfield name="RTSPMethod"
1599 glib:type-name="GstRTSPMethod"
1600 glib:get-type="gst_rtsp_method_get_type"
1601 c:type="GstRTSPMethod">
1602 <doc xml:whitespace="preserve">The different supported RTSP methods.</doc>
1603 <member name="invalid"
1605 c:identifier="GST_RTSP_INVALID"
1606 glib:nick="invalid"/>
1607 <member name="describe"
1609 c:identifier="GST_RTSP_DESCRIBE"
1610 glib:nick="describe"/>
1611 <member name="announce"
1613 c:identifier="GST_RTSP_ANNOUNCE"
1614 glib:nick="announce"/>
1615 <member name="get_parameter"
1617 c:identifier="GST_RTSP_GET_PARAMETER"
1618 glib:nick="get-parameter"/>
1619 <member name="options"
1621 c:identifier="GST_RTSP_OPTIONS"
1622 glib:nick="options"/>
1623 <member name="pause"
1625 c:identifier="GST_RTSP_PAUSE"
1629 c:identifier="GST_RTSP_PLAY"
1631 <member name="record"
1633 c:identifier="GST_RTSP_RECORD"
1634 glib:nick="record"/>
1635 <member name="redirect"
1637 c:identifier="GST_RTSP_REDIRECT"
1638 glib:nick="redirect"/>
1639 <member name="setup"
1641 c:identifier="GST_RTSP_SETUP"
1643 <member name="set_parameter"
1645 c:identifier="GST_RTSP_SET_PARAMETER"
1646 glib:nick="set-parameter"/>
1647 <member name="teardown"
1649 c:identifier="GST_RTSP_TEARDOWN"
1650 glib:nick="teardown"/>
1653 c:identifier="GST_RTSP_GET"
1657 c:identifier="GST_RTSP_POST"
1660 <enumeration name="RTSPMsgType" c:type="GstRTSPMsgType">
1661 <doc xml:whitespace="preserve">The type of a message.</doc>
1662 <member name="invalid"
1664 c:identifier="GST_RTSP_MESSAGE_INVALID"/>
1665 <member name="request"
1667 c:identifier="GST_RTSP_MESSAGE_REQUEST"/>
1668 <member name="response"
1670 c:identifier="GST_RTSP_MESSAGE_RESPONSE"/>
1671 <member name="http_request"
1673 c:identifier="GST_RTSP_MESSAGE_HTTP_REQUEST"/>
1674 <member name="http_response"
1676 c:identifier="GST_RTSP_MESSAGE_HTTP_RESPONSE"/>
1677 <member name="data" value="5" c:identifier="GST_RTSP_MESSAGE_DATA"/>
1679 <bitfield name="RTSPProfile" c:type="GstRTSPProfile">
1680 <doc xml:whitespace="preserve">The transfer profile to use.</doc>
1681 <member name="unknown"
1683 c:identifier="GST_RTSP_PROFILE_UNKNOWN"/>
1684 <member name="avp" value="1" c:identifier="GST_RTSP_PROFILE_AVP"/>
1685 <member name="savp" value="2" c:identifier="GST_RTSP_PROFILE_SAVP"/>
1687 <record name="RTSPRange" c:type="GstRTSPRange">
1688 <doc xml:whitespace="preserve">A type to specify a range.</doc>
1689 <field name="min" writable="1">
1690 <type name="gint" c:type="gint"/>
1692 <field name="max" writable="1">
1693 <type name="gint" c:type="gint"/>
1696 <enumeration name="RTSPRangeUnit" c:type="GstRTSPRangeUnit">
1697 <doc xml:whitespace="preserve">Different possible time range units.</doc>
1698 <member name="smpte" value="0" c:identifier="GST_RTSP_RANGE_SMPTE"/>
1699 <member name="smpte_30_drop"
1701 c:identifier="GST_RTSP_RANGE_SMPTE_30_DROP"/>
1702 <member name="smpte_25"
1704 c:identifier="GST_RTSP_RANGE_SMPTE_25"/>
1705 <member name="npt" value="3" c:identifier="GST_RTSP_RANGE_NPT"/>
1706 <member name="clock" value="4" c:identifier="GST_RTSP_RANGE_CLOCK"/>
1708 <enumeration name="RTSPResult"
1709 glib:type-name="GstRTSPResult"
1710 glib:get-type="gst_rtsp_result_get_type"
1711 c:type="GstRTSPResult">
1712 <doc xml:whitespace="preserve">Result codes from the RTSP functions.</doc>
1713 <member name="ok" value="0" c:identifier="GST_RTSP_OK" glib:nick="ok"/>
1714 <member name="error"
1716 c:identifier="GST_RTSP_ERROR"
1718 <member name="einval"
1720 c:identifier="GST_RTSP_EINVAL"
1721 glib:nick="einval"/>
1722 <member name="eintr"
1724 c:identifier="GST_RTSP_EINTR"
1726 <member name="enomem"
1728 c:identifier="GST_RTSP_ENOMEM"
1729 glib:nick="enomem"/>
1730 <member name="eresolv"
1732 c:identifier="GST_RTSP_ERESOLV"
1733 glib:nick="eresolv"/>
1734 <member name="enotimpl"
1736 c:identifier="GST_RTSP_ENOTIMPL"
1737 glib:nick="enotimpl"/>
1740 c:identifier="GST_RTSP_ESYS"
1742 <member name="eparse"
1744 c:identifier="GST_RTSP_EPARSE"
1745 glib:nick="eparse"/>
1746 <member name="ewsastart"
1748 c:identifier="GST_RTSP_EWSASTART"
1749 glib:nick="ewsastart"/>
1750 <member name="ewsaversion"
1752 c:identifier="GST_RTSP_EWSAVERSION"
1753 glib:nick="ewsaversion"/>
1756 c:identifier="GST_RTSP_EEOF"
1760 c:identifier="GST_RTSP_ENET"
1762 <member name="enotip"
1764 c:identifier="GST_RTSP_ENOTIP"
1765 glib:nick="enotip"/>
1766 <member name="etimeout"
1768 c:identifier="GST_RTSP_ETIMEOUT"
1769 glib:nick="etimeout"/>
1770 <member name="etget"
1772 c:identifier="GST_RTSP_ETGET"
1774 <member name="etpost"
1776 c:identifier="GST_RTSP_ETPOST"
1777 glib:nick="etpost"/>
1778 <member name="elast"
1780 c:identifier="GST_RTSP_ELAST"
1783 <enumeration name="RTSPState"
1784 glib:type-name="GstRTSPState"
1785 glib:get-type="gst_rtsp_state_get_type"
1786 c:type="GstRTSPState">
1787 <doc xml:whitespace="preserve">The different RTSP states.</doc>
1788 <member name="invalid"
1790 c:identifier="GST_RTSP_STATE_INVALID"
1791 glib:nick="invalid"/>
1794 c:identifier="GST_RTSP_STATE_INIT"
1796 <member name="ready"
1798 c:identifier="GST_RTSP_STATE_READY"
1800 <member name="seeking"
1802 c:identifier="GST_RTSP_STATE_SEEKING"
1803 glib:nick="seeking"/>
1804 <member name="playing"
1806 c:identifier="GST_RTSP_STATE_PLAYING"
1807 glib:nick="playing"/>
1808 <member name="recording"
1810 c:identifier="GST_RTSP_STATE_RECORDING"
1811 glib:nick="recording"/>
1813 <enumeration name="RTSPStatusCode"
1814 glib:type-name="GstRTSPStatusCode"
1815 glib:get-type="gst_rtsp_status_code_get_type"
1816 c:type="GstRTSPStatusCode">
1817 <member name="invalid"
1819 c:identifier="GST_RTSP_STS_INVALID"
1820 glib:nick="invalid"/>
1821 <member name="continue"
1823 c:identifier="GST_RTSP_STS_CONTINUE"
1824 glib:nick="continue"/>
1827 c:identifier="GST_RTSP_STS_OK"
1829 <member name="created"
1831 c:identifier="GST_RTSP_STS_CREATED"
1832 glib:nick="created"/>
1833 <member name="low_on_storage"
1835 c:identifier="GST_RTSP_STS_LOW_ON_STORAGE"
1836 glib:nick="low-on-storage"/>
1837 <member name="multiple_choices"
1839 c:identifier="GST_RTSP_STS_MULTIPLE_CHOICES"
1840 glib:nick="multiple-choices"/>
1841 <member name="moved_permanently"
1843 c:identifier="GST_RTSP_STS_MOVED_PERMANENTLY"
1844 glib:nick="moved-permanently"/>
1845 <member name="move_temporarily"
1847 c:identifier="GST_RTSP_STS_MOVE_TEMPORARILY"
1848 glib:nick="move-temporarily"/>
1849 <member name="see_other"
1851 c:identifier="GST_RTSP_STS_SEE_OTHER"
1852 glib:nick="see-other"/>
1853 <member name="not_modified"
1855 c:identifier="GST_RTSP_STS_NOT_MODIFIED"
1856 glib:nick="not-modified"/>
1857 <member name="use_proxy"
1859 c:identifier="GST_RTSP_STS_USE_PROXY"
1860 glib:nick="use-proxy"/>
1861 <member name="bad_request"
1863 c:identifier="GST_RTSP_STS_BAD_REQUEST"
1864 glib:nick="bad-request"/>
1865 <member name="unauthorized"
1867 c:identifier="GST_RTSP_STS_UNAUTHORIZED"
1868 glib:nick="unauthorized"/>
1869 <member name="payment_required"
1871 c:identifier="GST_RTSP_STS_PAYMENT_REQUIRED"
1872 glib:nick="payment-required"/>
1873 <member name="forbidden"
1875 c:identifier="GST_RTSP_STS_FORBIDDEN"
1876 glib:nick="forbidden"/>
1877 <member name="not_found"
1879 c:identifier="GST_RTSP_STS_NOT_FOUND"
1880 glib:nick="not-found"/>
1881 <member name="method_not_allowed"
1883 c:identifier="GST_RTSP_STS_METHOD_NOT_ALLOWED"
1884 glib:nick="method-not-allowed"/>
1885 <member name="not_acceptable"
1887 c:identifier="GST_RTSP_STS_NOT_ACCEPTABLE"
1888 glib:nick="not-acceptable"/>
1889 <member name="proxy_auth_required"
1891 c:identifier="GST_RTSP_STS_PROXY_AUTH_REQUIRED"
1892 glib:nick="proxy-auth-required"/>
1893 <member name="request_timeout"
1895 c:identifier="GST_RTSP_STS_REQUEST_TIMEOUT"
1896 glib:nick="request-timeout"/>
1899 c:identifier="GST_RTSP_STS_GONE"
1901 <member name="length_required"
1903 c:identifier="GST_RTSP_STS_LENGTH_REQUIRED"
1904 glib:nick="length-required"/>
1905 <member name="precondition_failed"
1907 c:identifier="GST_RTSP_STS_PRECONDITION_FAILED"
1908 glib:nick="precondition-failed"/>
1909 <member name="request_entity_too_large"
1911 c:identifier="GST_RTSP_STS_REQUEST_ENTITY_TOO_LARGE"
1912 glib:nick="request-entity-too-large"/>
1913 <member name="request_uri_too_large"
1915 c:identifier="GST_RTSP_STS_REQUEST_URI_TOO_LARGE"
1916 glib:nick="request-uri-too-large"/>
1917 <member name="unsupported_media_type"
1919 c:identifier="GST_RTSP_STS_UNSUPPORTED_MEDIA_TYPE"
1920 glib:nick="unsupported-media-type"/>
1921 <member name="parameter_not_understood"
1923 c:identifier="GST_RTSP_STS_PARAMETER_NOT_UNDERSTOOD"
1924 glib:nick="parameter-not-understood"/>
1925 <member name="conference_not_found"
1927 c:identifier="GST_RTSP_STS_CONFERENCE_NOT_FOUND"
1928 glib:nick="conference-not-found"/>
1929 <member name="not_enough_bandwidth"
1931 c:identifier="GST_RTSP_STS_NOT_ENOUGH_BANDWIDTH"
1932 glib:nick="not-enough-bandwidth"/>
1933 <member name="session_not_found"
1935 c:identifier="GST_RTSP_STS_SESSION_NOT_FOUND"
1936 glib:nick="session-not-found"/>
1937 <member name="method_not_valid_in_this_state"
1939 c:identifier="GST_RTSP_STS_METHOD_NOT_VALID_IN_THIS_STATE"
1940 glib:nick="method-not-valid-in-this-state"/>
1941 <member name="header_field_not_valid_for_resource"
1943 c:identifier="GST_RTSP_STS_HEADER_FIELD_NOT_VALID_FOR_RESOURCE"
1944 glib:nick="header-field-not-valid-for-resource"/>
1945 <member name="invalid_range"
1947 c:identifier="GST_RTSP_STS_INVALID_RANGE"
1948 glib:nick="invalid-range"/>
1949 <member name="parameter_is_readonly"
1951 c:identifier="GST_RTSP_STS_PARAMETER_IS_READONLY"
1952 glib:nick="parameter-is-readonly"/>
1953 <member name="aggregate_operation_not_allowed"
1955 c:identifier="GST_RTSP_STS_AGGREGATE_OPERATION_NOT_ALLOWED"
1956 glib:nick="aggregate-operation-not-allowed"/>
1957 <member name="only_aggregate_operation_allowed"
1959 c:identifier="GST_RTSP_STS_ONLY_AGGREGATE_OPERATION_ALLOWED"
1960 glib:nick="only-aggregate-operation-allowed"/>
1961 <member name="unsupported_transport"
1963 c:identifier="GST_RTSP_STS_UNSUPPORTED_TRANSPORT"
1964 glib:nick="unsupported-transport"/>
1965 <member name="destination_unreachable"
1967 c:identifier="GST_RTSP_STS_DESTINATION_UNREACHABLE"
1968 glib:nick="destination-unreachable"/>
1969 <member name="internal_server_error"
1971 c:identifier="GST_RTSP_STS_INTERNAL_SERVER_ERROR"
1972 glib:nick="internal-server-error"/>
1973 <member name="not_implemented"
1975 c:identifier="GST_RTSP_STS_NOT_IMPLEMENTED"
1976 glib:nick="not-implemented"/>
1977 <member name="bad_gateway"
1979 c:identifier="GST_RTSP_STS_BAD_GATEWAY"
1980 glib:nick="bad-gateway"/>
1981 <member name="service_unavailable"
1983 c:identifier="GST_RTSP_STS_SERVICE_UNAVAILABLE"
1984 glib:nick="service-unavailable"/>
1985 <member name="gateway_timeout"
1987 c:identifier="GST_RTSP_STS_GATEWAY_TIMEOUT"
1988 glib:nick="gateway-timeout"/>
1989 <member name="rtsp_version_not_supported"
1991 c:identifier="GST_RTSP_STS_RTSP_VERSION_NOT_SUPPORTED"
1992 glib:nick="rtsp-version-not-supported"/>
1993 <member name="option_not_supported"
1995 c:identifier="GST_RTSP_STS_OPTION_NOT_SUPPORTED"
1996 glib:nick="option-not-supported"/>
1998 <record name="RTSPTime" c:type="GstRTSPTime">
1999 <doc xml:whitespace="preserve">A time indication.</doc>
2000 <field name="type" writable="1">
2001 <type name="RTSPTimeType" c:type="GstRTSPTimeType"/>
2003 <field name="seconds" writable="1">
2004 <type name="gdouble" c:type="gdouble"/>
2007 <record name="RTSPTimeRange" c:type="GstRTSPTimeRange">
2008 <doc xml:whitespace="preserve">A time range.</doc>
2009 <field name="unit" writable="1">
2010 <type name="RTSPRangeUnit" c:type="GstRTSPRangeUnit"/>
2012 <field name="min" writable="1">
2013 <type name="RTSPTime" c:type="GstRTSPTime"/>
2015 <field name="max" writable="1">
2016 <type name="RTSPTime" c:type="GstRTSPTime"/>
2019 <enumeration name="RTSPTimeType" c:type="GstRTSPTimeType">
2020 <doc xml:whitespace="preserve">Possible time types.</doc>
2021 <member name="seconds" value="0" c:identifier="GST_RTSP_TIME_SECONDS"/>
2022 <member name="now" value="1" c:identifier="GST_RTSP_TIME_NOW"/>
2023 <member name="end" value="2" c:identifier="GST_RTSP_TIME_END"/>
2025 <bitfield name="RTSPTransMode" c:type="GstRTSPTransMode">
2026 <doc xml:whitespace="preserve">The transfer mode to use.</doc>
2027 <member name="unknown" value="0" c:identifier="GST_RTSP_TRANS_UNKNOWN"/>
2028 <member name="rtp" value="1" c:identifier="GST_RTSP_TRANS_RTP"/>
2029 <member name="rdt" value="2" c:identifier="GST_RTSP_TRANS_RDT"/>
2031 <record name="RTSPTransport" c:type="GstRTSPTransport">
2032 <doc xml:whitespace="preserve">A structure holding the RTSP transport values.</doc>
2033 <field name="trans" writable="1">
2034 <type name="RTSPTransMode" c:type="GstRTSPTransMode"/>
2036 <field name="profile" writable="1">
2037 <type name="RTSPProfile" c:type="GstRTSPProfile"/>
2039 <field name="lower_transport" writable="1">
2040 <type name="RTSPLowerTrans" c:type="GstRTSPLowerTrans"/>
2042 <field name="destination" writable="1">
2043 <type name="utf8" c:type="gchar*"/>
2045 <field name="source" writable="1">
2046 <type name="utf8" c:type="gchar*"/>
2048 <field name="layers" writable="1">
2049 <type name="guint" c:type="guint"/>
2051 <field name="mode_play" writable="1">
2052 <type name="gboolean" c:type="gboolean"/>
2054 <field name="mode_record" writable="1">
2055 <type name="gboolean" c:type="gboolean"/>
2057 <field name="append" writable="1">
2058 <type name="gboolean" c:type="gboolean"/>
2060 <field name="interleaved" writable="1">
2061 <type name="RTSPRange" c:type="GstRTSPRange"/>
2063 <field name="ttl" writable="1">
2064 <type name="guint" c:type="guint"/>
2066 <field name="port" writable="1">
2067 <type name="RTSPRange" c:type="GstRTSPRange"/>
2069 <field name="client_port" writable="1">
2070 <type name="RTSPRange" c:type="GstRTSPRange"/>
2072 <field name="server_port" writable="1">
2073 <type name="RTSPRange" c:type="GstRTSPRange"/>
2075 <field name="ssrc" writable="1">
2076 <type name="guint" c:type="guint"/>
2078 <method name="as_text" c:identifier="gst_rtsp_transport_as_text">
2079 <doc xml:whitespace="preserve">Convert @transport into a string that can be used to signal the transport in
2080 an RTSP SETUP response.
2082 <return-value transfer-ownership="full">
2083 <doc xml:whitespace="preserve">a string describing the RTSP transport or #NULL when the transport</doc>
2084 <type name="utf8" c:type="gchar*"/>
2087 <method name="free" c:identifier="gst_rtsp_transport_free">
2088 <doc xml:whitespace="preserve">Free the memory used by @transport.</doc>
2089 <return-value transfer-ownership="none">
2090 <doc xml:whitespace="preserve">#GST_RTSP_OK.</doc>
2091 <type name="RTSPResult" c:type="GstRTSPResult"/>
2094 <method name="init" c:identifier="gst_rtsp_transport_init">
2095 <doc xml:whitespace="preserve">Initialize @transport so that it can be used.</doc>
2096 <return-value transfer-ownership="none">
2097 <doc xml:whitespace="preserve">#GST_RTSP_OK.</doc>
2098 <type name="RTSPResult" c:type="GstRTSPResult"/>
2102 <record name="RTSPUrl"
2104 glib:type-name="GstRTSPUrl"
2105 glib:get-type="gst_rtsp_url_get_type"
2106 c:symbol-prefix="rtsp_url">
2107 <doc xml:whitespace="preserve">This structure contains the result of a parsed RTSP URL</doc>
2108 <field name="transports" writable="1">
2109 <type name="RTSPLowerTrans" c:type="GstRTSPLowerTrans"/>
2111 <field name="family" writable="1">
2112 <type name="RTSPFamily" c:type="GstRTSPFamily"/>
2114 <field name="user" writable="1">
2115 <type name="utf8" c:type="gchar*"/>
2117 <field name="passwd" writable="1">
2118 <type name="utf8" c:type="gchar*"/>
2120 <field name="host" writable="1">
2121 <type name="utf8" c:type="gchar*"/>
2123 <field name="port" writable="1">
2124 <type name="guint16" c:type="guint16"/>
2126 <field name="abspath" writable="1">
2127 <type name="utf8" c:type="gchar*"/>
2129 <field name="query" writable="1">
2130 <type name="utf8" c:type="gchar*"/>
2132 <method name="copy" c:identifier="gst_rtsp_url_copy" version="0.10.22">
2133 <doc xml:whitespace="preserve">Make a copy of @url.</doc>
2134 <return-value transfer-ownership="full">
2135 <doc xml:whitespace="preserve">a copy of @url. Free with gst_rtsp_url_free () after usage.</doc>
2136 <type name="RTSPUrl" c:type="GstRTSPUrl*"/>
2139 <method name="decode_path_components"
2140 c:identifier="gst_rtsp_url_decode_path_components"
2143 <doc xml:whitespace="preserve">Splits the path of @url on '/' boundaries, decoding the resulting components,
2144 The decoding performed by this routine is "URI decoding", as defined in RFC
2145 3986, commonly known as percent-decoding. For example, a string "foo%2fbar"
2146 will decode to "foo/bar" -- the %2f being replaced by the corresponding byte
2147 with hex value 0x2f. Note that there is no guarantee that the resulting byte
2148 sequence is valid in any given encoding. As a special case, %00 is not
2149 unescaped to NUL, as that would prematurely terminate the string.
2150 Also note that since paths usually start with a slash, the first component
2151 will usually be the empty string.</doc>
2153 <doc xml:whitespace="preserve">a string vector. g_strfreev() after usage.</doc>
2154 <array c:type="gchar**">
2159 <method name="free" c:identifier="gst_rtsp_url_free">
2160 <doc xml:whitespace="preserve">Free the memory used by @url.</doc>
2161 <return-value transfer-ownership="none">
2162 <type name="none" c:type="void"/>
2165 <method name="get_port" c:identifier="gst_rtsp_url_get_port">
2166 <doc xml:whitespace="preserve">Get the port number of @url.</doc>
2167 <return-value transfer-ownership="none">
2168 <doc xml:whitespace="preserve">#GST_RTSP_OK.</doc>
2169 <type name="RTSPResult" c:type="GstRTSPResult"/>
2172 <parameter name="port" transfer-ownership="none">
2173 <doc xml:whitespace="preserve">location to hold the port</doc>
2174 <type name="guint16" c:type="guint16*"/>
2178 <method name="get_request_uri"
2179 c:identifier="gst_rtsp_url_get_request_uri">
2180 <doc xml:whitespace="preserve">Get a newly allocated string describing the request URI for @url.</doc>
2181 <return-value transfer-ownership="full">
2182 <doc xml:whitespace="preserve">a string with the request URI. g_free() after usage.</doc>
2183 <type name="utf8" c:type="gchar*"/>
2186 <method name="set_port" c:identifier="gst_rtsp_url_set_port">
2187 <doc xml:whitespace="preserve">Set the port number in @url to @port.</doc>
2188 <return-value transfer-ownership="none">
2189 <doc xml:whitespace="preserve">#GST_RTSP_OK.</doc>
2190 <type name="RTSPResult" c:type="GstRTSPResult"/>
2193 <parameter name="port" transfer-ownership="none">
2194 <doc xml:whitespace="preserve">the port</doc>
2195 <type name="guint16" c:type="guint16"/>
2200 <enumeration name="RTSPVersion"
2201 glib:type-name="GstRTSPVersion"
2202 glib:get-type="gst_rtsp_version_get_type"
2203 c:type="GstRTSPVersion">
2204 <doc xml:whitespace="preserve">The supported RTSP versions.</doc>
2205 <member name="invalid"
2207 c:identifier="GST_RTSP_VERSION_INVALID"
2208 glib:nick="invalid"/>
2211 c:identifier="GST_RTSP_VERSION_1_0"
2215 c:identifier="GST_RTSP_VERSION_1_1"
2218 <record name="RTSPWatch" c:type="GstRTSPWatch" disguised="1">
2219 <doc xml:whitespace="preserve">Opaque RTSP watch object that can be used for asynchronous RTSP
2221 <method name="attach"
2222 c:identifier="gst_rtsp_watch_attach"
2224 <doc xml:whitespace="preserve">Adds a #GstRTSPWatch to a context so that it will be executed within that context.</doc>
2225 <return-value transfer-ownership="none">
2226 <doc xml:whitespace="preserve">the ID (greater than 0) for the watch within the GMainContext.</doc>
2227 <type name="guint" c:type="guint"/>
2230 <parameter name="context" transfer-ownership="none">
2231 <doc xml:whitespace="preserve">a GMainContext (if NULL, the default context will be used)</doc>
2232 <type name="GLib.MainContext" c:type="GMainContext*"/>
2236 <method name="queue_data"
2237 c:identifier="gst_rtsp_watch_queue_data"
2239 deprecated="Use gst_rtsp_watch_write_data()">
2240 <doc xml:whitespace="preserve">Queue @data for transmission in @watch. It will be transmitted when the
2241 connection of the @watch becomes writable.
2242 This function will take ownership of @data and g_free() it after use.
2243 The return value of this function will be used as the id argument in the
2244 message_sent callback.</doc>
2245 <return-value transfer-ownership="none">
2246 <doc xml:whitespace="preserve">an id.</doc>
2247 <type name="guint" c:type="guint"/>
2250 <parameter name="data" transfer-ownership="none">
2251 <doc xml:whitespace="preserve">the data to queue</doc>
2252 <type name="guint8" c:type="guint8*"/>
2254 <parameter name="size" transfer-ownership="none">
2255 <doc xml:whitespace="preserve">the size of @data</doc>
2256 <type name="guint" c:type="guint"/>
2260 <method name="queue_message"
2261 c:identifier="gst_rtsp_watch_queue_message"
2263 deprecated="Use gst_rtsp_watch_send_message()">
2264 <doc xml:whitespace="preserve">Queue a @message for transmission in @watch. The contents of this
2265 message will be serialized and transmitted when the connection of the
2266 The return value of this function will be used as the id argument in the
2267 message_sent callback.</doc>
2268 <return-value transfer-ownership="none">
2269 <doc xml:whitespace="preserve">an id.</doc>
2270 <type name="guint" c:type="guint"/>
2273 <parameter name="message" transfer-ownership="none">
2274 <doc xml:whitespace="preserve">a #GstRTSPMessage</doc>
2275 <type name="RTSPMessage" c:type="GstRTSPMessage*"/>
2279 <method name="reset"
2280 c:identifier="gst_rtsp_watch_reset"
2282 <doc xml:whitespace="preserve">Reset @watch, this is usually called after gst_rtsp_connection_do_tunnel()
2283 when the file descriptors of the connection might have changed.</doc>
2284 <return-value transfer-ownership="none">
2285 <type name="none" c:type="void"/>
2288 <method name="send_message"
2289 c:identifier="gst_rtsp_watch_send_message"
2291 <doc xml:whitespace="preserve">Send a @message using the connection of the @watch. If it cannot be sent
2292 immediately, it will be queued for transmission in @watch. The contents of
2294 <return-value transfer-ownership="none">
2295 <doc xml:whitespace="preserve">#GST_RTSP_OK on success.</doc>
2296 <type name="RTSPResult" c:type="GstRTSPResult"/>
2299 <parameter name="message" transfer-ownership="none">
2300 <doc xml:whitespace="preserve">a #GstRTSPMessage</doc>
2301 <type name="RTSPMessage" c:type="GstRTSPMessage*"/>
2303 <parameter name="id" transfer-ownership="none">
2304 <doc xml:whitespace="preserve">location for a message ID or %NULL</doc>
2305 <type name="guint" c:type="guint*"/>
2309 <method name="unref"
2310 c:identifier="gst_rtsp_watch_unref"
2312 <doc xml:whitespace="preserve">Decreases the reference count of @watch by one. If the resulting reference
2313 count is zero the watch and associated memory will be destroyed.</doc>
2314 <return-value transfer-ownership="none">
2315 <type name="none" c:type="void"/>
2318 <method name="write_data"
2319 c:identifier="gst_rtsp_watch_write_data"
2321 <doc xml:whitespace="preserve">Write @data using the connection of the @watch. If it cannot be sent
2322 immediately, it will be queued for transmission in @watch. The contents of
2324 This function will take ownership of @data and g_free() it after use.</doc>
2325 <return-value transfer-ownership="none">
2326 <doc xml:whitespace="preserve">#GST_RTSP_OK on success.</doc>
2327 <type name="RTSPResult" c:type="GstRTSPResult"/>
2330 <parameter name="data" transfer-ownership="none">
2331 <doc xml:whitespace="preserve">the data to queue</doc>
2332 <type name="guint8" c:type="guint8*"/>
2334 <parameter name="size" transfer-ownership="none">
2335 <doc xml:whitespace="preserve">the size of @data</doc>
2336 <type name="guint" c:type="guint"/>
2338 <parameter name="id" transfer-ownership="none">
2339 <doc xml:whitespace="preserve">location for a message ID or %NULL</doc>
2340 <type name="guint" c:type="guint*"/>
2345 <record name="RTSPWatchFuncs" c:type="GstRTSPWatchFuncs" version="0.10.23">
2346 <doc xml:whitespace="preserve">Callback functions from a #GstRTSPWatch.</doc>
2347 <field name="message_received">
2348 <callback name="message_received">
2349 <return-value transfer-ownership="none">
2350 <type name="RTSPResult" c:type="GstRTSPResult"/>
2353 <parameter name="watch" transfer-ownership="none">
2354 <type name="RTSPWatch" c:type="GstRTSPWatch*"/>
2356 <parameter name="message" transfer-ownership="none">
2357 <type name="RTSPMessage" c:type="GstRTSPMessage*"/>
2359 <parameter name="user_data" transfer-ownership="none" closure="2">
2360 <type name="gpointer" c:type="gpointer"/>
2365 <field name="message_sent">
2366 <callback name="message_sent">
2367 <return-value transfer-ownership="none">
2368 <type name="RTSPResult" c:type="GstRTSPResult"/>
2371 <parameter name="watch" transfer-ownership="none">
2372 <type name="RTSPWatch" c:type="GstRTSPWatch*"/>
2374 <parameter name="id" transfer-ownership="none">
2375 <type name="guint" c:type="guint"/>
2377 <parameter name="user_data" transfer-ownership="none" closure="2">
2378 <type name="gpointer" c:type="gpointer"/>
2383 <field name="closed">
2384 <callback name="closed">
2385 <return-value transfer-ownership="none">
2386 <type name="RTSPResult" c:type="GstRTSPResult"/>
2389 <parameter name="watch" transfer-ownership="none">
2390 <type name="RTSPWatch" c:type="GstRTSPWatch*"/>
2392 <parameter name="user_data" transfer-ownership="none" closure="1">
2393 <type name="gpointer" c:type="gpointer"/>
2398 <field name="error">
2399 <callback name="error">
2400 <return-value transfer-ownership="none">
2401 <type name="RTSPResult" c:type="GstRTSPResult"/>
2404 <parameter name="watch" transfer-ownership="none">
2405 <type name="RTSPWatch" c:type="GstRTSPWatch*"/>
2407 <parameter name="result" transfer-ownership="none">
2408 <type name="RTSPResult" c:type="GstRTSPResult"/>
2410 <parameter name="user_data" transfer-ownership="none" closure="2">
2411 <type name="gpointer" c:type="gpointer"/>
2416 <field name="tunnel_start">
2417 <callback name="tunnel_start">
2418 <return-value transfer-ownership="none">
2419 <type name="RTSPStatusCode" c:type="GstRTSPStatusCode"/>
2422 <parameter name="watch" transfer-ownership="none">
2423 <type name="RTSPWatch" c:type="GstRTSPWatch*"/>
2425 <parameter name="user_data" transfer-ownership="none" closure="1">
2426 <type name="gpointer" c:type="gpointer"/>
2431 <field name="tunnel_complete">
2432 <callback name="tunnel_complete">
2433 <return-value transfer-ownership="none">
2434 <type name="RTSPResult" c:type="GstRTSPResult"/>
2437 <parameter name="watch" transfer-ownership="none">
2438 <type name="RTSPWatch" c:type="GstRTSPWatch*"/>
2440 <parameter name="user_data" transfer-ownership="none" closure="1">
2441 <type name="gpointer" c:type="gpointer"/>
2446 <field name="error_full">
2447 <callback name="error_full">
2448 <return-value transfer-ownership="none">
2449 <type name="RTSPResult" c:type="GstRTSPResult"/>
2452 <parameter name="watch" transfer-ownership="none">
2453 <type name="RTSPWatch" c:type="GstRTSPWatch*"/>
2455 <parameter name="result" transfer-ownership="none">
2456 <type name="RTSPResult" c:type="GstRTSPResult"/>
2458 <parameter name="message" transfer-ownership="none">
2459 <type name="RTSPMessage" c:type="GstRTSPMessage*"/>
2461 <parameter name="id" transfer-ownership="none">
2462 <type name="guint" c:type="guint"/>
2464 <parameter name="user_data" transfer-ownership="none" closure="4">
2465 <type name="gpointer" c:type="gpointer"/>
2470 <field name="tunnel_lost">
2471 <callback name="tunnel_lost">
2472 <return-value transfer-ownership="none">
2473 <type name="RTSPResult" c:type="GstRTSPResult"/>
2476 <parameter name="watch" transfer-ownership="none">
2477 <type name="RTSPWatch" c:type="GstRTSPWatch*"/>
2479 <parameter name="user_data" transfer-ownership="none" closure="1">
2480 <type name="gpointer" c:type="gpointer"/>
2485 <field name="_gst_reserved" writable="1">
2486 <array zero-terminated="0" c:type="gpointer" fixed-size="2">
2487 <type name="gpointer" c:type="gpointer"/>
2491 <constant name="RTSP_DEFAULT_PORT" value="554">
2492 <type name="gint" c:type="gint"/>
2494 <function name="rtsp_base64_decode_ip"
2495 c:identifier="gst_rtsp_base64_decode_ip"
2496 deprecated="use g_base64_decode_inplace() instead.">
2497 <doc xml:whitespace="preserve">Decode the base64 string pointed to by @data in-place. When @len is not #NULL
2498 it will contain the length of the decoded data.</doc>
2499 <return-value transfer-ownership="none">
2500 <type name="none" c:type="void"/>
2503 <parameter name="data" transfer-ownership="none">
2504 <doc xml:whitespace="preserve">the base64 encoded data</doc>
2505 <type name="utf8" c:type="gchar*"/>
2507 <parameter name="len" transfer-ownership="none">
2508 <doc xml:whitespace="preserve">location for output length or NULL</doc>
2509 <type name="gulong" c:type="gsize*"/>
2513 <function name="rtsp_base64_encode"
2514 c:identifier="gst_rtsp_base64_encode"
2515 deprecated="Use g_base64_encode()">
2516 <doc xml:whitespace="preserve">Encode a sequence of binary data into its Base-64 stringified representation.
2517 representing @data.</doc>
2518 <return-value transfer-ownership="full">
2519 <doc xml:whitespace="preserve">a newly allocated, zero-terminated Base-64 encoded string</doc>
2520 <type name="utf8" c:type="gchar*"/>
2523 <parameter name="data" transfer-ownership="none">
2524 <doc xml:whitespace="preserve">the binary data to encode</doc>
2525 <type name="utf8" c:type="gchar*"/>
2527 <parameter name="len" transfer-ownership="none">
2528 <doc xml:whitespace="preserve">the length of @data</doc>
2529 <type name="gulong" c:type="gsize"/>
2533 <function name="rtsp_connection_accept"
2534 c:identifier="gst_rtsp_connection_accept"
2536 <doc xml:whitespace="preserve">Accept a new connection on @sock and create a new #GstRTSPConnection for
2537 handling communication on new socket.</doc>
2538 <return-value transfer-ownership="none">
2539 <doc xml:whitespace="preserve">#GST_RTSP_OK when @conn contains a valid connection.</doc>
2540 <type name="RTSPResult" c:type="GstRTSPResult"/>
2543 <parameter name="sock" transfer-ownership="none">
2544 <doc xml:whitespace="preserve">a socket</doc>
2545 <type name="gint" c:type="gint"/>
2547 <parameter name="conn" transfer-ownership="none">
2548 <doc xml:whitespace="preserve">storage for a #GstRTSPConnection</doc>
2549 <type name="RTSPConnection" c:type="GstRTSPConnection**"/>
2553 <function name="rtsp_connection_create"
2554 c:identifier="gst_rtsp_connection_create">
2555 <doc xml:whitespace="preserve">Create a newly allocated #GstRTSPConnection from @url and store it in @conn.
2556 The connection will not yet attempt to connect to @url, use
2557 gst_rtsp_connection_connect().
2558 A copy of @url will be made.</doc>
2559 <return-value transfer-ownership="none">
2560 <doc xml:whitespace="preserve">#GST_RTSP_OK when @conn contains a valid connection.</doc>
2561 <type name="RTSPResult" c:type="GstRTSPResult"/>
2564 <parameter name="url" transfer-ownership="none">
2565 <doc xml:whitespace="preserve">a #GstRTSPUrl</doc>
2566 <type name="RTSPUrl" c:type="GstRTSPUrl*"/>
2568 <parameter name="conn" transfer-ownership="none">
2569 <doc xml:whitespace="preserve">storage for a #GstRTSPConnection</doc>
2570 <type name="RTSPConnection" c:type="GstRTSPConnection**"/>
2574 <function name="rtsp_connection_create_from_fd"
2575 c:identifier="gst_rtsp_connection_create_from_fd"
2577 <doc xml:whitespace="preserve">Create a new #GstRTSPConnection for handling communication on the existing
2578 file descriptor @fd. The @initial_buffer contains any data already read from</doc>
2579 <return-value transfer-ownership="none">
2580 <doc xml:whitespace="preserve">#GST_RTSP_OK when @conn contains a valid connection.</doc>
2581 <type name="RTSPResult" c:type="GstRTSPResult"/>
2584 <parameter name="fd" transfer-ownership="none">
2585 <doc xml:whitespace="preserve">a file descriptor</doc>
2586 <type name="gint" c:type="gint"/>
2588 <parameter name="ip" transfer-ownership="none">
2589 <doc xml:whitespace="preserve">the IP address of the other end</doc>
2590 <type name="utf8" c:type="gchar*"/>
2592 <parameter name="port" transfer-ownership="none">
2593 <doc xml:whitespace="preserve">the port used by the other end</doc>
2594 <type name="guint16" c:type="guint16"/>
2596 <parameter name="initial_buffer" transfer-ownership="none">
2597 <doc xml:whitespace="preserve">data already read from @fd</doc>
2598 <type name="utf8" c:type="gchar*"/>
2600 <parameter name="conn" transfer-ownership="none">
2601 <doc xml:whitespace="preserve">storage for a #GstRTSPConnection</doc>
2602 <type name="RTSPConnection" c:type="GstRTSPConnection**"/>
2606 <function name="rtsp_find_header_field"
2607 c:identifier="gst_rtsp_find_header_field">
2608 <doc xml:whitespace="preserve">Convert @header to a #GstRTSPHeaderField.
2609 header field is unknown.</doc>
2610 <return-value transfer-ownership="none">
2611 <doc xml:whitespace="preserve">a #GstRTSPHeaderField for @header or #GST_RTSP_HDR_INVALID if the</doc>
2612 <type name="RTSPHeaderField" c:type="GstRTSPHeaderField"/>
2615 <parameter name="header" transfer-ownership="none">
2616 <doc xml:whitespace="preserve">a header string</doc>
2617 <type name="utf8" c:type="gchar*"/>
2621 <function name="rtsp_find_method" c:identifier="gst_rtsp_find_method">
2622 <doc xml:whitespace="preserve">Convert @method to a #GstRTSPMethod.
2623 method is unknown.</doc>
2624 <return-value transfer-ownership="none">
2625 <doc xml:whitespace="preserve">a #GstRTSPMethod for @method or #GST_RTSP_INVALID if the</doc>
2626 <type name="RTSPMethod" c:type="GstRTSPMethod"/>
2629 <parameter name="method" transfer-ownership="none">
2630 <doc xml:whitespace="preserve">a method</doc>
2631 <type name="utf8" c:type="gchar*"/>
2635 <function name="rtsp_header_allow_multiple"
2636 c:identifier="gst_rtsp_header_allow_multiple"
2638 <doc xml:whitespace="preserve">Check whether @field may appear multiple times in a message.</doc>
2639 <return-value transfer-ownership="none">
2640 <doc xml:whitespace="preserve">%TRUE if multiple headers are allowed.</doc>
2641 <type name="gboolean" c:type="gboolean"/>
2644 <parameter name="field" transfer-ownership="none">
2645 <doc xml:whitespace="preserve">a #GstRTSPHeaderField</doc>
2646 <type name="RTSPHeaderField" c:type="GstRTSPHeaderField"/>
2650 <function name="rtsp_header_as_text"
2651 c:identifier="gst_rtsp_header_as_text">
2652 <doc xml:whitespace="preserve">Convert @field to a string.</doc>
2653 <return-value transfer-ownership="none">
2654 <doc xml:whitespace="preserve">a string representation of @field.</doc>
2655 <type name="utf8" c:type="gchar*"/>
2658 <parameter name="field" transfer-ownership="none">
2659 <doc xml:whitespace="preserve">a #GstRTSPHeaderField</doc>
2660 <type name="RTSPHeaderField" c:type="GstRTSPHeaderField"/>
2664 <function name="rtsp_message_get_type"
2665 c:identifier="gst_rtsp_message_get_type">
2666 <doc xml:whitespace="preserve">Get the message type of @msg.</doc>
2667 <return-value transfer-ownership="none">
2668 <doc xml:whitespace="preserve">the message type.</doc>
2669 <type name="RTSPMsgType" c:type="GstRTSPMsgType"/>
2672 <parameter name="msg" transfer-ownership="none">
2673 <doc xml:whitespace="preserve">a #GstRTSPMessage</doc>
2674 <type name="RTSPMessage" c:type="GstRTSPMessage*"/>
2678 <function name="rtsp_message_new" c:identifier="gst_rtsp_message_new">
2679 <doc xml:whitespace="preserve">Create a new initialized #GstRTSPMessage. Free with gst_rtsp_message_free().</doc>
2680 <return-value transfer-ownership="none">
2681 <doc xml:whitespace="preserve">a #GstRTSPResult.</doc>
2682 <type name="RTSPResult" c:type="GstRTSPResult"/>
2685 <parameter name="msg" transfer-ownership="none">
2686 <doc xml:whitespace="preserve">a location for the new #GstRTSPMessage</doc>
2687 <type name="RTSPMessage" c:type="GstRTSPMessage**"/>
2691 <function name="rtsp_message_new_data"
2692 c:identifier="gst_rtsp_message_new_data">
2693 <doc xml:whitespace="preserve">Create a new data #GstRTSPMessage with @channel and store the
2694 result message in @msg. Free with gst_rtsp_message_free().</doc>
2695 <return-value transfer-ownership="none">
2696 <doc xml:whitespace="preserve">a #GstRTSPResult.</doc>
2697 <type name="RTSPResult" c:type="GstRTSPResult"/>
2700 <parameter name="msg" transfer-ownership="none">
2701 <doc xml:whitespace="preserve">a location for the new #GstRTSPMessage</doc>
2702 <type name="RTSPMessage" c:type="GstRTSPMessage**"/>
2704 <parameter name="channel" transfer-ownership="none">
2705 <doc xml:whitespace="preserve">the channel</doc>
2706 <type name="guint8" c:type="guint8"/>
2710 <function name="rtsp_message_new_request"
2711 c:identifier="gst_rtsp_message_new_request">
2712 <doc xml:whitespace="preserve">Create a new #GstRTSPMessage with @method and @uri and store the result
2713 request message in @msg. Free with gst_rtsp_message_free().</doc>
2714 <return-value transfer-ownership="none">
2715 <doc xml:whitespace="preserve">a #GstRTSPResult.</doc>
2716 <type name="RTSPResult" c:type="GstRTSPResult"/>
2719 <parameter name="msg" transfer-ownership="none">
2720 <doc xml:whitespace="preserve">a location for the new #GstRTSPMessage</doc>
2721 <type name="RTSPMessage" c:type="GstRTSPMessage**"/>
2723 <parameter name="method" transfer-ownership="none">
2724 <doc xml:whitespace="preserve">the request method to use</doc>
2725 <type name="RTSPMethod" c:type="GstRTSPMethod"/>
2727 <parameter name="uri" transfer-ownership="none">
2728 <doc xml:whitespace="preserve">the uri of the request</doc>
2729 <type name="utf8" c:type="gchar*"/>
2733 <function name="rtsp_message_new_response"
2734 c:identifier="gst_rtsp_message_new_response">
2735 <doc xml:whitespace="preserve">Create a new response #GstRTSPMessage with @code and @reason and store the
2736 result message in @msg. Free with gst_rtsp_message_free().
2737 When @reason is #NULL, the default reason for @code will be used.
2738 When @request is not #NULL, the relevant headers will be copied to the new
2739 response message.</doc>
2740 <return-value transfer-ownership="none">
2741 <doc xml:whitespace="preserve">a #GstRTSPResult.</doc>
2742 <type name="RTSPResult" c:type="GstRTSPResult"/>
2745 <parameter name="msg" transfer-ownership="none">
2746 <doc xml:whitespace="preserve">a location for the new #GstRTSPMessage</doc>
2747 <type name="RTSPMessage" c:type="GstRTSPMessage**"/>
2749 <parameter name="code" transfer-ownership="none">
2750 <doc xml:whitespace="preserve">the status code</doc>
2751 <type name="RTSPStatusCode" c:type="GstRTSPStatusCode"/>
2753 <parameter name="reason" transfer-ownership="none">
2754 <doc xml:whitespace="preserve">the status reason or #NULL</doc>
2755 <type name="utf8" c:type="gchar*"/>
2757 <parameter name="request" transfer-ownership="none">
2758 <doc xml:whitespace="preserve">the request that triggered the response or #NULL</doc>
2759 <type name="RTSPMessage" c:type="GstRTSPMessage*"/>
2763 <function name="rtsp_method_as_text"
2764 c:identifier="gst_rtsp_method_as_text">
2765 <doc xml:whitespace="preserve">Convert @method to a string.</doc>
2766 <return-value transfer-ownership="none">
2767 <doc xml:whitespace="preserve">a string representation of @method.</doc>
2768 <type name="utf8" c:type="gchar*"/>
2771 <parameter name="method" transfer-ownership="none">
2772 <doc xml:whitespace="preserve">a #GstRTSPMethod</doc>
2773 <type name="RTSPMethod" c:type="GstRTSPMethod"/>
2777 <function name="rtsp_options_as_text"
2778 c:identifier="gst_rtsp_options_as_text"
2780 <doc xml:whitespace="preserve">Convert @options to a string.</doc>
2781 <return-value transfer-ownership="full">
2782 <doc xml:whitespace="preserve">a new string of @options. g_free() after usage.</doc>
2783 <type name="utf8" c:type="gchar*"/>
2786 <parameter name="options" transfer-ownership="none">
2787 <doc xml:whitespace="preserve">one or more #GstRTSPMethod</doc>
2788 <type name="RTSPMethod" c:type="GstRTSPMethod"/>
2792 <function name="rtsp_range_free" c:identifier="gst_rtsp_range_free">
2793 <doc xml:whitespace="preserve">Free the memory alocated by @range.</doc>
2794 <return-value transfer-ownership="none">
2795 <type name="none" c:type="void"/>
2798 <parameter name="range" transfer-ownership="none">
2799 <doc xml:whitespace="preserve">a #GstRTSPTimeRange</doc>
2800 <type name="RTSPTimeRange" c:type="GstRTSPTimeRange*"/>
2804 <function name="rtsp_range_parse" c:identifier="gst_rtsp_range_parse">
2805 <doc xml:whitespace="preserve">Parse @rangestr to a #GstRTSPTimeRange.</doc>
2806 <return-value transfer-ownership="none">
2807 <doc xml:whitespace="preserve">#GST_RTSP_OK on success.</doc>
2808 <type name="RTSPResult" c:type="GstRTSPResult"/>
2811 <parameter name="rangestr" transfer-ownership="none">
2812 <doc xml:whitespace="preserve">a range string to parse</doc>
2813 <type name="utf8" c:type="gchar*"/>
2815 <parameter name="range" transfer-ownership="none">
2816 <doc xml:whitespace="preserve">location to hold the #GstRTSPTimeRange result</doc>
2817 <type name="RTSPTimeRange" c:type="GstRTSPTimeRange**"/>
2821 <function name="rtsp_range_to_string"
2822 c:identifier="gst_rtsp_range_to_string"
2824 <doc xml:whitespace="preserve">Convert @range into a string representation.</doc>
2825 <return-value transfer-ownership="full">
2826 <doc xml:whitespace="preserve">The string representation of @range. g_free() after usage.</doc>
2827 <type name="utf8" c:type="gchar*"/>
2830 <parameter name="range" transfer-ownership="none">
2831 <doc xml:whitespace="preserve">a #GstRTSPTimeRange</doc>
2832 <type name="RTSPTimeRange" c:type="GstRTSPTimeRange*"/>
2836 <function name="rtsp_status_as_text"
2837 c:identifier="gst_rtsp_status_as_text">
2838 <doc xml:whitespace="preserve">Convert @code to a string.</doc>
2839 <return-value transfer-ownership="none">
2840 <doc xml:whitespace="preserve">a string representation of @code.</doc>
2841 <type name="utf8" c:type="gchar*"/>
2844 <parameter name="code" transfer-ownership="none">
2845 <doc xml:whitespace="preserve">a #GstRTSPStatusCode</doc>
2846 <type name="RTSPStatusCode" c:type="GstRTSPStatusCode"/>
2850 <function name="rtsp_strresult" c:identifier="gst_rtsp_strresult">
2851 <doc xml:whitespace="preserve">Convert @result in a human readable string.</doc>
2852 <return-value transfer-ownership="full">
2853 <doc xml:whitespace="preserve">a newly allocated string. g_free() after usage.</doc>
2854 <type name="utf8" c:type="gchar*"/>
2857 <parameter name="result" transfer-ownership="none">
2858 <doc xml:whitespace="preserve">a #GstRTSPResult</doc>
2859 <type name="RTSPResult" c:type="GstRTSPResult"/>
2863 <function name="rtsp_transport_get_manager"
2864 c:identifier="gst_rtsp_transport_get_manager">
2865 <doc xml:whitespace="preserve">Get the #GStreamer element that can handle the buffers transported over
2866 It is possible that there are several managers available, use @option to
2868 needed/available for @trans.</doc>
2869 <return-value transfer-ownership="none">
2870 <doc xml:whitespace="preserve">#GST_RTSP_OK.</doc>
2871 <type name="RTSPResult" c:type="GstRTSPResult"/>
2874 <parameter name="trans" transfer-ownership="none">
2875 <doc xml:whitespace="preserve">a #GstRTSPTransMode</doc>
2876 <type name="RTSPTransMode" c:type="GstRTSPTransMode"/>
2878 <parameter name="manager" transfer-ownership="none">
2879 <doc xml:whitespace="preserve">location to hold the result</doc>
2880 <type name="utf8" c:type="gchar**"/>
2882 <parameter name="option" transfer-ownership="none">
2883 <doc xml:whitespace="preserve">option index.</doc>
2884 <type name="guint" c:type="guint"/>
2888 <function name="rtsp_transport_get_mime"
2889 c:identifier="gst_rtsp_transport_get_mime">
2890 <doc xml:whitespace="preserve">Get the mime type of the transport mode @trans. This mime type is typically
2891 used to generate #GstCaps on buffers.</doc>
2892 <return-value transfer-ownership="none">
2893 <doc xml:whitespace="preserve">#GST_RTSP_OK.</doc>
2894 <type name="RTSPResult" c:type="GstRTSPResult"/>
2897 <parameter name="trans" transfer-ownership="none">
2898 <doc xml:whitespace="preserve">a #GstRTSPTransMode</doc>
2899 <type name="RTSPTransMode" c:type="GstRTSPTransMode"/>
2901 <parameter name="mime" transfer-ownership="none">
2902 <doc xml:whitespace="preserve">location to hold the result</doc>
2903 <type name="utf8" c:type="gchar**"/>
2907 <function name="rtsp_transport_new" c:identifier="gst_rtsp_transport_new">
2908 <doc xml:whitespace="preserve">Allocate a new initialized #GstRTSPTransport. Use gst_rtsp_transport_free()
2910 <return-value transfer-ownership="none">
2911 <doc xml:whitespace="preserve">a #GstRTSPResult.</doc>
2912 <type name="RTSPResult" c:type="GstRTSPResult"/>
2915 <parameter name="transport" transfer-ownership="none">
2916 <doc xml:whitespace="preserve">location to hold the new #GstRTSPTransport</doc>
2917 <type name="RTSPTransport" c:type="GstRTSPTransport**"/>
2921 <function name="rtsp_transport_parse"
2922 c:identifier="gst_rtsp_transport_parse">
2923 <doc xml:whitespace="preserve">Parse the RTSP transport string @str into @transport.</doc>
2924 <return-value transfer-ownership="none">
2925 <doc xml:whitespace="preserve">a #GstRTSPResult.</doc>
2926 <type name="RTSPResult" c:type="GstRTSPResult"/>
2929 <parameter name="str" transfer-ownership="none">
2930 <doc xml:whitespace="preserve">a transport string</doc>
2931 <type name="utf8" c:type="gchar*"/>
2933 <parameter name="transport" transfer-ownership="none">
2934 <doc xml:whitespace="preserve">a #GstRTSPTransport</doc>
2935 <type name="RTSPTransport" c:type="GstRTSPTransport*"/>
2939 <function name="rtsp_url_parse" c:identifier="gst_rtsp_url_parse">
2940 <doc xml:whitespace="preserve">Parse the RTSP @urlstr into a newly allocated #GstRTSPUrl. Free after usage
2941 with gst_rtsp_url_free().</doc>
2942 <return-value transfer-ownership="none">
2943 <doc xml:whitespace="preserve">a #GstRTSPResult.</doc>
2944 <type name="RTSPResult" c:type="GstRTSPResult"/>
2947 <parameter name="urlstr" transfer-ownership="none">
2948 <doc xml:whitespace="preserve">the url string to parse</doc>
2949 <type name="utf8" c:type="gchar*"/>
2951 <parameter name="url" transfer-ownership="none">
2952 <doc xml:whitespace="preserve">location to hold the result.</doc>
2953 <type name="RTSPUrl" c:type="GstRTSPUrl**"/>
2957 <function name="rtsp_version_as_text"
2958 c:identifier="gst_rtsp_version_as_text">
2959 <doc xml:whitespace="preserve">Convert @version to a string.</doc>
2960 <return-value transfer-ownership="none">
2961 <doc xml:whitespace="preserve">a string representation of @version.</doc>
2962 <type name="utf8" c:type="gchar*"/>
2965 <parameter name="version" transfer-ownership="none">
2966 <doc xml:whitespace="preserve">a #GstRTSPVersion</doc>
2967 <type name="RTSPVersion" c:type="GstRTSPVersion"/>
2971 <function name="rtsp_watch_new"
2972 c:identifier="gst_rtsp_watch_new"
2975 <doc xml:whitespace="preserve">Create a watch object for @conn. The functions provided in @funcs will be
2976 called with @user_data when activity happened on the watch.
2977 The new watch is usually created so that it can be attached to a
2978 maincontext with gst_rtsp_watch_attach().
2979 communication. Free with gst_rtsp_watch_unref () after usage.</doc>
2981 <doc xml:whitespace="preserve">a #GstRTSPWatch that can be used for asynchronous RTSP</doc>
2982 <type name="RTSPWatch" c:type="GstRTSPWatch*"/>
2985 <parameter name="conn" transfer-ownership="none">
2986 <doc xml:whitespace="preserve">a #GstRTSPConnection</doc>
2987 <type name="RTSPConnection" c:type="GstRTSPConnection*"/>
2989 <parameter name="funcs" transfer-ownership="none">
2990 <doc xml:whitespace="preserve">watch functions</doc>
2991 <type name="RTSPWatchFuncs" c:type="GstRTSPWatchFuncs*"/>
2993 <parameter name="user_data" transfer-ownership="none">
2994 <doc xml:whitespace="preserve">user data to pass to @funcs</doc>
2995 <type name="gpointer" c:type="gpointer"/>
2997 <parameter name="notify" transfer-ownership="none" scope="async">
2998 <doc xml:whitespace="preserve">notify when @user_data is not referenced anymore</doc>
2999 <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>