1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <title>GStreamer RTSP Server Reference Manual: GstRTSPClient</title>
6 <meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7 <link rel="home" href="index.html" title="GStreamer RTSP Server Reference Manual">
8 <link rel="up" href="ch01.html" title="">
9 <link rel="prev" href="GstRTSPServer.html" title="GstRTSPServer">
10 <link rel="next" href="gst-rtsp-server-GstRTSPContext.html" title="GstRTSPContext">
11 <meta name="generator" content="GTK-Doc V1.21 (XML mode)">
12 <link rel="stylesheet" href="style.css" type="text/css">
14 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
16 <td width="100%" align="left" class="shortcuts">
17 <a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
18 <a href="#GstRTSPClient.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
19 <a href="#GstRTSPClient.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties"> <span class="dim">|</span>
20 <a href="#GstRTSPClient.properties" class="shortcut">Properties</a></span><span id="nav_signals"> <span class="dim">|</span>
21 <a href="#GstRTSPClient.signals" class="shortcut">Signals</a></span>
23 <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
24 <td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
25 <td><a accesskey="p" href="GstRTSPServer.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
26 <td><a accesskey="n" href="gst-rtsp-server-GstRTSPContext.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
28 <div class="refentry">
29 <a name="GstRTSPClient"></a><div class="titlepage"></div>
30 <div class="refnamediv"><table width="100%"><tr>
32 <h2><span class="refentrytitle"><a name="GstRTSPClient.top_of_page"></a>GstRTSPClient</span></h2>
33 <p>GstRTSPClient — A client connection state</p>
35 <td class="gallery_image" valign="top" align="right"></td>
37 <div class="refsect1">
38 <a name="GstRTSPClient.functions"></a><h2>Functions</h2>
39 <div class="informaltable"><table width="100%" border="0">
41 <col width="150px" class="functions_return">
42 <col class="functions_name">
46 <td class="function_type">
47 <a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="returnvalue">GstRTSPClient</span></a> *
49 <td class="function_name">
50 <a class="link" href="GstRTSPClient.html#gst-rtsp-client-new" title="gst_rtsp_client_new ()">gst_rtsp_client_new</a> <span class="c_punctuation">()</span>
54 <td class="function_type">
55 <span class="returnvalue">void</span>
57 <td class="function_name">
58 <a class="link" href="GstRTSPClient.html#gst-rtsp-client-close" title="gst_rtsp_client_close ()">gst_rtsp_client_close</a> <span class="c_punctuation">()</span>
62 <td class="function_type">
63 <a class="link" href="GstRTSPSessionPool.html" title="GstRTSPSessionPool"><span class="returnvalue">GstRTSPSessionPool</span></a> *
65 <td class="function_name">
66 <a class="link" href="GstRTSPClient.html#gst-rtsp-client-get-session-pool" title="gst_rtsp_client_get_session_pool ()">gst_rtsp_client_get_session_pool</a> <span class="c_punctuation">()</span>
70 <td class="function_type">
71 <span class="returnvalue">void</span>
73 <td class="function_name">
74 <a class="link" href="GstRTSPClient.html#gst-rtsp-client-set-session-pool" title="gst_rtsp_client_set_session_pool ()">gst_rtsp_client_set_session_pool</a> <span class="c_punctuation">()</span>
78 <td class="function_type">
79 <a class="link" href="GstRTSPMountPoints.html" title="GstRTSPMountPoints"><span class="returnvalue">GstRTSPMountPoints</span></a> *
81 <td class="function_name">
82 <a class="link" href="GstRTSPClient.html#gst-rtsp-client-get-mount-points" title="gst_rtsp_client_get_mount_points ()">gst_rtsp_client_get_mount_points</a> <span class="c_punctuation">()</span>
86 <td class="function_type">
87 <span class="returnvalue">void</span>
89 <td class="function_name">
90 <a class="link" href="GstRTSPClient.html#gst-rtsp-client-set-mount-points" title="gst_rtsp_client_set_mount_points ()">gst_rtsp_client_set_mount_points</a> <span class="c_punctuation">()</span>
94 <td class="function_type">
95 <a class="link" href="GstRTSPAuth.html" title="GstRTSPAuth"><span class="returnvalue">GstRTSPAuth</span></a> *
97 <td class="function_name">
98 <a class="link" href="GstRTSPClient.html#gst-rtsp-client-get-auth" title="gst_rtsp_client_get_auth ()">gst_rtsp_client_get_auth</a> <span class="c_punctuation">()</span>
102 <td class="function_type">
103 <span class="returnvalue">void</span>
105 <td class="function_name">
106 <a class="link" href="GstRTSPClient.html#gst-rtsp-client-set-auth" title="gst_rtsp_client_set_auth ()">gst_rtsp_client_set_auth</a> <span class="c_punctuation">()</span>
110 <td class="function_type">
111 <a class="link" href="gst-rtsp-server-GstRTSPThreadPool.html#GstRTSPThreadPool" title="struct GstRTSPThreadPool"><span class="returnvalue">GstRTSPThreadPool</span></a> *
113 <td class="function_name">
114 <a class="link" href="GstRTSPClient.html#gst-rtsp-client-get-thread-pool" title="gst_rtsp_client_get_thread_pool ()">gst_rtsp_client_get_thread_pool</a> <span class="c_punctuation">()</span>
118 <td class="function_type">
119 <span class="returnvalue">void</span>
121 <td class="function_name">
122 <a class="link" href="GstRTSPClient.html#gst-rtsp-client-set-thread-pool" title="gst_rtsp_client_set_thread_pool ()">gst_rtsp_client_set_thread_pool</a> <span class="c_punctuation">()</span>
126 <td class="function_type">
127 <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstrtspconnection.html#GstRTSPConnection"><span class="returnvalue">GstRTSPConnection</span></a> *
129 <td class="function_name">
130 <a class="link" href="GstRTSPClient.html#gst-rtsp-client-get-connection" title="gst_rtsp_client_get_connection ()">gst_rtsp_client_get_connection</a> <span class="c_punctuation">()</span>
134 <td class="function_type">
135 <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
137 <td class="function_name">
138 <a class="link" href="GstRTSPClient.html#gst-rtsp-client-set-connection" title="gst_rtsp_client_set_connection ()">gst_rtsp_client_set_connection</a> <span class="c_punctuation">()</span>
142 <td class="function_type">
143 <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
145 <td class="function_name">
146 <a class="link" href="GstRTSPClient.html#gst-rtsp-client-attach" title="gst_rtsp_client_attach ()">gst_rtsp_client_attach</a> <span class="c_punctuation">()</span>
150 <td class="function_type">
151 <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
153 <td class="function_name">
154 <span class="c_punctuation">(</span><a class="link" href="GstRTSPClient.html#GstRTSPClientSendFunc" title="GstRTSPClientSendFunc ()">*GstRTSPClientSendFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
158 <td class="function_type">
159 <span class="returnvalue">void</span>
161 <td class="function_name">
162 <a class="link" href="GstRTSPClient.html#gst-rtsp-client-set-send-func" title="gst_rtsp_client_set_send_func ()">gst_rtsp_client_set_send_func</a> <span class="c_punctuation">()</span>
166 <td class="function_type">
167 <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstrtspdefs.html#GstRTSPResult"><span class="returnvalue">GstRTSPResult</span></a>
169 <td class="function_name">
170 <a class="link" href="GstRTSPClient.html#gst-rtsp-client-handle-message" title="gst_rtsp_client_handle_message ()">gst_rtsp_client_handle_message</a> <span class="c_punctuation">()</span>
174 <td class="function_type">
175 <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstrtspdefs.html#GstRTSPResult"><span class="returnvalue">GstRTSPResult</span></a>
177 <td class="function_name">
178 <a class="link" href="GstRTSPClient.html#gst-rtsp-client-send-message" title="gst_rtsp_client_send_message ()">gst_rtsp_client_send_message</a> <span class="c_punctuation">()</span>
182 <td class="function_type">
183 <a class="link" href="GstRTSPSession.html#GstRTSPFilterResult" title="enum GstRTSPFilterResult"><span class="returnvalue">GstRTSPFilterResult</span></a>
185 <td class="function_name">
186 <span class="c_punctuation">(</span><a class="link" href="GstRTSPClient.html#GstRTSPClientSessionFilterFunc" title="GstRTSPClientSessionFilterFunc ()">*GstRTSPClientSessionFilterFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
190 <td class="function_type">
191 <a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
193 <td class="function_name">
194 <a class="link" href="GstRTSPClient.html#gst-rtsp-client-session-filter" title="gst_rtsp_client_session_filter ()">gst_rtsp_client_session_filter</a> <span class="c_punctuation">()</span>
200 <div class="refsect1">
201 <a name="GstRTSPClient.properties"></a><h2>Properties</h2>
202 <div class="informaltable"><table border="0">
204 <col width="150px" class="properties_type">
205 <col width="300px" class="properties_name">
206 <col width="200px" class="properties_flags">
210 <td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
211 <td class="property_name"><a class="link" href="GstRTSPClient.html#GstRTSPClient--drop-backlog" title="The “drop-backlog” property">drop-backlog</a></td>
212 <td class="property_flags">Read / Write</td>
215 <td class="property_type">
216 <a class="link" href="GstRTSPMountPoints.html" title="GstRTSPMountPoints"><span class="type">GstRTSPMountPoints</span></a> *</td>
217 <td class="property_name"><a class="link" href="GstRTSPClient.html#GstRTSPClient--mount-points" title="The “mount-points” property">mount-points</a></td>
218 <td class="property_flags">Read / Write</td>
221 <td class="property_type">
222 <a class="link" href="GstRTSPSessionPool.html" title="GstRTSPSessionPool"><span class="type">GstRTSPSessionPool</span></a> *</td>
223 <td class="property_name"><a class="link" href="GstRTSPClient.html#GstRTSPClient--session-pool" title="The “session-pool” property">session-pool</a></td>
224 <td class="property_flags">Read / Write</td>
229 <div class="refsect1">
230 <a name="GstRTSPClient.signals"></a><h2>Signals</h2>
231 <div class="informaltable"><table border="0">
233 <col width="150px" class="signals_return">
234 <col width="300px" class="signals_name">
235 <col width="200px" class="signals_flags">
239 <td class="signal_type"><span class="returnvalue">void</span></td>
240 <td class="signal_name"><a class="link" href="GstRTSPClient.html#GstRTSPClient-closed" title="The “closed” signal">closed</a></td>
241 <td class="signal_flags">Run Last</td>
244 <td class="signal_type"><span class="returnvalue">void</span></td>
245 <td class="signal_name"><a class="link" href="GstRTSPClient.html#GstRTSPClient-describe-request" title="The “describe-request” signal">describe-request</a></td>
246 <td class="signal_flags">Run Last</td>
249 <td class="signal_type"><span class="returnvalue">void</span></td>
250 <td class="signal_name"><a class="link" href="GstRTSPClient.html#GstRTSPClient-get-parameter-request" title="The “get-parameter-request” signal">get-parameter-request</a></td>
251 <td class="signal_flags">Run Last</td>
254 <td class="signal_type"><span class="returnvalue">void</span></td>
255 <td class="signal_name"><a class="link" href="GstRTSPClient.html#GstRTSPClient-handle-response" title="The “handle-response” signal">handle-response</a></td>
256 <td class="signal_flags">Run Last</td>
259 <td class="signal_type"><span class="returnvalue">void</span></td>
260 <td class="signal_name"><a class="link" href="GstRTSPClient.html#GstRTSPClient-new-session" title="The “new-session” signal">new-session</a></td>
261 <td class="signal_flags">Run Last</td>
264 <td class="signal_type"><span class="returnvalue">void</span></td>
265 <td class="signal_name"><a class="link" href="GstRTSPClient.html#GstRTSPClient-options-request" title="The “options-request” signal">options-request</a></td>
266 <td class="signal_flags">Run Last</td>
269 <td class="signal_type"><span class="returnvalue">void</span></td>
270 <td class="signal_name"><a class="link" href="GstRTSPClient.html#GstRTSPClient-pause-request" title="The “pause-request” signal">pause-request</a></td>
271 <td class="signal_flags">Run Last</td>
274 <td class="signal_type"><span class="returnvalue">void</span></td>
275 <td class="signal_name"><a class="link" href="GstRTSPClient.html#GstRTSPClient-play-request" title="The “play-request” signal">play-request</a></td>
276 <td class="signal_flags">Run Last</td>
279 <td class="signal_type"><span class="returnvalue">void</span></td>
280 <td class="signal_name"><a class="link" href="GstRTSPClient.html#GstRTSPClient-send-message" title="The “send-message” signal">send-message</a></td>
281 <td class="signal_flags">Run Last</td>
284 <td class="signal_type"><span class="returnvalue">void</span></td>
285 <td class="signal_name"><a class="link" href="GstRTSPClient.html#GstRTSPClient-set-parameter-request" title="The “set-parameter-request” signal">set-parameter-request</a></td>
286 <td class="signal_flags">Run Last</td>
289 <td class="signal_type"><span class="returnvalue">void</span></td>
290 <td class="signal_name"><a class="link" href="GstRTSPClient.html#GstRTSPClient-setup-request" title="The “setup-request” signal">setup-request</a></td>
291 <td class="signal_flags">Run Last</td>
294 <td class="signal_type"><span class="returnvalue">void</span></td>
295 <td class="signal_name"><a class="link" href="GstRTSPClient.html#GstRTSPClient-teardown-request" title="The “teardown-request” signal">teardown-request</a></td>
296 <td class="signal_flags">Run Last</td>
301 <div class="refsect1">
302 <a name="GstRTSPClient.other"></a><h2>Types and Values</h2>
303 <div class="informaltable"><table width="100%" border="0">
305 <col width="150px" class="name">
306 <col class="description">
310 <td class="datatype_keyword">struct</td>
311 <td class="function_name"><a class="link" href="GstRTSPClient.html#GstRTSPClient-struct" title="struct GstRTSPClient">GstRTSPClient</a></td>
314 <td class="datatype_keyword">struct</td>
315 <td class="function_name"><a class="link" href="GstRTSPClient.html#GstRTSPClientClass" title="struct GstRTSPClientClass">GstRTSPClientClass</a></td>
320 <div class="refsect1">
321 <a name="GstRTSPClient.object-hierarchy"></a><h2>Object Hierarchy</h2>
322 <pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
323 <span class="lineart">╰──</span> GstRTSPClient
326 <div class="refsect1">
327 <a name="GstRTSPClient.description"></a><h2>Description</h2>
328 <p>The client object handles the connection with a client for as long as a TCP
329 connection is open.</p>
330 <p>A <a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a> is created by <a class="link" href="GstRTSPServer.html" title="GstRTSPServer"><span class="type">GstRTSPServer</span></a> when a new connection is
331 accepted and it inherits the <a class="link" href="GstRTSPMountPoints.html" title="GstRTSPMountPoints"><span class="type">GstRTSPMountPoints</span></a>, <a class="link" href="GstRTSPSessionPool.html" title="GstRTSPSessionPool"><span class="type">GstRTSPSessionPool</span></a>,
332 <a class="link" href="GstRTSPAuth.html" title="GstRTSPAuth"><span class="type">GstRTSPAuth</span></a> and <a class="link" href="gst-rtsp-server-GstRTSPThreadPool.html#GstRTSPThreadPool" title="struct GstRTSPThreadPool"><span class="type">GstRTSPThreadPool</span></a> from the server.</p>
333 <p>The client connection should be configured with the <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstrtspconnection.html#GstRTSPConnection"><span class="type">GstRTSPConnection</span></a> using
334 <a class="link" href="GstRTSPClient.html#gst-rtsp-client-set-connection" title="gst_rtsp_client_set_connection ()"><code class="function">gst_rtsp_client_set_connection()</code></a> before it can be attached to a <a href="https://developer.gnome.org/glib/unstable/glib-The-Main-Event-Loop.html#GMainContext"><span class="type">GMainContext</span></a>
335 using <a class="link" href="GstRTSPClient.html#gst-rtsp-client-attach" title="gst_rtsp_client_attach ()"><code class="function">gst_rtsp_client_attach()</code></a>. From then on the client will handle requests
336 on the connection.</p>
337 <p>Use <a class="link" href="GstRTSPClient.html#gst-rtsp-client-session-filter" title="gst_rtsp_client_session_filter ()"><code class="function">gst_rtsp_client_session_filter()</code></a> to iterate or modify all the
338 <a class="link" href="GstRTSPSession.html" title="GstRTSPSession"><span class="type">GstRTSPSession</span></a> objects managed by the client object.</p>
339 <p>Last reviewed on 2013-07-11 (1.0.0)</p>
341 <div class="refsect1">
342 <a name="GstRTSPClient.functions_details"></a><h2>Functions</h2>
343 <div class="refsect2">
344 <a name="gst-rtsp-client-new"></a><h3>gst_rtsp_client_new ()</h3>
345 <pre class="programlisting"><a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="returnvalue">GstRTSPClient</span></a> *
346 gst_rtsp_client_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
347 <p>Create a new <a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a> instance.</p>
348 <div class="refsect3">
349 <a name="id-1.2.2.9.2.5"></a><h4>Returns</h4>
350 <p> a new <a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a>. </p>
351 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
355 <div class="refsect2">
356 <a name="gst-rtsp-client-close"></a><h3>gst_rtsp_client_close ()</h3>
357 <pre class="programlisting"><span class="returnvalue">void</span>
358 gst_rtsp_client_close (<em class="parameter"><code><a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a> *client</code></em>);</pre>
359 <p>Close the connection of <em class="parameter"><code>client</code></em>
360 and remove all media it was managing.</p>
361 <div class="refsect3">
362 <a name="id-1.2.2.9.3.5"></a><h4>Parameters</h4>
363 <div class="informaltable"><table width="100%" border="0">
365 <col width="150px" class="parameters_name">
366 <col class="parameters_description">
367 <col width="200px" class="parameters_annotations">
370 <td class="parameter_name"><p>client</p></td>
371 <td class="parameter_description"><p>a <a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a></p></td>
372 <td class="parameter_annotations"> </td>
376 <p class="since">Since 1.4</p>
379 <div class="refsect2">
380 <a name="gst-rtsp-client-get-session-pool"></a><h3>gst_rtsp_client_get_session_pool ()</h3>
381 <pre class="programlisting"><a class="link" href="GstRTSPSessionPool.html" title="GstRTSPSessionPool"><span class="returnvalue">GstRTSPSessionPool</span></a> *
382 gst_rtsp_client_get_session_pool (<em class="parameter"><code><a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a> *client</code></em>);</pre>
383 <p>Get the <a class="link" href="GstRTSPSessionPool.html" title="GstRTSPSessionPool"><span class="type">GstRTSPSessionPool</span></a> object that <em class="parameter"><code>client</code></em>
384 uses to manage its sessions.</p>
385 <div class="refsect3">
386 <a name="id-1.2.2.9.4.5"></a><h4>Parameters</h4>
387 <div class="informaltable"><table width="100%" border="0">
389 <col width="150px" class="parameters_name">
390 <col class="parameters_description">
391 <col width="200px" class="parameters_annotations">
394 <td class="parameter_name"><p>client</p></td>
395 <td class="parameter_description"><p>a <a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a></p></td>
396 <td class="parameter_annotations"> </td>
400 <div class="refsect3">
401 <a name="id-1.2.2.9.4.6"></a><h4>Returns</h4>
402 <p> a <a class="link" href="GstRTSPSessionPool.html" title="GstRTSPSessionPool"><span class="type">GstRTSPSessionPool</span></a>, unref after usage. </p>
403 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
407 <div class="refsect2">
408 <a name="gst-rtsp-client-set-session-pool"></a><h3>gst_rtsp_client_set_session_pool ()</h3>
409 <pre class="programlisting"><span class="returnvalue">void</span>
410 gst_rtsp_client_set_session_pool (<em class="parameter"><code><a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a> *client</code></em>,
411 <em class="parameter"><code><a class="link" href="GstRTSPSessionPool.html" title="GstRTSPSessionPool"><span class="type">GstRTSPSessionPool</span></a> *pool</code></em>);</pre>
412 <p>Set <em class="parameter"><code>pool</code></em>
413 as the sessionpool for <em class="parameter"><code>client</code></em>
414 which it will use to find
415 or allocate sessions. the sessionpool is usually inherited from the server
416 that created the client but can be overridden later.</p>
417 <div class="refsect3">
418 <a name="id-1.2.2.9.5.5"></a><h4>Parameters</h4>
419 <div class="informaltable"><table width="100%" border="0">
421 <col width="150px" class="parameters_name">
422 <col class="parameters_description">
423 <col width="200px" class="parameters_annotations">
427 <td class="parameter_name"><p>client</p></td>
428 <td class="parameter_description"><p>a <a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a></p></td>
429 <td class="parameter_annotations"> </td>
432 <td class="parameter_name"><p>pool</p></td>
433 <td class="parameter_description"><p> a <a class="link" href="GstRTSPSessionPool.html" title="GstRTSPSessionPool"><span class="type">GstRTSPSessionPool</span></a>. </p></td>
434 <td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
441 <div class="refsect2">
442 <a name="gst-rtsp-client-get-mount-points"></a><h3>gst_rtsp_client_get_mount_points ()</h3>
443 <pre class="programlisting"><a class="link" href="GstRTSPMountPoints.html" title="GstRTSPMountPoints"><span class="returnvalue">GstRTSPMountPoints</span></a> *
444 gst_rtsp_client_get_mount_points (<em class="parameter"><code><a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a> *client</code></em>);</pre>
445 <p>Get the <a class="link" href="GstRTSPMountPoints.html" title="GstRTSPMountPoints"><span class="type">GstRTSPMountPoints</span></a> object that <em class="parameter"><code>client</code></em>
446 uses to manage its sessions.</p>
447 <div class="refsect3">
448 <a name="id-1.2.2.9.6.5"></a><h4>Parameters</h4>
449 <div class="informaltable"><table width="100%" border="0">
451 <col width="150px" class="parameters_name">
452 <col class="parameters_description">
453 <col width="200px" class="parameters_annotations">
456 <td class="parameter_name"><p>client</p></td>
457 <td class="parameter_description"><p>a <a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a></p></td>
458 <td class="parameter_annotations"> </td>
462 <div class="refsect3">
463 <a name="id-1.2.2.9.6.6"></a><h4>Returns</h4>
464 <p> a <a class="link" href="GstRTSPMountPoints.html" title="GstRTSPMountPoints"><span class="type">GstRTSPMountPoints</span></a>, unref after usage. </p>
465 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
469 <div class="refsect2">
470 <a name="gst-rtsp-client-set-mount-points"></a><h3>gst_rtsp_client_set_mount_points ()</h3>
471 <pre class="programlisting"><span class="returnvalue">void</span>
472 gst_rtsp_client_set_mount_points (<em class="parameter"><code><a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a> *client</code></em>,
473 <em class="parameter"><code><a class="link" href="GstRTSPMountPoints.html" title="GstRTSPMountPoints"><span class="type">GstRTSPMountPoints</span></a> *mounts</code></em>);</pre>
474 <p>Set <em class="parameter"><code>mounts</code></em>
475 as the mount points for <em class="parameter"><code>client</code></em>
476 which it will use to map urls
477 to media streams. These mount points are usually inherited from the server that
478 created the client but can be overriden later.</p>
479 <div class="refsect3">
480 <a name="id-1.2.2.9.7.5"></a><h4>Parameters</h4>
481 <div class="informaltable"><table width="100%" border="0">
483 <col width="150px" class="parameters_name">
484 <col class="parameters_description">
485 <col width="200px" class="parameters_annotations">
489 <td class="parameter_name"><p>client</p></td>
490 <td class="parameter_description"><p>a <a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a></p></td>
491 <td class="parameter_annotations"> </td>
494 <td class="parameter_name"><p>mounts</p></td>
495 <td class="parameter_description"><p> a <a class="link" href="GstRTSPMountPoints.html" title="GstRTSPMountPoints"><span class="type">GstRTSPMountPoints</span></a>. </p></td>
496 <td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
503 <div class="refsect2">
504 <a name="gst-rtsp-client-get-auth"></a><h3>gst_rtsp_client_get_auth ()</h3>
505 <pre class="programlisting"><a class="link" href="GstRTSPAuth.html" title="GstRTSPAuth"><span class="returnvalue">GstRTSPAuth</span></a> *
506 gst_rtsp_client_get_auth (<em class="parameter"><code><a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a> *client</code></em>);</pre>
507 <p>Get the <a class="link" href="GstRTSPAuth.html" title="GstRTSPAuth"><span class="type">GstRTSPAuth</span></a> used as the authentication manager of <em class="parameter"><code>client</code></em>
509 <div class="refsect3">
510 <a name="id-1.2.2.9.8.5"></a><h4>Parameters</h4>
511 <div class="informaltable"><table width="100%" border="0">
513 <col width="150px" class="parameters_name">
514 <col class="parameters_description">
515 <col width="200px" class="parameters_annotations">
518 <td class="parameter_name"><p>client</p></td>
519 <td class="parameter_description"><p>a <a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a></p></td>
520 <td class="parameter_annotations"> </td>
524 <div class="refsect3">
525 <a name="id-1.2.2.9.8.6"></a><h4>Returns</h4>
526 <p> the <a class="link" href="GstRTSPAuth.html" title="GstRTSPAuth"><span class="type">GstRTSPAuth</span></a> of <em class="parameter"><code>client</code></em>
527 . <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> after
529 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
533 <div class="refsect2">
534 <a name="gst-rtsp-client-set-auth"></a><h3>gst_rtsp_client_set_auth ()</h3>
535 <pre class="programlisting"><span class="returnvalue">void</span>
536 gst_rtsp_client_set_auth (<em class="parameter"><code><a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a> *client</code></em>,
537 <em class="parameter"><code><a class="link" href="GstRTSPAuth.html" title="GstRTSPAuth"><span class="type">GstRTSPAuth</span></a> *auth</code></em>);</pre>
538 <p>configure <em class="parameter"><code>auth</code></em>
539 to be used as the authentication manager of <em class="parameter"><code>client</code></em>
541 <div class="refsect3">
542 <a name="id-1.2.2.9.9.5"></a><h4>Parameters</h4>
543 <div class="informaltable"><table width="100%" border="0">
545 <col width="150px" class="parameters_name">
546 <col class="parameters_description">
547 <col width="200px" class="parameters_annotations">
551 <td class="parameter_name"><p>client</p></td>
552 <td class="parameter_description"><p>a <a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a></p></td>
553 <td class="parameter_annotations"> </td>
556 <td class="parameter_name"><p>auth</p></td>
557 <td class="parameter_description"><p> a <a class="link" href="GstRTSPAuth.html" title="GstRTSPAuth"><span class="type">GstRTSPAuth</span></a>. </p></td>
558 <td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
565 <div class="refsect2">
566 <a name="gst-rtsp-client-get-thread-pool"></a><h3>gst_rtsp_client_get_thread_pool ()</h3>
567 <pre class="programlisting"><a class="link" href="gst-rtsp-server-GstRTSPThreadPool.html#GstRTSPThreadPool" title="struct GstRTSPThreadPool"><span class="returnvalue">GstRTSPThreadPool</span></a> *
568 gst_rtsp_client_get_thread_pool (<em class="parameter"><code><a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a> *client</code></em>);</pre>
569 <p>Get the <a class="link" href="gst-rtsp-server-GstRTSPThreadPool.html#GstRTSPThreadPool" title="struct GstRTSPThreadPool"><span class="type">GstRTSPThreadPool</span></a> used as the thread pool of <em class="parameter"><code>client</code></em>
571 <div class="refsect3">
572 <a name="id-1.2.2.9.10.5"></a><h4>Parameters</h4>
573 <div class="informaltable"><table width="100%" border="0">
575 <col width="150px" class="parameters_name">
576 <col class="parameters_description">
577 <col width="200px" class="parameters_annotations">
580 <td class="parameter_name"><p>client</p></td>
581 <td class="parameter_description"><p>a <a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a></p></td>
582 <td class="parameter_annotations"> </td>
586 <div class="refsect3">
587 <a name="id-1.2.2.9.10.6"></a><h4>Returns</h4>
588 <p> the <a class="link" href="gst-rtsp-server-GstRTSPThreadPool.html#GstRTSPThreadPool" title="struct GstRTSPThreadPool"><span class="type">GstRTSPThreadPool</span></a> of <em class="parameter"><code>client</code></em>
589 . <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> after
591 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
595 <div class="refsect2">
596 <a name="gst-rtsp-client-set-thread-pool"></a><h3>gst_rtsp_client_set_thread_pool ()</h3>
597 <pre class="programlisting"><span class="returnvalue">void</span>
598 gst_rtsp_client_set_thread_pool (<em class="parameter"><code><a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a> *client</code></em>,
599 <em class="parameter"><code><a class="link" href="gst-rtsp-server-GstRTSPThreadPool.html#GstRTSPThreadPool" title="struct GstRTSPThreadPool"><span class="type">GstRTSPThreadPool</span></a> *pool</code></em>);</pre>
600 <p>configure <em class="parameter"><code>pool</code></em>
601 to be used as the thread pool of <em class="parameter"><code>client</code></em>
603 <div class="refsect3">
604 <a name="id-1.2.2.9.11.5"></a><h4>Parameters</h4>
605 <div class="informaltable"><table width="100%" border="0">
607 <col width="150px" class="parameters_name">
608 <col class="parameters_description">
609 <col width="200px" class="parameters_annotations">
613 <td class="parameter_name"><p>client</p></td>
614 <td class="parameter_description"><p>a <a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a></p></td>
615 <td class="parameter_annotations"> </td>
618 <td class="parameter_name"><p>pool</p></td>
619 <td class="parameter_description"><p> a <a class="link" href="gst-rtsp-server-GstRTSPThreadPool.html#GstRTSPThreadPool" title="struct GstRTSPThreadPool"><span class="type">GstRTSPThreadPool</span></a>. </p></td>
620 <td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
627 <div class="refsect2">
628 <a name="gst-rtsp-client-get-connection"></a><h3>gst_rtsp_client_get_connection ()</h3>
629 <pre class="programlisting"><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstrtspconnection.html#GstRTSPConnection"><span class="returnvalue">GstRTSPConnection</span></a> *
630 gst_rtsp_client_get_connection (<em class="parameter"><code><a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a> *client</code></em>);</pre>
631 <p>Get the <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstrtspconnection.html#GstRTSPConnection"><span class="type">GstRTSPConnection</span></a> of <em class="parameter"><code>client</code></em>
633 <div class="refsect3">
634 <a name="id-1.2.2.9.12.5"></a><h4>Parameters</h4>
635 <div class="informaltable"><table width="100%" border="0">
637 <col width="150px" class="parameters_name">
638 <col class="parameters_description">
639 <col width="200px" class="parameters_annotations">
642 <td class="parameter_name"><p>client</p></td>
643 <td class="parameter_description"><p>a <a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a></p></td>
644 <td class="parameter_annotations"> </td>
648 <div class="refsect3">
649 <a name="id-1.2.2.9.12.6"></a><h4>Returns</h4>
650 <p> the <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstrtspconnection.html#GstRTSPConnection"><span class="type">GstRTSPConnection</span></a> of <em class="parameter"><code>client</code></em>
652 The connection object returned remains valid until the client is freed. </p>
653 <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
657 <div class="refsect2">
658 <a name="gst-rtsp-client-set-connection"></a><h3>gst_rtsp_client_set_connection ()</h3>
659 <pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
660 gst_rtsp_client_set_connection (<em class="parameter"><code><a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a> *client</code></em>,
661 <em class="parameter"><code><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstrtspconnection.html#GstRTSPConnection"><span class="type">GstRTSPConnection</span></a> *conn</code></em>);</pre>
662 <p>Set the <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstrtspconnection.html#GstRTSPConnection"><span class="type">GstRTSPConnection</span></a> of <em class="parameter"><code>client</code></em>
663 . This function takes ownership of
664 <em class="parameter"><code>conn</code></em>
666 <div class="refsect3">
667 <a name="id-1.2.2.9.13.5"></a><h4>Parameters</h4>
668 <div class="informaltable"><table width="100%" border="0">
670 <col width="150px" class="parameters_name">
671 <col class="parameters_description">
672 <col width="200px" class="parameters_annotations">
676 <td class="parameter_name"><p>client</p></td>
677 <td class="parameter_description"><p>a <a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a></p></td>
678 <td class="parameter_annotations"> </td>
681 <td class="parameter_name"><p>conn</p></td>
682 <td class="parameter_description"><p> a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstrtspconnection.html#GstRTSPConnection"><span class="type">GstRTSPConnection</span></a>. </p></td>
683 <td class="parameter_annotations"><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
688 <div class="refsect3">
689 <a name="id-1.2.2.9.13.6"></a><h4>Returns</h4>
690 <p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</p>
695 <div class="refsect2">
696 <a name="gst-rtsp-client-attach"></a><h3>gst_rtsp_client_attach ()</h3>
697 <pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
698 gst_rtsp_client_attach (<em class="parameter"><code><a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a> *client</code></em>,
699 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-The-Main-Event-Loop.html#GMainContext"><span class="type">GMainContext</span></a> *context</code></em>);</pre>
700 <p>Attaches <em class="parameter"><code>client</code></em>
701 to <em class="parameter"><code>context</code></em>
702 . When the mainloop for <em class="parameter"><code>context</code></em>
704 client will be dispatched. When <em class="parameter"><code>context</code></em>
705 is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the default context will be
707 <p>This function should be called when the client properties and urls are fully
708 configured and the client is ready to start.</p>
709 <div class="refsect3">
710 <a name="id-1.2.2.9.14.6"></a><h4>Parameters</h4>
711 <div class="informaltable"><table width="100%" border="0">
713 <col width="150px" class="parameters_name">
714 <col class="parameters_description">
715 <col width="200px" class="parameters_annotations">
719 <td class="parameter_name"><p>client</p></td>
720 <td class="parameter_description"><p>a <a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a></p></td>
721 <td class="parameter_annotations"> </td>
724 <td class="parameter_name"><p>context</p></td>
725 <td class="parameter_description"><p> a <a href="https://developer.gnome.org/glib/unstable/glib-The-Main-Event-Loop.html#GMainContext"><span class="type">GMainContext</span></a>. </p></td>
726 <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
731 <div class="refsect3">
732 <a name="id-1.2.2.9.14.7"></a><h4>Returns</h4>
733 <p> the ID (greater than 0) for the source within the GMainContext.</p>
738 <div class="refsect2">
739 <a name="GstRTSPClientSendFunc"></a><h3>GstRTSPClientSendFunc ()</h3>
740 <pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
741 <span class="c_punctuation">(</span>*GstRTSPClientSendFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a> *client</code></em>,
742 <em class="parameter"><code><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstrtspmessage.html#GstRTSPMessage"><span class="type">GstRTSPMessage</span></a> *message</code></em>,
743 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> close</code></em>,
744 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
745 <p>This callback is called when <em class="parameter"><code>client</code></em>
746 wants to send <em class="parameter"><code>message</code></em>
747 . When <em class="parameter"><code>close</code></em>
749 <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the connection should be closed when the message has been sent.</p>
750 <div class="refsect3">
751 <a name="id-1.2.2.9.15.5"></a><h4>Parameters</h4>
752 <div class="informaltable"><table width="100%" border="0">
754 <col width="150px" class="parameters_name">
755 <col class="parameters_description">
756 <col width="200px" class="parameters_annotations">
760 <td class="parameter_name"><p>client</p></td>
761 <td class="parameter_description"><p>a <a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a></p></td>
762 <td class="parameter_annotations"> </td>
765 <td class="parameter_name"><p>message</p></td>
766 <td class="parameter_description"><p>a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstrtspmessage.html#GstRTSPMessage"><span class="type">GstRTSPMessage</span></a></p></td>
767 <td class="parameter_annotations"> </td>
770 <td class="parameter_name"><p>close</p></td>
771 <td class="parameter_description"><p>close the connection</p></td>
772 <td class="parameter_annotations"> </td>
775 <td class="parameter_name"><p>user_data</p></td>
776 <td class="parameter_description"><p>user data when registering the callback</p></td>
777 <td class="parameter_annotations"> </td>
782 <div class="refsect3">
783 <a name="id-1.2.2.9.15.6"></a><h4>Returns</h4>
784 <p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</p>
789 <div class="refsect2">
790 <a name="gst-rtsp-client-set-send-func"></a><h3>gst_rtsp_client_set_send_func ()</h3>
791 <pre class="programlisting"><span class="returnvalue">void</span>
792 gst_rtsp_client_set_send_func (<em class="parameter"><code><a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a> *client</code></em>,
793 <em class="parameter"><code><a class="link" href="GstRTSPClient.html#GstRTSPClientSendFunc" title="GstRTSPClientSendFunc ()"><span class="type">GstRTSPClientSendFunc</span></a> func</code></em>,
794 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
795 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> notify</code></em>);</pre>
796 <p>Set <em class="parameter"><code>func</code></em>
797 as the callback that will be called when a new message needs to be
798 sent to the client. <em class="parameter"><code>user_data</code></em>
799 is passed to <em class="parameter"><code>func</code></em>
800 and <em class="parameter"><code>notify</code></em>
802 <em class="parameter"><code>user_data</code></em>
803 is no longer in use.</p>
804 <p>By default, the client will send the messages on the <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstrtspconnection.html#GstRTSPConnection"><span class="type">GstRTSPConnection</span></a> that
805 was configured with <a class="link" href="GstRTSPClient.html#gst-rtsp-client-attach" title="gst_rtsp_client_attach ()"><code class="function">gst_rtsp_client_attach()</code></a> was called.</p>
806 <div class="refsect3">
807 <a name="id-1.2.2.9.16.6"></a><h4>Parameters</h4>
808 <div class="informaltable"><table width="100%" border="0">
810 <col width="150px" class="parameters_name">
811 <col class="parameters_description">
812 <col width="200px" class="parameters_annotations">
816 <td class="parameter_name"><p>client</p></td>
817 <td class="parameter_description"><p>a <a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a></p></td>
818 <td class="parameter_annotations"> </td>
821 <td class="parameter_name"><p>func</p></td>
822 <td class="parameter_description"><p> a <a class="link" href="GstRTSPClient.html#GstRTSPClientSendFunc" title="GstRTSPClientSendFunc ()"><span class="type">GstRTSPClientSendFunc</span></a>. </p></td>
823 <td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid until the GDestroyNotify argument is called."><span class="acronym">scope notified</span></acronym>]</span></td>
826 <td class="parameter_name"><p>user_data</p></td>
827 <td class="parameter_description"><p> user data passed to <em class="parameter"><code>func</code></em>
829 <td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span></td>
832 <td class="parameter_name"><p>notify</p></td>
833 <td class="parameter_description"><p> called when <em class="parameter"><code>user_data</code></em>
834 is no longer in use. </p></td>
835 <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
842 <div class="refsect2">
843 <a name="gst-rtsp-client-handle-message"></a><h3>gst_rtsp_client_handle_message ()</h3>
844 <pre class="programlisting"><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstrtspdefs.html#GstRTSPResult"><span class="returnvalue">GstRTSPResult</span></a>
845 gst_rtsp_client_handle_message (<em class="parameter"><code><a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a> *client</code></em>,
846 <em class="parameter"><code><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstrtspmessage.html#GstRTSPMessage"><span class="type">GstRTSPMessage</span></a> *message</code></em>);</pre>
847 <p>Let the client handle <em class="parameter"><code>message</code></em>
849 <div class="refsect3">
850 <a name="id-1.2.2.9.17.5"></a><h4>Parameters</h4>
851 <div class="informaltable"><table width="100%" border="0">
853 <col width="150px" class="parameters_name">
854 <col class="parameters_description">
855 <col width="200px" class="parameters_annotations">
859 <td class="parameter_name"><p>client</p></td>
860 <td class="parameter_description"><p>a <a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a></p></td>
861 <td class="parameter_annotations"> </td>
864 <td class="parameter_name"><p>message</p></td>
865 <td class="parameter_description"><p> an <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstrtspmessage.html#GstRTSPMessage"><span class="type">GstRTSPMessage</span></a>. </p></td>
866 <td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
871 <div class="refsect3">
872 <a name="id-1.2.2.9.17.6"></a><h4>Returns</h4>
873 <p> a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstrtspdefs.html#GstRTSPResult"><span class="type">GstRTSPResult</span></a>.</p>
878 <div class="refsect2">
879 <a name="gst-rtsp-client-send-message"></a><h3>gst_rtsp_client_send_message ()</h3>
880 <pre class="programlisting"><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstrtspdefs.html#GstRTSPResult"><span class="returnvalue">GstRTSPResult</span></a>
881 gst_rtsp_client_send_message (<em class="parameter"><code><a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a> *client</code></em>,
882 <em class="parameter"><code><a class="link" href="GstRTSPSession.html" title="GstRTSPSession"><span class="type">GstRTSPSession</span></a> *session</code></em>,
883 <em class="parameter"><code><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstrtspmessage.html#GstRTSPMessage"><span class="type">GstRTSPMessage</span></a> *message</code></em>);</pre>
884 <p>Send a message message to the remote end. <em class="parameter"><code>message</code></em>
886 <span class="type">GST_RTSP_MESSAGE_REQUEST</span> or a <span class="type">GST_RTSP_MESSAGE_RESPONSE</span>.</p>
887 <div class="refsect3">
888 <a name="id-1.2.2.9.18.5"></a><h4>Parameters</h4>
889 <div class="informaltable"><table width="100%" border="0">
891 <col width="150px" class="parameters_name">
892 <col class="parameters_description">
893 <col width="200px" class="parameters_annotations">
897 <td class="parameter_name"><p>client</p></td>
898 <td class="parameter_description"><p>a <a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a></p></td>
899 <td class="parameter_annotations"> </td>
902 <td class="parameter_name"><p>session</p></td>
903 <td class="parameter_description"><p> a <a class="link" href="GstRTSPSession.html" title="GstRTSPSession"><span class="type">GstRTSPSession</span></a> to send
904 the message to or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
905 <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
908 <td class="parameter_name"><p>message</p></td>
909 <td class="parameter_description"><p> The <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstrtspmessage.html#GstRTSPMessage"><span class="type">GstRTSPMessage</span></a> to send. </p></td>
910 <td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
917 <div class="refsect2">
918 <a name="GstRTSPClientSessionFilterFunc"></a><h3>GstRTSPClientSessionFilterFunc ()</h3>
919 <pre class="programlisting"><a class="link" href="GstRTSPSession.html#GstRTSPFilterResult" title="enum GstRTSPFilterResult"><span class="returnvalue">GstRTSPFilterResult</span></a>
920 <span class="c_punctuation">(</span>*GstRTSPClientSessionFilterFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a> *client</code></em>,
921 <em class="parameter"><code><a class="link" href="GstRTSPSession.html" title="GstRTSPSession"><span class="type">GstRTSPSession</span></a> *sess</code></em>,
922 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
923 <p>This function will be called by the <a class="link" href="GstRTSPClient.html#gst-rtsp-client-session-filter" title="gst_rtsp_client_session_filter ()"><code class="function">gst_rtsp_client_session_filter()</code></a>. An
924 implementation should return a value of <a class="link" href="GstRTSPSession.html#GstRTSPFilterResult" title="enum GstRTSPFilterResult"><span class="type">GstRTSPFilterResult</span></a>.</p>
925 <p>When this function returns <a class="link" href="GstRTSPSession.html#GST-RTSP-FILTER-REMOVE:CAPS"><span class="type">GST_RTSP_FILTER_REMOVE</span></a>, <em class="parameter"><code>sess</code></em>
927 from <em class="parameter"><code>client</code></em>
929 <p>A return value of <a class="link" href="GstRTSPSession.html#GST-RTSP-FILTER-KEEP:CAPS"><span class="type">GST_RTSP_FILTER_KEEP</span></a> will leave <em class="parameter"><code>sess</code></em>
931 <em class="parameter"><code>client</code></em>
933 <p>A value of <a class="link" href="GstRTSPSession.html#GST-RTSP-FILTER-REF:CAPS"><span class="type">GST_RTSP_FILTER_REF</span></a> will add <em class="parameter"><code>sess</code></em>
934 to the result <a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of
935 <a class="link" href="GstRTSPClient.html#gst-rtsp-client-session-filter" title="gst_rtsp_client_session_filter ()"><code class="function">gst_rtsp_client_session_filter()</code></a>.</p>
936 <div class="refsect3">
937 <a name="id-1.2.2.9.19.8"></a><h4>Parameters</h4>
938 <div class="informaltable"><table width="100%" border="0">
940 <col width="150px" class="parameters_name">
941 <col class="parameters_description">
942 <col width="200px" class="parameters_annotations">
946 <td class="parameter_name"><p>client</p></td>
947 <td class="parameter_description"><p>a <a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a> object</p></td>
948 <td class="parameter_annotations"> </td>
951 <td class="parameter_name"><p>sess</p></td>
952 <td class="parameter_description"><p>a <a class="link" href="GstRTSPSession.html" title="GstRTSPSession"><span class="type">GstRTSPSession</span></a> in <em class="parameter"><code>client</code></em>
954 <td class="parameter_annotations"> </td>
957 <td class="parameter_name"><p>user_data</p></td>
958 <td class="parameter_description"><p>user data that has been given to <a class="link" href="GstRTSPClient.html#gst-rtsp-client-session-filter" title="gst_rtsp_client_session_filter ()"><code class="function">gst_rtsp_client_session_filter()</code></a></p></td>
959 <td class="parameter_annotations"> </td>
964 <div class="refsect3">
965 <a name="id-1.2.2.9.19.9"></a><h4>Returns</h4>
966 <p> a <a class="link" href="GstRTSPSession.html#GstRTSPFilterResult" title="enum GstRTSPFilterResult"><span class="type">GstRTSPFilterResult</span></a>.</p>
971 <div class="refsect2">
972 <a name="gst-rtsp-client-session-filter"></a><h3>gst_rtsp_client_session_filter ()</h3>
973 <pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
974 gst_rtsp_client_session_filter (<em class="parameter"><code><a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a> *client</code></em>,
975 <em class="parameter"><code><a class="link" href="GstRTSPClient.html#GstRTSPClientSessionFilterFunc" title="GstRTSPClientSessionFilterFunc ()"><span class="type">GstRTSPClientSessionFilterFunc</span></a> func</code></em>,
976 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
977 <p>Call <em class="parameter"><code>func</code></em>
978 for each session managed by <em class="parameter"><code>client</code></em>
979 . The result value of <em class="parameter"><code>func</code></em>
981 determines what happens to the session. <em class="parameter"><code>func</code></em>
982 will be called with <em class="parameter"><code>client</code></em>
984 locked so no further actions on <em class="parameter"><code>client</code></em>
985 can be performed from <em class="parameter"><code>func</code></em>
987 <p>If <em class="parameter"><code>func</code></em>
988 returns <a class="link" href="GstRTSPSession.html#GST-RTSP-FILTER-REMOVE:CAPS"><span class="type">GST_RTSP_FILTER_REMOVE</span></a>, the session will be removed from
989 <em class="parameter"><code>client</code></em>
991 <p>If <em class="parameter"><code>func</code></em>
992 returns <a class="link" href="GstRTSPSession.html#GST-RTSP-FILTER-KEEP:CAPS"><span class="type">GST_RTSP_FILTER_KEEP</span></a>, the session will remain in <em class="parameter"><code>client</code></em>
994 <p>If <em class="parameter"><code>func</code></em>
995 returns <a class="link" href="GstRTSPSession.html#GST-RTSP-FILTER-REF:CAPS"><span class="type">GST_RTSP_FILTER_REF</span></a>, the session will remain in <em class="parameter"><code>client</code></em>
997 will also be added with an additional ref to the result <a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of this
999 <p>When <em class="parameter"><code>func</code></em>
1000 is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, <a class="link" href="GstRTSPSession.html#GST-RTSP-FILTER-REF:CAPS"><span class="type">GST_RTSP_FILTER_REF</span></a> will be assumed for each session.</p>
1001 <div class="refsect3">
1002 <a name="id-1.2.2.9.20.9"></a><h4>Parameters</h4>
1003 <div class="informaltable"><table width="100%" border="0">
1005 <col width="150px" class="parameters_name">
1006 <col class="parameters_description">
1007 <col width="200px" class="parameters_annotations">
1011 <td class="parameter_name"><p>client</p></td>
1012 <td class="parameter_description"><p>a <a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a></p></td>
1013 <td class="parameter_annotations"> </td>
1016 <td class="parameter_name"><p>func</p></td>
1017 <td class="parameter_description"><p> a callback. </p></td>
1018 <td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid only during the call to the method."><span class="acronym">scope call</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
1021 <td class="parameter_name"><p>user_data</p></td>
1022 <td class="parameter_description"><p>user data passed to <em class="parameter"><code>func</code></em>
1024 <td class="parameter_annotations"> </td>
1029 <div class="refsect3">
1030 <a name="id-1.2.2.9.20.10"></a><h4>Returns</h4>
1031 <p> a <a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> with all
1032 sessions for which <em class="parameter"><code>func</code></em>
1033 returned <a class="link" href="GstRTSPSession.html#GST-RTSP-FILTER-REF:CAPS"><span class="type">GST_RTSP_FILTER_REF</span></a>. After usage, each
1034 element in the <a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> should be unreffed before the list is freed. </p>
1035 <p><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GstRTSPSession][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
1039 <div class="refsect1">
1040 <a name="GstRTSPClient.other_details"></a><h2>Types and Values</h2>
1041 <div class="refsect2">
1042 <a name="GstRTSPClient-struct"></a><h3>struct GstRTSPClient</h3>
1043 <pre class="programlisting">struct GstRTSPClient;</pre>
1044 <p>The client object represents the connection and its state with a client.</p>
1047 <div class="refsect2">
1048 <a name="GstRTSPClientClass"></a><h3>struct GstRTSPClientClass</h3>
1049 <pre class="programlisting">struct GstRTSPClientClass {
1050 GObjectClass parent_class;
1052 GstSDPMessage * (*create_sdp) (GstRTSPClient *client, GstRTSPMedia *media);
1053 gboolean (*configure_client_media) (GstRTSPClient * client,
1054 GstRTSPMedia * media, GstRTSPStream * stream,
1055 GstRTSPContext * ctx);
1056 gboolean (*configure_client_transport) (GstRTSPClient * client,
1057 GstRTSPContext * ctx,
1058 GstRTSPTransport * ct);
1059 GstRTSPResult (*params_set) (GstRTSPClient *client, GstRTSPContext *ctx);
1060 GstRTSPResult (*params_get) (GstRTSPClient *client, GstRTSPContext *ctx);
1061 gchar * (*make_path_from_uri) (GstRTSPClient *client, const GstRTSPUrl *uri);
1064 void (*closed) (GstRTSPClient *client);
1065 void (*new_session) (GstRTSPClient *client, GstRTSPSession *session);
1066 void (*options_request) (GstRTSPClient *client, GstRTSPContext *ctx);
1067 void (*describe_request) (GstRTSPClient *client, GstRTSPContext *ctx);
1068 void (*setup_request) (GstRTSPClient *client, GstRTSPContext *ctx);
1069 void (*play_request) (GstRTSPClient *client, GstRTSPContext *ctx);
1070 void (*pause_request) (GstRTSPClient *client, GstRTSPContext *ctx);
1071 void (*teardown_request) (GstRTSPClient *client, GstRTSPContext *ctx);
1072 void (*set_parameter_request) (GstRTSPClient *client, GstRTSPContext *ctx);
1073 void (*get_parameter_request) (GstRTSPClient *client, GstRTSPContext *ctx);
1074 void (*handle_response) (GstRTSPClient *client, GstRTSPContext *ctx);
1076 void (*tunnel_http_response) (GstRTSPClient * client, GstRTSPMessage * request,
1077 GstRTSPMessage * response);
1080 <p>The client class structure.</p>
1081 <div class="refsect3">
1082 <a name="id-1.2.2.10.3.5"></a><h4>Members</h4>
1083 <div class="informaltable"><table width="100%" border="0">
1085 <col width="300px" class="struct_members_name">
1086 <col class="struct_members_description">
1087 <col width="200px" class="struct_members_annotations">
1091 <td class="struct_member_name"><p><a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a> <em class="structfield"><code><a name="GstRTSPClientClass.parent-class"></a>parent_class</code></em>;</p></td>
1096 <td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTSPClientClass.create-sdp"></a>create_sdp</code></em> ()</p></td>
1097 <td class="struct_member_description"><p>called when the SDP needs to be created for media.</p></td>
1098 <td class="struct_member_annotations"> </td>
1101 <td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTSPClientClass.configure-client-media"></a>configure_client_media</code></em> ()</p></td>
1102 <td class="struct_member_description"><p>called when the stream in media needs to be configured.
1103 The default implementation will configure the blocksize on the payloader when
1104 spcified in the request headers.</p></td>
1105 <td class="struct_member_annotations"> </td>
1108 <td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTSPClientClass.configure-client-transport"></a>configure_client_transport</code></em> ()</p></td>
1109 <td class="struct_member_description"><p>called when the client transport needs to be
1110 configured.</p></td>
1111 <td class="struct_member_annotations"> </td>
1114 <td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTSPClientClass.params-set"></a>params_set</code></em> ()</p></td>
1115 <td class="struct_member_description"><p>set parameters. This function should also initialize the
1116 RTSP response(ctx->response) via a call to <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstrtspmessage.html#gst-rtsp-message-init-response"><code class="function">gst_rtsp_message_init_response()</code></a></p></td>
1117 <td class="struct_member_annotations"> </td>
1120 <td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTSPClientClass.params-get"></a>params_get</code></em> ()</p></td>
1121 <td class="struct_member_description"><p>get parameters. This function should also initialize the
1122 RTSP response(ctx->response) via a call to <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstrtspmessage.html#gst-rtsp-message-init-response"><code class="function">gst_rtsp_message_init_response()</code></a></p></td>
1123 <td class="struct_member_annotations"> </td>
1126 <td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTSPClientClass.make-path-from-uri"></a>make_path_from_uri</code></em> ()</p></td>
1131 <td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTSPClientClass.closed"></a>closed</code></em> ()</p></td>
1136 <td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTSPClientClass.new-session"></a>new_session</code></em> ()</p></td>
1141 <td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTSPClientClass.options-request"></a>options_request</code></em> ()</p></td>
1146 <td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTSPClientClass.describe-request"></a>describe_request</code></em> ()</p></td>
1151 <td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTSPClientClass.setup-request"></a>setup_request</code></em> ()</p></td>
1156 <td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTSPClientClass.play-request"></a>play_request</code></em> ()</p></td>
1161 <td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTSPClientClass.pause-request"></a>pause_request</code></em> ()</p></td>
1166 <td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTSPClientClass.teardown-request"></a>teardown_request</code></em> ()</p></td>
1171 <td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTSPClientClass.set-parameter-request"></a>set_parameter_request</code></em> ()</p></td>
1176 <td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTSPClientClass.get-parameter-request"></a>get_parameter_request</code></em> ()</p></td>
1181 <td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTSPClientClass.handle-response"></a>handle_response</code></em> ()</p></td>
1186 <td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTSPClientClass.tunnel-http-response"></a>tunnel_http_response</code></em> ()</p></td>
1187 <td class="struct_member_description"><p>called when a response to the GET request is about to
1188 be sent for a tunneled connection. The response can be modified. Since 1.4</p></td>
1189 <td class="struct_member_annotations"> </td>
1196 <div class="refsect1">
1197 <a name="GstRTSPClient.property-details"></a><h2>Property Details</h2>
1198 <div class="refsect2">
1199 <a name="GstRTSPClient--drop-backlog"></a><h3>The <code class="literal">“drop-backlog”</code> property</h3>
1200 <pre class="programlisting"> “drop-backlog” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
1201 <p>Drop data when the backlog queue is full.</p>
1202 <p>Flags: Read / Write</p>
1203 <p>Default value: TRUE</p>
1206 <div class="refsect2">
1207 <a name="GstRTSPClient--mount-points"></a><h3>The <code class="literal">“mount-points”</code> property</h3>
1208 <pre class="programlisting"> “mount-points” <a class="link" href="GstRTSPMountPoints.html" title="GstRTSPMountPoints"><span class="type">GstRTSPMountPoints</span></a> *</pre>
1209 <p>The mount points to use for client session.</p>
1210 <p>Flags: Read / Write</p>
1213 <div class="refsect2">
1214 <a name="GstRTSPClient--session-pool"></a><h3>The <code class="literal">“session-pool”</code> property</h3>
1215 <pre class="programlisting"> “session-pool” <a class="link" href="GstRTSPSessionPool.html" title="GstRTSPSessionPool"><span class="type">GstRTSPSessionPool</span></a> *</pre>
1216 <p>The session pool to use for client session.</p>
1217 <p>Flags: Read / Write</p>
1220 <div class="refsect1">
1221 <a name="GstRTSPClient.signal-details"></a><h2>Signal Details</h2>
1222 <div class="refsect2">
1223 <a name="GstRTSPClient-closed"></a><h3>The <code class="literal">“closed”</code> signal</h3>
1224 <pre class="programlisting"><span class="returnvalue">void</span>
1225 user_function (<a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a> *gstrtspclient,
1226 <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
1227 <p>Flags: Run Last</p>
1230 <div class="refsect2">
1231 <a name="GstRTSPClient-describe-request"></a><h3>The <code class="literal">“describe-request”</code> signal</h3>
1232 <pre class="programlisting"><span class="returnvalue">void</span>
1233 user_function (<a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a> *gstrtspclient,
1234 <a class="link" href="gst-rtsp-server-GstRTSPContext.html#GstRTSPContext" title="struct GstRTSPContext"><span class="type">GstRTSPContext</span></a> *arg1,
1235 <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
1236 <p>Flags: Run Last</p>
1239 <div class="refsect2">
1240 <a name="GstRTSPClient-get-parameter-request"></a><h3>The <code class="literal">“get-parameter-request”</code> signal</h3>
1241 <pre class="programlisting"><span class="returnvalue">void</span>
1242 user_function (<a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a> *gstrtspclient,
1243 <a class="link" href="gst-rtsp-server-GstRTSPContext.html#GstRTSPContext" title="struct GstRTSPContext"><span class="type">GstRTSPContext</span></a> *arg1,
1244 <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
1245 <p>Flags: Run Last</p>
1248 <div class="refsect2">
1249 <a name="GstRTSPClient-handle-response"></a><h3>The <code class="literal">“handle-response”</code> signal</h3>
1250 <pre class="programlisting"><span class="returnvalue">void</span>
1251 user_function (<a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a> *gstrtspclient,
1252 <a class="link" href="gst-rtsp-server-GstRTSPContext.html#GstRTSPContext" title="struct GstRTSPContext"><span class="type">GstRTSPContext</span></a> *arg1,
1253 <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
1254 <p>Flags: Run Last</p>
1257 <div class="refsect2">
1258 <a name="GstRTSPClient-new-session"></a><h3>The <code class="literal">“new-session”</code> signal</h3>
1259 <pre class="programlisting"><span class="returnvalue">void</span>
1260 user_function (<a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a> *gstrtspclient,
1261 <a class="link" href="GstRTSPSession.html" title="GstRTSPSession"><span class="type">GstRTSPSession</span></a> *arg1,
1262 <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
1263 <p>Flags: Run Last</p>
1266 <div class="refsect2">
1267 <a name="GstRTSPClient-options-request"></a><h3>The <code class="literal">“options-request”</code> signal</h3>
1268 <pre class="programlisting"><span class="returnvalue">void</span>
1269 user_function (<a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a> *gstrtspclient,
1270 <a class="link" href="gst-rtsp-server-GstRTSPContext.html#GstRTSPContext" title="struct GstRTSPContext"><span class="type">GstRTSPContext</span></a> *arg1,
1271 <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
1272 <p>Flags: Run Last</p>
1275 <div class="refsect2">
1276 <a name="GstRTSPClient-pause-request"></a><h3>The <code class="literal">“pause-request”</code> signal</h3>
1277 <pre class="programlisting"><span class="returnvalue">void</span>
1278 user_function (<a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a> *gstrtspclient,
1279 <a class="link" href="gst-rtsp-server-GstRTSPContext.html#GstRTSPContext" title="struct GstRTSPContext"><span class="type">GstRTSPContext</span></a> *arg1,
1280 <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
1281 <p>Flags: Run Last</p>
1284 <div class="refsect2">
1285 <a name="GstRTSPClient-play-request"></a><h3>The <code class="literal">“play-request”</code> signal</h3>
1286 <pre class="programlisting"><span class="returnvalue">void</span>
1287 user_function (<a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a> *gstrtspclient,
1288 <a class="link" href="gst-rtsp-server-GstRTSPContext.html#GstRTSPContext" title="struct GstRTSPContext"><span class="type">GstRTSPContext</span></a> *arg1,
1289 <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
1290 <p>Flags: Run Last</p>
1293 <div class="refsect2">
1294 <a name="GstRTSPClient-send-message"></a><h3>The <code class="literal">“send-message”</code> signal</h3>
1295 <pre class="programlisting"><span class="returnvalue">void</span>
1296 user_function (<a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a> *client,
1297 <a class="link" href="gst-rtsp-server-GstRTSPContext.html#GstRTSPContext" title="struct GstRTSPContext"><span class="type">GstRTSPContext</span></a> *session,
1298 <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> message,
1299 <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
1300 <div class="refsect3">
1301 <a name="id-1.2.2.12.10.4"></a><h4>Parameters</h4>
1302 <div class="informaltable"><table width="100%" border="0">
1304 <col width="150px" class="parameters_name">
1305 <col class="parameters_description">
1306 <col width="200px" class="parameters_annotations">
1310 <td class="parameter_name"><p>client</p></td>
1311 <td class="parameter_description"><p>The RTSP client</p></td>
1312 <td class="parameter_annotations"> </td>
1315 <td class="parameter_name"><p>session</p></td>
1316 <td class="parameter_description"><p> The session. </p></td>
1317 <td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GstRtspServer.RTSPSession]</span></td>
1320 <td class="parameter_name"><p>message</p></td>
1321 <td class="parameter_description"><p> The message. </p></td>
1322 <td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GstRtsp.RTSPMessage]</span></td>
1325 <td class="parameter_name"><p>user_data</p></td>
1326 <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
1327 <td class="parameter_annotations"> </td>
1332 <p>Flags: Run Last</p>
1335 <div class="refsect2">
1336 <a name="GstRTSPClient-set-parameter-request"></a><h3>The <code class="literal">“set-parameter-request”</code> signal</h3>
1337 <pre class="programlisting"><span class="returnvalue">void</span>
1338 user_function (<a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a> *gstrtspclient,
1339 <a class="link" href="gst-rtsp-server-GstRTSPContext.html#GstRTSPContext" title="struct GstRTSPContext"><span class="type">GstRTSPContext</span></a> *arg1,
1340 <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
1341 <p>Flags: Run Last</p>
1344 <div class="refsect2">
1345 <a name="GstRTSPClient-setup-request"></a><h3>The <code class="literal">“setup-request”</code> signal</h3>
1346 <pre class="programlisting"><span class="returnvalue">void</span>
1347 user_function (<a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a> *gstrtspclient,
1348 <a class="link" href="gst-rtsp-server-GstRTSPContext.html#GstRTSPContext" title="struct GstRTSPContext"><span class="type">GstRTSPContext</span></a> *arg1,
1349 <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
1350 <p>Flags: Run Last</p>
1353 <div class="refsect2">
1354 <a name="GstRTSPClient-teardown-request"></a><h3>The <code class="literal">“teardown-request”</code> signal</h3>
1355 <pre class="programlisting"><span class="returnvalue">void</span>
1356 user_function (<a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="type">GstRTSPClient</span></a> *gstrtspclient,
1357 <a class="link" href="gst-rtsp-server-GstRTSPContext.html#GstRTSPContext" title="struct GstRTSPContext"><span class="type">GstRTSPContext</span></a> *arg1,
1358 <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
1359 <p>Flags: Run Last</p>
1362 <div class="refsect1">
1363 <a name="GstRTSPClient.see-also"></a><h2>See Also</h2>
1364 <p><a class="link" href="GstRTSPServer.html" title="GstRTSPServer"><span class="type">GstRTSPServer</span></a>, <a class="link" href="gst-rtsp-server-GstRTSPThreadPool.html#GstRTSPThreadPool" title="struct GstRTSPThreadPool"><span class="type">GstRTSPThreadPool</span></a></p>
1367 <div class="footer">
1369 Generated by GTK-Doc V1.21</div>