tizen 2.4 release
[framework/multimedia/gst-rtsp-server.git] / docs / libs / html / GstRTSPClient.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <title>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">
13 </head>
14 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
16 <td width="100%" align="left" class="shortcuts">
17 <a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
18                   <a href="#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>
22 </td>
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>
27 </tr></table>
28 <div class="refentry">
29 <a name="GstRTSPClient"></a><div class="titlepage"></div>
30 <div class="refnamediv"><table width="100%"><tr>
31 <td valign="top">
32 <h2><span class="refentrytitle"><a name="GstRTSPClient.top_of_page"></a>GstRTSPClient</span></h2>
33 <p>GstRTSPClient — A client connection state</p>
34 </td>
35 <td class="gallery_image" valign="top" align="right"></td>
36 </tr></table></div>
37 <div class="refsect1">
38 <a name="GstRTSPClient.functions"></a><h2>Functions</h2>
39 <div class="informaltable"><table width="100%" border="0">
40 <colgroup>
41 <col width="150px" class="functions_return">
42 <col class="functions_name">
43 </colgroup>
44 <tbody>
45 <tr>
46 <td class="function_type">
47 <a class="link" href="GstRTSPClient.html" title="GstRTSPClient"><span class="returnvalue">GstRTSPClient</span></a> *
48 </td>
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>
51 </td>
52 </tr>
53 <tr>
54 <td class="function_type">
55 <span class="returnvalue">void</span>
56 </td>
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>
59 </td>
60 </tr>
61 <tr>
62 <td class="function_type">
63 <a class="link" href="GstRTSPSessionPool.html" title="GstRTSPSessionPool"><span class="returnvalue">GstRTSPSessionPool</span></a> *
64 </td>
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>
67 </td>
68 </tr>
69 <tr>
70 <td class="function_type">
71 <span class="returnvalue">void</span>
72 </td>
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>
75 </td>
76 </tr>
77 <tr>
78 <td class="function_type">
79 <a class="link" href="GstRTSPMountPoints.html" title="GstRTSPMountPoints"><span class="returnvalue">GstRTSPMountPoints</span></a> *
80 </td>
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>
83 </td>
84 </tr>
85 <tr>
86 <td class="function_type">
87 <span class="returnvalue">void</span>
88 </td>
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>
91 </td>
92 </tr>
93 <tr>
94 <td class="function_type">
95 <a class="link" href="GstRTSPAuth.html" title="GstRTSPAuth"><span class="returnvalue">GstRTSPAuth</span></a> *
96 </td>
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>
99 </td>
100 </tr>
101 <tr>
102 <td class="function_type">
103 <span class="returnvalue">void</span>
104 </td>
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>
107 </td>
108 </tr>
109 <tr>
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> *
112 </td>
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>
115 </td>
116 </tr>
117 <tr>
118 <td class="function_type">
119 <span class="returnvalue">void</span>
120 </td>
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>
123 </td>
124 </tr>
125 <tr>
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> *
128 </td>
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>
131 </td>
132 </tr>
133 <tr>
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>
136 </td>
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>
139 </td>
140 </tr>
141 <tr>
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>
144 </td>
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>
147 </td>
148 </tr>
149 <tr>
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>
152 </td>
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>
155 </td>
156 </tr>
157 <tr>
158 <td class="function_type">
159 <span class="returnvalue">void</span>
160 </td>
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>
163 </td>
164 </tr>
165 <tr>
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>
168 </td>
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>
171 </td>
172 </tr>
173 <tr>
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>
176 </td>
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>
179 </td>
180 </tr>
181 <tr>
182 <td class="function_type">
183 <a class="link" href="GstRTSPSession.html#GstRTSPFilterResult" title="enum GstRTSPFilterResult"><span class="returnvalue">GstRTSPFilterResult</span></a>
184 </td>
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>
187 </td>
188 </tr>
189 <tr>
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> *
192 </td>
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>
195 </td>
196 </tr>
197 </tbody>
198 </table></div>
199 </div>
200 <div class="refsect1">
201 <a name="GstRTSPClient.properties"></a><h2>Properties</h2>
202 <div class="informaltable"><table border="0">
203 <colgroup>
204 <col width="150px" class="properties_type">
205 <col width="300px" class="properties_name">
206 <col width="200px" class="properties_flags">
207 </colgroup>
208 <tbody>
209 <tr>
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>
213 </tr>
214 <tr>
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>
219 </tr>
220 <tr>
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>
225 </tr>
226 </tbody>
227 </table></div>
228 </div>
229 <div class="refsect1">
230 <a name="GstRTSPClient.signals"></a><h2>Signals</h2>
231 <div class="informaltable"><table border="0">
232 <colgroup>
233 <col width="150px" class="signals_return">
234 <col width="300px" class="signals_name">
235 <col width="200px" class="signals_flags">
236 </colgroup>
237 <tbody>
238 <tr>
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>
242 </tr>
243 <tr>
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>
247 </tr>
248 <tr>
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>
252 </tr>
253 <tr>
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>
257 </tr>
258 <tr>
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>
262 </tr>
263 <tr>
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>
267 </tr>
268 <tr>
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>
272 </tr>
273 <tr>
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>
277 </tr>
278 <tr>
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>
282 </tr>
283 <tr>
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>
287 </tr>
288 <tr>
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>
292 </tr>
293 <tr>
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>
297 </tr>
298 </tbody>
299 </table></div>
300 </div>
301 <div class="refsect1">
302 <a name="GstRTSPClient.other"></a><h2>Types and Values</h2>
303 <div class="informaltable"><table width="100%" border="0">
304 <colgroup>
305 <col width="150px" class="name">
306 <col class="description">
307 </colgroup>
308 <tbody>
309 <tr>
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>
312 </tr>
313 <tr>
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>
316 </tr>
317 </tbody>
318 </table></div>
319 </div>
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
324 </pre>
325 </div>
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>
340 </div>
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>
352 </div>
353 </div>
354 <hr>
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">
364 <colgroup>
365 <col width="150px" class="parameters_name">
366 <col class="parameters_description">
367 <col width="200px" class="parameters_annotations">
368 </colgroup>
369 <tbody><tr>
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>
373 </tr></tbody>
374 </table></div>
375 </div>
376 <p class="since">Since 1.4</p>
377 </div>
378 <hr>
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">
388 <colgroup>
389 <col width="150px" class="parameters_name">
390 <col class="parameters_description">
391 <col width="200px" class="parameters_annotations">
392 </colgroup>
393 <tbody><tr>
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>
397 </tr></tbody>
398 </table></div>
399 </div>
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>
404 </div>
405 </div>
406 <hr>
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">
420 <colgroup>
421 <col width="150px" class="parameters_name">
422 <col class="parameters_description">
423 <col width="200px" class="parameters_annotations">
424 </colgroup>
425 <tbody>
426 <tr>
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>
430 </tr>
431 <tr>
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>
435 </tr>
436 </tbody>
437 </table></div>
438 </div>
439 </div>
440 <hr>
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">
450 <colgroup>
451 <col width="150px" class="parameters_name">
452 <col class="parameters_description">
453 <col width="200px" class="parameters_annotations">
454 </colgroup>
455 <tbody><tr>
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>
459 </tr></tbody>
460 </table></div>
461 </div>
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>
466 </div>
467 </div>
468 <hr>
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">
482 <colgroup>
483 <col width="150px" class="parameters_name">
484 <col class="parameters_description">
485 <col width="200px" class="parameters_annotations">
486 </colgroup>
487 <tbody>
488 <tr>
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>
492 </tr>
493 <tr>
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>
497 </tr>
498 </tbody>
499 </table></div>
500 </div>
501 </div>
502 <hr>
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>
508 .</p>
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">
512 <colgroup>
513 <col width="150px" class="parameters_name">
514 <col class="parameters_description">
515 <col width="200px" class="parameters_annotations">
516 </colgroup>
517 <tbody><tr>
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>
521 </tr></tbody>
522 </table></div>
523 </div>
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
528 usage. </p>
529 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
530 </div>
531 </div>
532 <hr>
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>
540 .</p>
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">
544 <colgroup>
545 <col width="150px" class="parameters_name">
546 <col class="parameters_description">
547 <col width="200px" class="parameters_annotations">
548 </colgroup>
549 <tbody>
550 <tr>
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>
554 </tr>
555 <tr>
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>
559 </tr>
560 </tbody>
561 </table></div>
562 </div>
563 </div>
564 <hr>
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>
570 .</p>
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">
574 <colgroup>
575 <col width="150px" class="parameters_name">
576 <col class="parameters_description">
577 <col width="200px" class="parameters_annotations">
578 </colgroup>
579 <tbody><tr>
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>
583 </tr></tbody>
584 </table></div>
585 </div>
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
590 usage. </p>
591 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
592 </div>
593 </div>
594 <hr>
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>
602 .</p>
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">
606 <colgroup>
607 <col width="150px" class="parameters_name">
608 <col class="parameters_description">
609 <col width="200px" class="parameters_annotations">
610 </colgroup>
611 <tbody>
612 <tr>
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>
616 </tr>
617 <tr>
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>
621 </tr>
622 </tbody>
623 </table></div>
624 </div>
625 </div>
626 <hr>
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>
632 .</p>
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">
636 <colgroup>
637 <col width="150px" class="parameters_name">
638 <col class="parameters_description">
639 <col width="200px" class="parameters_annotations">
640 </colgroup>
641 <tbody><tr>
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>
645 </tr></tbody>
646 </table></div>
647 </div>
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>
651 .
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>
654 </div>
655 </div>
656 <hr>
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>
665 .</p>
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">
669 <colgroup>
670 <col width="150px" class="parameters_name">
671 <col class="parameters_description">
672 <col width="200px" class="parameters_annotations">
673 </colgroup>
674 <tbody>
675 <tr>
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>
679 </tr>
680 <tr>
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>
684 </tr>
685 </tbody>
686 </table></div>
687 </div>
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>
691 <p></p>
692 </div>
693 </div>
694 <hr>
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>
703  is run, the
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
706 used).</p>
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">
712 <colgroup>
713 <col width="150px" class="parameters_name">
714 <col class="parameters_description">
715 <col width="200px" class="parameters_annotations">
716 </colgroup>
717 <tbody>
718 <tr>
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>
722 </tr>
723 <tr>
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>
727 </tr>
728 </tbody>
729 </table></div>
730 </div>
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>
734 <p></p>
735 </div>
736 </div>
737 <hr>
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>
748  is
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">
753 <colgroup>
754 <col width="150px" class="parameters_name">
755 <col class="parameters_description">
756 <col width="200px" class="parameters_annotations">
757 </colgroup>
758 <tbody>
759 <tr>
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>
763 </tr>
764 <tr>
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>
768 </tr>
769 <tr>
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>
773 </tr>
774 <tr>
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>
778 </tr>
779 </tbody>
780 </table></div>
781 </div>
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>
785 <p></p>
786 </div>
787 </div>
788 <hr>
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>
801  is called when
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">
809 <colgroup>
810 <col width="150px" class="parameters_name">
811 <col class="parameters_description">
812 <col width="200px" class="parameters_annotations">
813 </colgroup>
814 <tbody>
815 <tr>
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>
819 </tr>
820 <tr>
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>
824 </tr>
825 <tr>
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>
828 . </p></td>
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>
830 </tr>
831 <tr>
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>
836 </tr>
837 </tbody>
838 </table></div>
839 </div>
840 </div>
841 <hr>
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>
848 .</p>
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">
852 <colgroup>
853 <col width="150px" class="parameters_name">
854 <col class="parameters_description">
855 <col width="200px" class="parameters_annotations">
856 </colgroup>
857 <tbody>
858 <tr>
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>
862 </tr>
863 <tr>
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>
867 </tr>
868 </tbody>
869 </table></div>
870 </div>
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>
874 <p></p>
875 </div>
876 </div>
877 <hr>
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>
885  must be a
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">
890 <colgroup>
891 <col width="150px" class="parameters_name">
892 <col class="parameters_description">
893 <col width="200px" class="parameters_annotations">
894 </colgroup>
895 <tbody>
896 <tr>
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>
900 </tr>
901 <tr>
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>
906 </tr>
907 <tr>
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>
911 </tr>
912 </tbody>
913 </table></div>
914 </div>
915 </div>
916 <hr>
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>
926  will be removed
927 from <em class="parameter"><code>client</code></em>
928 .</p>
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>
930  untouched in
931 <em class="parameter"><code>client</code></em>
932 .</p>
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">
939 <colgroup>
940 <col width="150px" class="parameters_name">
941 <col class="parameters_description">
942 <col width="200px" class="parameters_annotations">
943 </colgroup>
944 <tbody>
945 <tr>
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>
949 </tr>
950 <tr>
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>
953 </p></td>
954 <td class="parameter_annotations"> </td>
955 </tr>
956 <tr>
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>
960 </tr>
961 </tbody>
962 </table></div>
963 </div>
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>
967 <p></p>
968 </div>
969 </div>
970 <hr>
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>
980
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>
983
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>
986 .</p>
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>
990 .</p>
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>
993 .</p>
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>
996  but
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
998 function..</p>
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">
1004 <colgroup>
1005 <col width="150px" class="parameters_name">
1006 <col class="parameters_description">
1007 <col width="200px" class="parameters_annotations">
1008 </colgroup>
1009 <tbody>
1010 <tr>
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>
1014 </tr>
1015 <tr>
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>
1019 </tr>
1020 <tr>
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>
1023 </p></td>
1024 <td class="parameter_annotations"> </td>
1025 </tr>
1026 </tbody>
1027 </table></div>
1028 </div>
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>
1036 </div>
1037 </div>
1038 </div>
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>
1045 </div>
1046 <hr>
1047 <div class="refsect2">
1048 <a name="GstRTSPClientClass"></a><h3>struct GstRTSPClientClass</h3>
1049 <pre class="programlisting">struct GstRTSPClientClass {
1050   GObjectClass  parent_class;
1051
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);
1062
1063   /* signals */
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);
1075
1076   void     (*tunnel_http_response)    (GstRTSPClient * client, GstRTSPMessage * request,
1077                                        GstRTSPMessage * response);
1078 };
1079 </pre>
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">
1084 <colgroup>
1085 <col width="300px" class="struct_members_name">
1086 <col class="struct_members_description">
1087 <col width="200px" class="struct_members_annotations">
1088 </colgroup>
1089 <tbody>
1090 <tr>
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>
1092 <td> </td>
1093 <td> </td>
1094 </tr>
1095 <tr>
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>
1099 </tr>
1100 <tr>
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>
1106 </tr>
1107 <tr>
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>
1112 </tr>
1113 <tr>
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-&gt;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>
1118 </tr>
1119 <tr>
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-&gt;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>
1124 </tr>
1125 <tr>
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>
1127 <td> </td>
1128 <td> </td>
1129 </tr>
1130 <tr>
1131 <td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTSPClientClass.closed"></a>closed</code></em> ()</p></td>
1132 <td> </td>
1133 <td> </td>
1134 </tr>
1135 <tr>
1136 <td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTSPClientClass.new-session"></a>new_session</code></em> ()</p></td>
1137 <td> </td>
1138 <td> </td>
1139 </tr>
1140 <tr>
1141 <td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTSPClientClass.options-request"></a>options_request</code></em> ()</p></td>
1142 <td> </td>
1143 <td> </td>
1144 </tr>
1145 <tr>
1146 <td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTSPClientClass.describe-request"></a>describe_request</code></em> ()</p></td>
1147 <td> </td>
1148 <td> </td>
1149 </tr>
1150 <tr>
1151 <td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTSPClientClass.setup-request"></a>setup_request</code></em> ()</p></td>
1152 <td> </td>
1153 <td> </td>
1154 </tr>
1155 <tr>
1156 <td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTSPClientClass.play-request"></a>play_request</code></em> ()</p></td>
1157 <td> </td>
1158 <td> </td>
1159 </tr>
1160 <tr>
1161 <td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTSPClientClass.pause-request"></a>pause_request</code></em> ()</p></td>
1162 <td> </td>
1163 <td> </td>
1164 </tr>
1165 <tr>
1166 <td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTSPClientClass.teardown-request"></a>teardown_request</code></em> ()</p></td>
1167 <td> </td>
1168 <td> </td>
1169 </tr>
1170 <tr>
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>
1172 <td> </td>
1173 <td> </td>
1174 </tr>
1175 <tr>
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>
1177 <td> </td>
1178 <td> </td>
1179 </tr>
1180 <tr>
1181 <td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTSPClientClass.handle-response"></a>handle_response</code></em> ()</p></td>
1182 <td> </td>
1183 <td> </td>
1184 </tr>
1185 <tr>
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>
1190 </tr>
1191 </tbody>
1192 </table></div>
1193 </div>
1194 </div>
1195 </div>
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>
1204 </div>
1205 <hr>
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>
1211 </div>
1212 <hr>
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>
1218 </div>
1219 </div>
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>
1228 </div>
1229 <hr>
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>
1237 </div>
1238 <hr>
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>
1246 </div>
1247 <hr>
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>
1255 </div>
1256 <hr>
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>
1264 </div>
1265 <hr>
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>
1273 </div>
1274 <hr>
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>
1282 </div>
1283 <hr>
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>
1291 </div>
1292 <hr>
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">
1303 <colgroup>
1304 <col width="150px" class="parameters_name">
1305 <col class="parameters_description">
1306 <col width="200px" class="parameters_annotations">
1307 </colgroup>
1308 <tbody>
1309 <tr>
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>
1313 </tr>
1314 <tr>
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>
1318 </tr>
1319 <tr>
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>
1323 </tr>
1324 <tr>
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>
1328 </tr>
1329 </tbody>
1330 </table></div>
1331 </div>
1332 <p>Flags: Run Last</p>
1333 </div>
1334 <hr>
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>
1342 </div>
1343 <hr>
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>
1351 </div>
1352 <hr>
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>
1360 </div>
1361 </div>
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>
1365 </div>
1366 </div>
1367 <div class="footer">
1368 <hr>
1369           Generated by GTK-Doc V1.21</div>
1370 </body>
1371 </html>