tizen 2.4 release
[framework/multimedia/gst-rtsp-server.git] / docs / libs / html / GstRTSPMedia.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: GstRTSPMedia</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="gst-rtsp-server-GstRTSPMediaFactoryURI.html" title="GstRTSPMediaFactoryURI">
10 <link rel="next" href="GstRTSPStream.html" title="GstRTSPStream">
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="#GstRTSPMedia.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
19                   <a href="#GstRTSPMedia.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties">  <span class="dim">|</span> 
20                   <a href="#GstRTSPMedia.properties" class="shortcut">Properties</a></span><span id="nav_signals">  <span class="dim">|</span> 
21                   <a href="#GstRTSPMedia.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="gst-rtsp-server-GstRTSPMediaFactoryURI.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
26 <td><a accesskey="n" href="GstRTSPStream.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="GstRTSPMedia"></a><div class="titlepage"></div>
30 <div class="refnamediv"><table width="100%"><tr>
31 <td valign="top">
32 <h2><span class="refentrytitle"><a name="GstRTSPMedia.top_of_page"></a>GstRTSPMedia</span></h2>
33 <p>GstRTSPMedia — The media pipeline</p>
34 </td>
35 <td class="gallery_image" valign="top" align="right"></td>
36 </tr></table></div>
37 <div class="refsect1">
38 <a name="GstRTSPMedia.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="GstRTSPMedia.html" title="GstRTSPMedia"><span class="returnvalue">GstRTSPMedia</span></a> *
48 </td>
49 <td class="function_name">
50 <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-new" title="gst_rtsp_media_new ()">gst_rtsp_media_new</a> <span class="c_punctuation">()</span>
51 </td>
52 </tr>
53 <tr>
54 <td class="function_type">
55 <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="returnvalue">GstElement</span></a> *
56 </td>
57 <td class="function_name">
58 <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-get-element" title="gst_rtsp_media_get_element ()">gst_rtsp_media_get_element</a> <span class="c_punctuation">()</span>
59 </td>
60 </tr>
61 <tr>
62 <td class="function_type">
63 <span class="returnvalue">void</span>
64 </td>
65 <td class="function_name">
66 <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-take-pipeline" title="gst_rtsp_media_take_pipeline ()">gst_rtsp_media_take_pipeline</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="GstRTSPMedia.html#gst-rtsp-media-set-permissions" title="gst_rtsp_media_set_permissions ()">gst_rtsp_media_set_permissions</a> <span class="c_punctuation">()</span>
75 </td>
76 </tr>
77 <tr>
78 <td class="function_type">
79 <a class="link" href="gst-rtsp-server-GstRTSPPermissions.html#GstRTSPPermissions" title="struct GstRTSPPermissions"><span class="returnvalue">GstRTSPPermissions</span></a> *
80 </td>
81 <td class="function_name">
82 <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-get-permissions" title="gst_rtsp_media_get_permissions ()">gst_rtsp_media_get_permissions</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="GstRTSPMedia.html#gst-rtsp-media-set-shared" title="gst_rtsp_media_set_shared ()">gst_rtsp_media_set_shared</a> <span class="c_punctuation">()</span>
91 </td>
92 </tr>
93 <tr>
94 <td class="function_type">
95 <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
96 </td>
97 <td class="function_name">
98 <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-is-shared" title="gst_rtsp_media_is_shared ()">gst_rtsp_media_is_shared</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="GstRTSPMedia.html#gst-rtsp-media-set-reusable" title="gst_rtsp_media_set_reusable ()">gst_rtsp_media_set_reusable</a> <span class="c_punctuation">()</span>
107 </td>
108 </tr>
109 <tr>
110 <td class="function_type">
111 <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
112 </td>
113 <td class="function_name">
114 <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-is-reusable" title="gst_rtsp_media_is_reusable ()">gst_rtsp_media_is_reusable</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="GstRTSPMedia.html#gst-rtsp-media-set-profiles" title="gst_rtsp_media_set_profiles ()">gst_rtsp_media_set_profiles</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-gstrtsptransport.html#GstRTSPProfile"><span class="returnvalue">GstRTSPProfile</span></a>
128 </td>
129 <td class="function_name">
130 <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-get-profiles" title="gst_rtsp_media_get_profiles ()">gst_rtsp_media_get_profiles</a> <span class="c_punctuation">()</span>
131 </td>
132 </tr>
133 <tr>
134 <td class="function_type">
135 <span class="returnvalue">void</span>
136 </td>
137 <td class="function_name">
138 <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-set-protocols" title="gst_rtsp_media_set_protocols ()">gst_rtsp_media_set_protocols</a> <span class="c_punctuation">()</span>
139 </td>
140 </tr>
141 <tr>
142 <td class="function_type">
143 <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstrtsptransport.html#GstRTSPLowerTrans"><span class="returnvalue">GstRTSPLowerTrans</span></a>
144 </td>
145 <td class="function_name">
146 <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-get-protocols" title="gst_rtsp_media_get_protocols ()">gst_rtsp_media_get_protocols</a> <span class="c_punctuation">()</span>
147 </td>
148 </tr>
149 <tr>
150 <td class="function_type">
151 <span class="returnvalue">void</span>
152 </td>
153 <td class="function_name">
154 <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-set-eos-shutdown" title="gst_rtsp_media_set_eos_shutdown ()">gst_rtsp_media_set_eos_shutdown</a> <span class="c_punctuation">()</span>
155 </td>
156 </tr>
157 <tr>
158 <td class="function_type">
159 <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
160 </td>
161 <td class="function_name">
162 <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-is-eos-shutdown" title="gst_rtsp_media_is_eos_shutdown ()">gst_rtsp_media_is_eos_shutdown</a> <span class="c_punctuation">()</span>
163 </td>
164 </tr>
165 <tr>
166 <td class="function_type">
167 <span class="returnvalue">void</span>
168 </td>
169 <td class="function_name">
170 <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-set-address-pool" title="gst_rtsp_media_set_address_pool ()">gst_rtsp_media_set_address_pool</a> <span class="c_punctuation">()</span>
171 </td>
172 </tr>
173 <tr>
174 <td class="function_type">
175 <a class="link" href="gst-rtsp-server-GstRTSPAddressPool.html#GstRTSPAddressPool" title="struct GstRTSPAddressPool"><span class="returnvalue">GstRTSPAddressPool</span></a> *
176 </td>
177 <td class="function_name">
178 <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-get-address-pool" title="gst_rtsp_media_get_address_pool ()">gst_rtsp_media_get_address_pool</a> <span class="c_punctuation">()</span>
179 </td>
180 </tr>
181 <tr>
182 <td class="function_type">
183 <span class="returnvalue">void</span>
184 </td>
185 <td class="function_name">
186 <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-set-buffer-size" title="gst_rtsp_media_set_buffer_size ()">gst_rtsp_media_set_buffer_size</a> <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-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
192 </td>
193 <td class="function_name">
194 <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-get-buffer-size" title="gst_rtsp_media_get_buffer_size ()">gst_rtsp_media_get_buffer_size</a> <span class="c_punctuation">()</span>
195 </td>
196 </tr>
197 <tr>
198 <td class="function_type">
199 <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
200 </td>
201 <td class="function_name">
202 <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-setup-sdp" title="gst_rtsp_media_setup_sdp ()">gst_rtsp_media_setup_sdp</a> <span class="c_punctuation">()</span>
203 </td>
204 </tr>
205 <tr>
206 <td class="function_type">
207 <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
208 </td>
209 <td class="function_name">
210 <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-prepare" title="gst_rtsp_media_prepare ()">gst_rtsp_media_prepare</a> <span class="c_punctuation">()</span>
211 </td>
212 </tr>
213 <tr>
214 <td class="function_type">
215 <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
216 </td>
217 <td class="function_name">
218 <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-unprepare" title="gst_rtsp_media_unprepare ()">gst_rtsp_media_unprepare</a> <span class="c_punctuation">()</span>
219 </td>
220 </tr>
221 <tr>
222 <td class="function_type">
223 <a class="link" href="GstRTSPMedia.html#GstRTSPMediaStatus" title="enum GstRTSPMediaStatus"><span class="returnvalue">GstRTSPMediaStatus</span></a>
224 </td>
225 <td class="function_name">
226 <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-get-status" title="gst_rtsp_media_get_status ()">gst_rtsp_media_get_status</a> <span class="c_punctuation">()</span>
227 </td>
228 </tr>
229 <tr>
230 <td class="function_type">
231 <span class="returnvalue">void</span>
232 </td>
233 <td class="function_name">
234 <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-set-suspend-mode" title="gst_rtsp_media_set_suspend_mode ()">gst_rtsp_media_set_suspend_mode</a> <span class="c_punctuation">()</span>
235 </td>
236 </tr>
237 <tr>
238 <td class="function_type">
239 <a class="link" href="GstRTSPMedia.html#GstRTSPSuspendMode" title="enum GstRTSPSuspendMode"><span class="returnvalue">GstRTSPSuspendMode</span></a>
240 </td>
241 <td class="function_name">
242 <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-get-suspend-mode" title="gst_rtsp_media_get_suspend_mode ()">gst_rtsp_media_get_suspend_mode</a> <span class="c_punctuation">()</span>
243 </td>
244 </tr>
245 <tr>
246 <td class="function_type">
247 <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
248 </td>
249 <td class="function_name">
250 <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-suspend" title="gst_rtsp_media_suspend ()">gst_rtsp_media_suspend</a> <span class="c_punctuation">()</span>
251 </td>
252 </tr>
253 <tr>
254 <td class="function_type">
255 <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
256 </td>
257 <td class="function_name">
258 <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-unsuspend" title="gst_rtsp_media_unsuspend ()">gst_rtsp_media_unsuspend</a> <span class="c_punctuation">()</span>
259 </td>
260 </tr>
261 <tr>
262 <td class="function_type">
263 <span class="returnvalue">void</span>
264 </td>
265 <td class="function_name">
266 <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-collect-streams" title="gst_rtsp_media_collect_streams ()">gst_rtsp_media_collect_streams</a> <span class="c_punctuation">()</span>
267 </td>
268 </tr>
269 <tr>
270 <td class="function_type">
271 <a class="link" href="GstRTSPStream.html" title="GstRTSPStream"><span class="returnvalue">GstRTSPStream</span></a> *
272 </td>
273 <td class="function_name">
274 <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-create-stream" title="gst_rtsp_media_create_stream ()">gst_rtsp_media_create_stream</a> <span class="c_punctuation">()</span>
275 </td>
276 </tr>
277 <tr>
278 <td class="function_type">
279 <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
280 </td>
281 <td class="function_name">
282 <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-n-streams" title="gst_rtsp_media_n_streams ()">gst_rtsp_media_n_streams</a> <span class="c_punctuation">()</span>
283 </td>
284 </tr>
285 <tr>
286 <td class="function_type">
287 <a class="link" href="GstRTSPStream.html" title="GstRTSPStream"><span class="returnvalue">GstRTSPStream</span></a> *
288 </td>
289 <td class="function_name">
290 <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-get-stream" title="gst_rtsp_media_get_stream ()">gst_rtsp_media_get_stream</a> <span class="c_punctuation">()</span>
291 </td>
292 </tr>
293 <tr>
294 <td class="function_type">
295 <a class="link" href="GstRTSPStream.html" title="GstRTSPStream"><span class="returnvalue">GstRTSPStream</span></a> *
296 </td>
297 <td class="function_name">
298 <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-find-stream" title="gst_rtsp_media_find_stream ()">gst_rtsp_media_find_stream</a> <span class="c_punctuation">()</span>
299 </td>
300 </tr>
301 <tr>
302 <td class="function_type">
303 <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
304 </td>
305 <td class="function_name">
306 <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-seek" title="gst_rtsp_media_seek ()">gst_rtsp_media_seek</a> <span class="c_punctuation">()</span>
307 </td>
308 </tr>
309 <tr>
310 <td class="function_type">
311 <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
312 </td>
313 <td class="function_name">
314 <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-get-range-string" title="gst_rtsp_media_get_range_string ()">gst_rtsp_media_get_range_string</a> <span class="c_punctuation">()</span>
315 </td>
316 </tr>
317 <tr>
318 <td class="function_type">
319 <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
320 </td>
321 <td class="function_name">
322 <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-set-state" title="gst_rtsp_media_set_state ()">gst_rtsp_media_set_state</a> <span class="c_punctuation">()</span>
323 </td>
324 </tr>
325 <tr>
326 <td class="function_type">
327 <span class="returnvalue">void</span>
328 </td>
329 <td class="function_name">
330 <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-set-pipeline-state" title="gst_rtsp_media_set_pipeline_state ()">gst_rtsp_media_set_pipeline_state</a> <span class="c_punctuation">()</span>
331 </td>
332 </tr>
333 <tr>
334 <td class="function_type">
335 <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstClock.html"><span class="returnvalue">GstClock</span></a> *
336 </td>
337 <td class="function_name">
338 <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-get-clock" title="gst_rtsp_media_get_clock ()">gst_rtsp_media_get_clock</a> <span class="c_punctuation">()</span>
339 </td>
340 </tr>
341 <tr>
342 <td class="function_type">
343 <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstClock.html#GstClockTime"><span class="returnvalue">GstClockTime</span></a>
344 </td>
345 <td class="function_name">
346 <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-get-base-time" title="gst_rtsp_media_get_base_time ()">gst_rtsp_media_get_base_time</a> <span class="c_punctuation">()</span>
347 </td>
348 </tr>
349 <tr>
350 <td class="function_type">
351 <span class="returnvalue">void</span>
352 </td>
353 <td class="function_name">
354 <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-use-time-provider" title="gst_rtsp_media_use_time_provider ()">gst_rtsp_media_use_time_provider</a> <span class="c_punctuation">()</span>
355 </td>
356 </tr>
357 <tr>
358 <td class="function_type">
359 <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
360 </td>
361 <td class="function_name">
362 <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-is-time-provider" title="gst_rtsp_media_is_time_provider ()">gst_rtsp_media_is_time_provider</a> <span class="c_punctuation">()</span>
363 </td>
364 </tr>
365 <tr>
366 <td class="function_type">
367 <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-libs/html/GstNetTimeProvider.html"><span class="returnvalue">GstNetTimeProvider</span></a> *
368 </td>
369 <td class="function_name">
370 <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-get-time-provider" title="gst_rtsp_media_get_time_provider ()">gst_rtsp_media_get_time_provider</a> <span class="c_punctuation">()</span>
371 </td>
372 </tr>
373 </tbody>
374 </table></div>
375 </div>
376 <div class="refsect1">
377 <a name="GstRTSPMedia.properties"></a><h2>Properties</h2>
378 <div class="informaltable"><table border="0">
379 <colgroup>
380 <col width="150px" class="properties_type">
381 <col width="300px" class="properties_name">
382 <col width="200px" class="properties_flags">
383 </colgroup>
384 <tbody>
385 <tr>
386 <td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
387 <td class="property_name"><a class="link" href="GstRTSPMedia.html#GstRTSPMedia--buffer-size" title="The “buffer-size” property">buffer-size</a></td>
388 <td class="property_flags">Read / Write</td>
389 </tr>
390 <tr>
391 <td class="property_type">
392 <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a> *</td>
393 <td class="property_name"><a class="link" href="GstRTSPMedia.html#GstRTSPMedia--element" title="The “element” property">element</a></td>
394 <td class="property_flags">Read / Write / Construct Only</td>
395 </tr>
396 <tr>
397 <td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
398 <td class="property_name"><a class="link" href="GstRTSPMedia.html#GstRTSPMedia--eos-shutdown" title="The “eos-shutdown” property">eos-shutdown</a></td>
399 <td class="property_flags">Read / Write</td>
400 </tr>
401 <tr>
402 <td class="property_type"><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstrtsptransport.html#GstRTSPProfile"><span class="type">GstRTSPProfile</span></a></td>
403 <td class="property_name"><a class="link" href="GstRTSPMedia.html#GstRTSPMedia--profiles" title="The “profiles” property">profiles</a></td>
404 <td class="property_flags">Read / Write</td>
405 </tr>
406 <tr>
407 <td class="property_type"><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstrtsptransport.html#GstRTSPLowerTrans"><span class="type">GstRTSPLowerTrans</span></a></td>
408 <td class="property_name"><a class="link" href="GstRTSPMedia.html#GstRTSPMedia--protocols" title="The “protocols” property">protocols</a></td>
409 <td class="property_flags">Read / Write</td>
410 </tr>
411 <tr>
412 <td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
413 <td class="property_name"><a class="link" href="GstRTSPMedia.html#GstRTSPMedia--reusable" title="The “reusable” property">reusable</a></td>
414 <td class="property_flags">Read / Write</td>
415 </tr>
416 <tr>
417 <td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
418 <td class="property_name"><a class="link" href="GstRTSPMedia.html#GstRTSPMedia--shared" title="The “shared” property">shared</a></td>
419 <td class="property_flags">Read / Write</td>
420 </tr>
421 <tr>
422 <td class="property_type"><a class="link" href="GstRTSPMedia.html#GstRTSPSuspendMode" title="enum GstRTSPSuspendMode"><span class="type">GstRTSPSuspendMode</span></a></td>
423 <td class="property_name"><a class="link" href="GstRTSPMedia.html#GstRTSPMedia--suspend-mode" title="The “suspend-mode” property">suspend-mode</a></td>
424 <td class="property_flags">Read / Write</td>
425 </tr>
426 <tr>
427 <td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
428 <td class="property_name"><a class="link" href="GstRTSPMedia.html#GstRTSPMedia--time-provider" title="The “time-provider” property">time-provider</a></td>
429 <td class="property_flags">Read / Write</td>
430 </tr>
431 </tbody>
432 </table></div>
433 </div>
434 <div class="refsect1">
435 <a name="GstRTSPMedia.signals"></a><h2>Signals</h2>
436 <div class="informaltable"><table border="0">
437 <colgroup>
438 <col width="150px" class="signals_return">
439 <col width="300px" class="signals_name">
440 <col width="200px" class="signals_flags">
441 </colgroup>
442 <tbody>
443 <tr>
444 <td class="signal_type"><span class="returnvalue">void</span></td>
445 <td class="signal_name"><a class="link" href="GstRTSPMedia.html#GstRTSPMedia-new-state" title="The “new-state” signal">new-state</a></td>
446 <td class="signal_flags">Run Last</td>
447 </tr>
448 <tr>
449 <td class="signal_type"><span class="returnvalue">void</span></td>
450 <td class="signal_name"><a class="link" href="GstRTSPMedia.html#GstRTSPMedia-new-stream" title="The “new-stream” signal">new-stream</a></td>
451 <td class="signal_flags">Run Last</td>
452 </tr>
453 <tr>
454 <td class="signal_type"><span class="returnvalue">void</span></td>
455 <td class="signal_name"><a class="link" href="GstRTSPMedia.html#GstRTSPMedia-prepared" title="The “prepared” signal">prepared</a></td>
456 <td class="signal_flags">Run Last</td>
457 </tr>
458 <tr>
459 <td class="signal_type"><span class="returnvalue">void</span></td>
460 <td class="signal_name"><a class="link" href="GstRTSPMedia.html#GstRTSPMedia-removed-stream" title="The “removed-stream” signal">removed-stream</a></td>
461 <td class="signal_flags">Run Last</td>
462 </tr>
463 <tr>
464 <td class="signal_type"><span class="returnvalue">void</span></td>
465 <td class="signal_name"><a class="link" href="GstRTSPMedia.html#GstRTSPMedia-target-state" title="The “target-state” signal">target-state</a></td>
466 <td class="signal_flags">Run Last</td>
467 </tr>
468 <tr>
469 <td class="signal_type"><span class="returnvalue">void</span></td>
470 <td class="signal_name"><a class="link" href="GstRTSPMedia.html#GstRTSPMedia-unprepared" title="The “unprepared” signal">unprepared</a></td>
471 <td class="signal_flags">Run Last</td>
472 </tr>
473 </tbody>
474 </table></div>
475 </div>
476 <div class="refsect1">
477 <a name="GstRTSPMedia.other"></a><h2>Types and Values</h2>
478 <div class="informaltable"><table width="100%" border="0">
479 <colgroup>
480 <col width="150px" class="name">
481 <col class="description">
482 </colgroup>
483 <tbody>
484 <tr>
485 <td class="datatype_keyword">struct</td>
486 <td class="function_name"><a class="link" href="GstRTSPMedia.html#GstRTSPMedia-struct" title="struct GstRTSPMedia">GstRTSPMedia</a></td>
487 </tr>
488 <tr>
489 <td class="datatype_keyword">struct</td>
490 <td class="function_name"><a class="link" href="GstRTSPMedia.html#GstRTSPMediaClass" title="struct GstRTSPMediaClass">GstRTSPMediaClass</a></td>
491 </tr>
492 <tr>
493 <td class="datatype_keyword">enum</td>
494 <td class="function_name"><a class="link" href="GstRTSPMedia.html#GstRTSPMediaStatus" title="enum GstRTSPMediaStatus">GstRTSPMediaStatus</a></td>
495 </tr>
496 <tr>
497 <td class="datatype_keyword">enum</td>
498 <td class="function_name"><a class="link" href="GstRTSPMedia.html#GstRTSPSuspendMode" title="enum GstRTSPSuspendMode">GstRTSPSuspendMode</a></td>
499 </tr>
500 </tbody>
501 </table></div>
502 </div>
503 <div class="refsect1">
504 <a name="GstRTSPMedia.object-hierarchy"></a><h2>Object Hierarchy</h2>
505 <pre class="screen">    <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
506     <span class="lineart">╰──</span> GstRTSPMedia
507 </pre>
508 </div>
509 <div class="refsect1">
510 <a name="GstRTSPMedia.description"></a><h2>Description</h2>
511 <p>a <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> contains the complete GStreamer pipeline to manage the
512 streaming to the clients. The actual data transfer is done by the
513 <a class="link" href="GstRTSPStream.html" title="GstRTSPStream"><span class="type">GstRTSPStream</span></a> objects that are created and exposed by the <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a>.</p>
514 <p>The <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> is usually created from a <a class="link" href="GstRTSPMediaFactory.html" title="GstRTSPMediaFactory"><span class="type">GstRTSPMediaFactory</span></a> when the
515 client does a DESCRIBE or SETUP of a resource.</p>
516 <p>A media is created with <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-new" title="gst_rtsp_media_new ()"><code class="function">gst_rtsp_media_new()</code></a> that takes the element that will
517 provide the streaming elements. For each of the streams, a new <a class="link" href="GstRTSPStream.html" title="GstRTSPStream"><span class="type">GstRTSPStream</span></a>
518 object needs to be made with the <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-create-stream" title="gst_rtsp_media_create_stream ()"><code class="function">gst_rtsp_media_create_stream()</code></a> which takes
519 the payloader element and the source pad that produces the RTP stream.</p>
520 <p>The pipeline of the media is set to PAUSED with <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-prepare" title="gst_rtsp_media_prepare ()"><code class="function">gst_rtsp_media_prepare()</code></a>. The
521 prepare method will add rtpbin and sinks and sources to send and receive RTP
522 and RTCP packets from the clients. Each stream srcpad is connected to an
523 input into the internal rtpbin.</p>
524 <p>It is also possible to dynamically create <a class="link" href="GstRTSPStream.html" title="GstRTSPStream"><span class="type">GstRTSPStream</span></a> objects during the
525 prepare phase. With <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-get-status" title="gst_rtsp_media_get_status ()"><code class="function">gst_rtsp_media_get_status()</code></a> you can check the status of
526 the prepare phase.</p>
527 <p>After the media is prepared, it is ready for streaming. It will usually be
528 managed in a session with <a class="link" href="GstRTSPSession.html#gst-rtsp-session-manage-media" title="gst_rtsp_session_manage_media ()"><code class="function">gst_rtsp_session_manage_media()</code></a>. See
529 <a class="link" href="GstRTSPSession.html" title="GstRTSPSession"><span class="type">GstRTSPSession</span></a> and <a class="link" href="gst-rtsp-server-GstRTSPSessionMedia.html#GstRTSPSessionMedia" title="struct GstRTSPSessionMedia"><span class="type">GstRTSPSessionMedia</span></a>.</p>
530 <p>The state of the media can be controlled with <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-set-state" title="gst_rtsp_media_set_state ()"><code class="function">gst_rtsp_media_set_state()</code></a>.
531 Seeking can be done with <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-seek" title="gst_rtsp_media_seek ()"><code class="function">gst_rtsp_media_seek()</code></a>.</p>
532 <p>With <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-unprepare" title="gst_rtsp_media_unprepare ()"><code class="function">gst_rtsp_media_unprepare()</code></a> the pipeline is stopped and shut down. When
533 <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-set-eos-shutdown" title="gst_rtsp_media_set_eos_shutdown ()"><code class="function">gst_rtsp_media_set_eos_shutdown()</code></a> an EOS will be sent to the pipeline to
534 cleanly shut down.</p>
535 <p>With <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-set-shared" title="gst_rtsp_media_set_shared ()"><code class="function">gst_rtsp_media_set_shared()</code></a>, the media can be shared between multiple
536 clients. With <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-set-reusable" title="gst_rtsp_media_set_reusable ()"><code class="function">gst_rtsp_media_set_reusable()</code></a> you can control if the pipeline
537 can be prepared again after an unprepare.</p>
538 <p>Last reviewed on 2013-07-11 (1.0.0)</p>
539 </div>
540 <div class="refsect1">
541 <a name="GstRTSPMedia.functions_details"></a><h2>Functions</h2>
542 <div class="refsect2">
543 <a name="gst-rtsp-media-new"></a><h3>gst_rtsp_media_new ()</h3>
544 <pre class="programlisting"><a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="returnvalue">GstRTSPMedia</span></a> *
545 gst_rtsp_media_new (<em class="parameter"><code><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a> *element</code></em>);</pre>
546 <p>Create a new <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> instance. <em class="parameter"><code>element</code></em>
547  is the bin element that
548 provides the different streams. The <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> object contains the
549 element to produce RTP data for one or more related (audio/video/..)
550 streams.</p>
551 <p>Ownership is taken of <em class="parameter"><code>element</code></em>
552 .</p>
553 <div class="refsect3">
554 <a name="id-1.2.7.9.2.6"></a><h4>Parameters</h4>
555 <div class="informaltable"><table width="100%" border="0">
556 <colgroup>
557 <col width="150px" class="parameters_name">
558 <col class="parameters_description">
559 <col width="200px" class="parameters_annotations">
560 </colgroup>
561 <tbody><tr>
562 <td class="parameter_name"><p>element</p></td>
563 <td class="parameter_description"><p> a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a>. </p></td>
564 <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>
565 </tr></tbody>
566 </table></div>
567 </div>
568 <div class="refsect3">
569 <a name="id-1.2.7.9.2.7"></a><h4>Returns</h4>
570 <p> a new <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> object. </p>
571 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
572 </div>
573 </div>
574 <hr>
575 <div class="refsect2">
576 <a name="gst-rtsp-media-get-element"></a><h3>gst_rtsp_media_get_element ()</h3>
577 <pre class="programlisting"><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="returnvalue">GstElement</span></a> *
578 gst_rtsp_media_get_element (<em class="parameter"><code><a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> *media</code></em>);</pre>
579 <p>Get the element that was used when constructing <em class="parameter"><code>media</code></em>
580 .</p>
581 <div class="refsect3">
582 <a name="id-1.2.7.9.3.5"></a><h4>Parameters</h4>
583 <div class="informaltable"><table width="100%" border="0">
584 <colgroup>
585 <col width="150px" class="parameters_name">
586 <col class="parameters_description">
587 <col width="200px" class="parameters_annotations">
588 </colgroup>
589 <tbody><tr>
590 <td class="parameter_name"><p>media</p></td>
591 <td class="parameter_description"><p>a <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a></p></td>
592 <td class="parameter_annotations"> </td>
593 </tr></tbody>
594 </table></div>
595 </div>
596 <div class="refsect3">
597 <a name="id-1.2.7.9.3.6"></a><h4>Returns</h4>
598 <p> a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a>. Unref after usage. </p>
599 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
600 </div>
601 </div>
602 <hr>
603 <div class="refsect2">
604 <a name="gst-rtsp-media-take-pipeline"></a><h3>gst_rtsp_media_take_pipeline ()</h3>
605 <pre class="programlisting"><span class="returnvalue">void</span>
606 gst_rtsp_media_take_pipeline (<em class="parameter"><code><a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> *media</code></em>,
607                               <em class="parameter"><code><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPipeline.html"><span class="type">GstPipeline</span></a> *pipeline</code></em>);</pre>
608 <p>Set <em class="parameter"><code>pipeline</code></em>
609  as the <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPipeline.html"><span class="type">GstPipeline</span></a> for <em class="parameter"><code>media</code></em>
610 . Ownership is
611 taken of <em class="parameter"><code>pipeline</code></em>
612 .</p>
613 <div class="refsect3">
614 <a name="id-1.2.7.9.4.5"></a><h4>Parameters</h4>
615 <div class="informaltable"><table width="100%" border="0">
616 <colgroup>
617 <col width="150px" class="parameters_name">
618 <col class="parameters_description">
619 <col width="200px" class="parameters_annotations">
620 </colgroup>
621 <tbody>
622 <tr>
623 <td class="parameter_name"><p>media</p></td>
624 <td class="parameter_description"><p>a <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a></p></td>
625 <td class="parameter_annotations"> </td>
626 </tr>
627 <tr>
628 <td class="parameter_name"><p>pipeline</p></td>
629 <td class="parameter_description"><p> a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPipeline.html"><span class="type">GstPipeline</span></a>. </p></td>
630 <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>
631 </tr>
632 </tbody>
633 </table></div>
634 </div>
635 </div>
636 <hr>
637 <div class="refsect2">
638 <a name="gst-rtsp-media-set-permissions"></a><h3>gst_rtsp_media_set_permissions ()</h3>
639 <pre class="programlisting"><span class="returnvalue">void</span>
640 gst_rtsp_media_set_permissions (<em class="parameter"><code><a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> *media</code></em>,
641                                 <em class="parameter"><code><a class="link" href="gst-rtsp-server-GstRTSPPermissions.html#GstRTSPPermissions" title="struct GstRTSPPermissions"><span class="type">GstRTSPPermissions</span></a> *permissions</code></em>);</pre>
642 <p>Set <em class="parameter"><code>permissions</code></em>
643  on <em class="parameter"><code>media</code></em>
644 .</p>
645 <div class="refsect3">
646 <a name="id-1.2.7.9.5.5"></a><h4>Parameters</h4>
647 <div class="informaltable"><table width="100%" border="0">
648 <colgroup>
649 <col width="150px" class="parameters_name">
650 <col class="parameters_description">
651 <col width="200px" class="parameters_annotations">
652 </colgroup>
653 <tbody>
654 <tr>
655 <td class="parameter_name"><p>media</p></td>
656 <td class="parameter_description"><p>a <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a></p></td>
657 <td class="parameter_annotations"> </td>
658 </tr>
659 <tr>
660 <td class="parameter_name"><p>permissions</p></td>
661 <td class="parameter_description"><p> a <a class="link" href="gst-rtsp-server-GstRTSPPermissions.html#GstRTSPPermissions" title="struct GstRTSPPermissions"><span class="type">GstRTSPPermissions</span></a>. </p></td>
662 <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>
663 </tr>
664 </tbody>
665 </table></div>
666 </div>
667 </div>
668 <hr>
669 <div class="refsect2">
670 <a name="gst-rtsp-media-get-permissions"></a><h3>gst_rtsp_media_get_permissions ()</h3>
671 <pre class="programlisting"><a class="link" href="gst-rtsp-server-GstRTSPPermissions.html#GstRTSPPermissions" title="struct GstRTSPPermissions"><span class="returnvalue">GstRTSPPermissions</span></a> *
672 gst_rtsp_media_get_permissions (<em class="parameter"><code><a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> *media</code></em>);</pre>
673 <p>Get the permissions object from <em class="parameter"><code>media</code></em>
674 .</p>
675 <div class="refsect3">
676 <a name="id-1.2.7.9.6.5"></a><h4>Parameters</h4>
677 <div class="informaltable"><table width="100%" border="0">
678 <colgroup>
679 <col width="150px" class="parameters_name">
680 <col class="parameters_description">
681 <col width="200px" class="parameters_annotations">
682 </colgroup>
683 <tbody><tr>
684 <td class="parameter_name"><p>media</p></td>
685 <td class="parameter_description"><p>a <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a></p></td>
686 <td class="parameter_annotations"> </td>
687 </tr></tbody>
688 </table></div>
689 </div>
690 <div class="refsect3">
691 <a name="id-1.2.7.9.6.6"></a><h4>Returns</h4>
692 <p> a <a class="link" href="gst-rtsp-server-GstRTSPPermissions.html#GstRTSPPermissions" title="struct GstRTSPPermissions"><span class="type">GstRTSPPermissions</span></a> object, unref after usage. </p>
693 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
694 </div>
695 </div>
696 <hr>
697 <div class="refsect2">
698 <a name="gst-rtsp-media-set-shared"></a><h3>gst_rtsp_media_set_shared ()</h3>
699 <pre class="programlisting"><span class="returnvalue">void</span>
700 gst_rtsp_media_set_shared (<em class="parameter"><code><a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> *media</code></em>,
701                            <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> shared</code></em>);</pre>
702 <p>Set or unset if the pipeline for <em class="parameter"><code>media</code></em>
703  can be shared will multiple clients.
704 When <em class="parameter"><code>shared</code></em>
705  is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, client requests for this media will share the media
706 pipeline.</p>
707 <div class="refsect3">
708 <a name="id-1.2.7.9.7.5"></a><h4>Parameters</h4>
709 <div class="informaltable"><table width="100%" border="0">
710 <colgroup>
711 <col width="150px" class="parameters_name">
712 <col class="parameters_description">
713 <col width="200px" class="parameters_annotations">
714 </colgroup>
715 <tbody>
716 <tr>
717 <td class="parameter_name"><p>media</p></td>
718 <td class="parameter_description"><p>a <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a></p></td>
719 <td class="parameter_annotations"> </td>
720 </tr>
721 <tr>
722 <td class="parameter_name"><p>shared</p></td>
723 <td class="parameter_description"><p>the new value</p></td>
724 <td class="parameter_annotations"> </td>
725 </tr>
726 </tbody>
727 </table></div>
728 </div>
729 </div>
730 <hr>
731 <div class="refsect2">
732 <a name="gst-rtsp-media-is-shared"></a><h3>gst_rtsp_media_is_shared ()</h3>
733 <pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
734 gst_rtsp_media_is_shared (<em class="parameter"><code><a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> *media</code></em>);</pre>
735 <p>Check if the pipeline for <em class="parameter"><code>media</code></em>
736  can be shared between multiple clients.</p>
737 <div class="refsect3">
738 <a name="id-1.2.7.9.8.5"></a><h4>Parameters</h4>
739 <div class="informaltable"><table width="100%" border="0">
740 <colgroup>
741 <col width="150px" class="parameters_name">
742 <col class="parameters_description">
743 <col width="200px" class="parameters_annotations">
744 </colgroup>
745 <tbody><tr>
746 <td class="parameter_name"><p>media</p></td>
747 <td class="parameter_description"><p>a <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a></p></td>
748 <td class="parameter_annotations"> </td>
749 </tr></tbody>
750 </table></div>
751 </div>
752 <div class="refsect3">
753 <a name="id-1.2.7.9.8.6"></a><h4>Returns</h4>
754 <p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the media can be shared between clients.</p>
755 <p></p>
756 </div>
757 </div>
758 <hr>
759 <div class="refsect2">
760 <a name="gst-rtsp-media-set-reusable"></a><h3>gst_rtsp_media_set_reusable ()</h3>
761 <pre class="programlisting"><span class="returnvalue">void</span>
762 gst_rtsp_media_set_reusable (<em class="parameter"><code><a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> *media</code></em>,
763                              <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> reusable</code></em>);</pre>
764 <p>Set or unset if the pipeline for <em class="parameter"><code>media</code></em>
765  can be reused after the pipeline has
766 been unprepared.</p>
767 <div class="refsect3">
768 <a name="id-1.2.7.9.9.5"></a><h4>Parameters</h4>
769 <div class="informaltable"><table width="100%" border="0">
770 <colgroup>
771 <col width="150px" class="parameters_name">
772 <col class="parameters_description">
773 <col width="200px" class="parameters_annotations">
774 </colgroup>
775 <tbody>
776 <tr>
777 <td class="parameter_name"><p>media</p></td>
778 <td class="parameter_description"><p>a <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a></p></td>
779 <td class="parameter_annotations"> </td>
780 </tr>
781 <tr>
782 <td class="parameter_name"><p>reusable</p></td>
783 <td class="parameter_description"><p>the new value</p></td>
784 <td class="parameter_annotations"> </td>
785 </tr>
786 </tbody>
787 </table></div>
788 </div>
789 </div>
790 <hr>
791 <div class="refsect2">
792 <a name="gst-rtsp-media-is-reusable"></a><h3>gst_rtsp_media_is_reusable ()</h3>
793 <pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
794 gst_rtsp_media_is_reusable (<em class="parameter"><code><a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> *media</code></em>);</pre>
795 <p>Check if the pipeline for <em class="parameter"><code>media</code></em>
796  can be reused after an unprepare.</p>
797 <div class="refsect3">
798 <a name="id-1.2.7.9.10.5"></a><h4>Parameters</h4>
799 <div class="informaltable"><table width="100%" border="0">
800 <colgroup>
801 <col width="150px" class="parameters_name">
802 <col class="parameters_description">
803 <col width="200px" class="parameters_annotations">
804 </colgroup>
805 <tbody><tr>
806 <td class="parameter_name"><p>media</p></td>
807 <td class="parameter_description"><p>a <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a></p></td>
808 <td class="parameter_annotations"> </td>
809 </tr></tbody>
810 </table></div>
811 </div>
812 <div class="refsect3">
813 <a name="id-1.2.7.9.10.6"></a><h4>Returns</h4>
814 <p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the media can be reused</p>
815 <p></p>
816 </div>
817 </div>
818 <hr>
819 <div class="refsect2">
820 <a name="gst-rtsp-media-set-profiles"></a><h3>gst_rtsp_media_set_profiles ()</h3>
821 <pre class="programlisting"><span class="returnvalue">void</span>
822 gst_rtsp_media_set_profiles (<em class="parameter"><code><a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> *media</code></em>,
823                              <em class="parameter"><code><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstrtsptransport.html#GstRTSPProfile"><span class="type">GstRTSPProfile</span></a> profiles</code></em>);</pre>
824 <p>Configure the allowed lower transport for <em class="parameter"><code>media</code></em>
825 .</p>
826 <div class="refsect3">
827 <a name="id-1.2.7.9.11.5"></a><h4>Parameters</h4>
828 <div class="informaltable"><table width="100%" border="0">
829 <colgroup>
830 <col width="150px" class="parameters_name">
831 <col class="parameters_description">
832 <col width="200px" class="parameters_annotations">
833 </colgroup>
834 <tbody>
835 <tr>
836 <td class="parameter_name"><p>media</p></td>
837 <td class="parameter_description"><p>a <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a></p></td>
838 <td class="parameter_annotations"> </td>
839 </tr>
840 <tr>
841 <td class="parameter_name"><p>profiles</p></td>
842 <td class="parameter_description"><p>the new flags</p></td>
843 <td class="parameter_annotations"> </td>
844 </tr>
845 </tbody>
846 </table></div>
847 </div>
848 </div>
849 <hr>
850 <div class="refsect2">
851 <a name="gst-rtsp-media-get-profiles"></a><h3>gst_rtsp_media_get_profiles ()</h3>
852 <pre class="programlisting"><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstrtsptransport.html#GstRTSPProfile"><span class="returnvalue">GstRTSPProfile</span></a>
853 gst_rtsp_media_get_profiles (<em class="parameter"><code><a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> *media</code></em>);</pre>
854 <p>Get the allowed profiles of <em class="parameter"><code>media</code></em>
855 .</p>
856 <div class="refsect3">
857 <a name="id-1.2.7.9.12.5"></a><h4>Parameters</h4>
858 <div class="informaltable"><table width="100%" border="0">
859 <colgroup>
860 <col width="150px" class="parameters_name">
861 <col class="parameters_description">
862 <col width="200px" class="parameters_annotations">
863 </colgroup>
864 <tbody><tr>
865 <td class="parameter_name"><p>media</p></td>
866 <td class="parameter_description"><p>a <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a></p></td>
867 <td class="parameter_annotations"> </td>
868 </tr></tbody>
869 </table></div>
870 </div>
871 <div class="refsect3">
872 <a name="id-1.2.7.9.12.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-gstrtsptransport.html#GstRTSPProfile"><span class="type">GstRTSPProfile</span></a></p>
874 <p></p>
875 </div>
876 </div>
877 <hr>
878 <div class="refsect2">
879 <a name="gst-rtsp-media-set-protocols"></a><h3>gst_rtsp_media_set_protocols ()</h3>
880 <pre class="programlisting"><span class="returnvalue">void</span>
881 gst_rtsp_media_set_protocols (<em class="parameter"><code><a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> *media</code></em>,
882                               <em class="parameter"><code><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstrtsptransport.html#GstRTSPLowerTrans"><span class="type">GstRTSPLowerTrans</span></a> protocols</code></em>);</pre>
883 <p>Configure the allowed lower transport for <em class="parameter"><code>media</code></em>
884 .</p>
885 <div class="refsect3">
886 <a name="id-1.2.7.9.13.5"></a><h4>Parameters</h4>
887 <div class="informaltable"><table width="100%" border="0">
888 <colgroup>
889 <col width="150px" class="parameters_name">
890 <col class="parameters_description">
891 <col width="200px" class="parameters_annotations">
892 </colgroup>
893 <tbody>
894 <tr>
895 <td class="parameter_name"><p>media</p></td>
896 <td class="parameter_description"><p>a <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a></p></td>
897 <td class="parameter_annotations"> </td>
898 </tr>
899 <tr>
900 <td class="parameter_name"><p>protocols</p></td>
901 <td class="parameter_description"><p>the new flags</p></td>
902 <td class="parameter_annotations"> </td>
903 </tr>
904 </tbody>
905 </table></div>
906 </div>
907 </div>
908 <hr>
909 <div class="refsect2">
910 <a name="gst-rtsp-media-get-protocols"></a><h3>gst_rtsp_media_get_protocols ()</h3>
911 <pre class="programlisting"><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstrtsptransport.html#GstRTSPLowerTrans"><span class="returnvalue">GstRTSPLowerTrans</span></a>
912 gst_rtsp_media_get_protocols (<em class="parameter"><code><a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> *media</code></em>);</pre>
913 <p>Get the allowed protocols of <em class="parameter"><code>media</code></em>
914 .</p>
915 <div class="refsect3">
916 <a name="id-1.2.7.9.14.5"></a><h4>Parameters</h4>
917 <div class="informaltable"><table width="100%" border="0">
918 <colgroup>
919 <col width="150px" class="parameters_name">
920 <col class="parameters_description">
921 <col width="200px" class="parameters_annotations">
922 </colgroup>
923 <tbody><tr>
924 <td class="parameter_name"><p>media</p></td>
925 <td class="parameter_description"><p>a <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a></p></td>
926 <td class="parameter_annotations"> </td>
927 </tr></tbody>
928 </table></div>
929 </div>
930 <div class="refsect3">
931 <a name="id-1.2.7.9.14.6"></a><h4>Returns</h4>
932 <p> a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstrtsptransport.html#GstRTSPLowerTrans"><span class="type">GstRTSPLowerTrans</span></a></p>
933 <p></p>
934 </div>
935 </div>
936 <hr>
937 <div class="refsect2">
938 <a name="gst-rtsp-media-set-eos-shutdown"></a><h3>gst_rtsp_media_set_eos_shutdown ()</h3>
939 <pre class="programlisting"><span class="returnvalue">void</span>
940 gst_rtsp_media_set_eos_shutdown (<em class="parameter"><code><a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> *media</code></em>,
941                                  <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> eos_shutdown</code></em>);</pre>
942 <p>Set or unset if an EOS event will be sent to the pipeline for <em class="parameter"><code>media</code></em>
943  before
944 it is unprepared.</p>
945 <div class="refsect3">
946 <a name="id-1.2.7.9.15.5"></a><h4>Parameters</h4>
947 <div class="informaltable"><table width="100%" border="0">
948 <colgroup>
949 <col width="150px" class="parameters_name">
950 <col class="parameters_description">
951 <col width="200px" class="parameters_annotations">
952 </colgroup>
953 <tbody>
954 <tr>
955 <td class="parameter_name"><p>media</p></td>
956 <td class="parameter_description"><p>a <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a></p></td>
957 <td class="parameter_annotations"> </td>
958 </tr>
959 <tr>
960 <td class="parameter_name"><p>eos_shutdown</p></td>
961 <td class="parameter_description"><p>the new value</p></td>
962 <td class="parameter_annotations"> </td>
963 </tr>
964 </tbody>
965 </table></div>
966 </div>
967 </div>
968 <hr>
969 <div class="refsect2">
970 <a name="gst-rtsp-media-is-eos-shutdown"></a><h3>gst_rtsp_media_is_eos_shutdown ()</h3>
971 <pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
972 gst_rtsp_media_is_eos_shutdown (<em class="parameter"><code><a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> *media</code></em>);</pre>
973 <p>Check if the pipeline for <em class="parameter"><code>media</code></em>
974  will send an EOS down the pipeline before
975 unpreparing.</p>
976 <div class="refsect3">
977 <a name="id-1.2.7.9.16.5"></a><h4>Parameters</h4>
978 <div class="informaltable"><table width="100%" border="0">
979 <colgroup>
980 <col width="150px" class="parameters_name">
981 <col class="parameters_description">
982 <col width="200px" class="parameters_annotations">
983 </colgroup>
984 <tbody><tr>
985 <td class="parameter_name"><p>media</p></td>
986 <td class="parameter_description"><p>a <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a></p></td>
987 <td class="parameter_annotations"> </td>
988 </tr></tbody>
989 </table></div>
990 </div>
991 <div class="refsect3">
992 <a name="id-1.2.7.9.16.6"></a><h4>Returns</h4>
993 <p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the media will send EOS before unpreparing.</p>
994 <p></p>
995 </div>
996 </div>
997 <hr>
998 <div class="refsect2">
999 <a name="gst-rtsp-media-set-address-pool"></a><h3>gst_rtsp_media_set_address_pool ()</h3>
1000 <pre class="programlisting"><span class="returnvalue">void</span>
1001 gst_rtsp_media_set_address_pool (<em class="parameter"><code><a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> *media</code></em>,
1002                                  <em class="parameter"><code><a class="link" href="gst-rtsp-server-GstRTSPAddressPool.html#GstRTSPAddressPool" title="struct GstRTSPAddressPool"><span class="type">GstRTSPAddressPool</span></a> *pool</code></em>);</pre>
1003 <p>configure <em class="parameter"><code>pool</code></em>
1004  to be used as the address pool of <em class="parameter"><code>media</code></em>
1005 .</p>
1006 <div class="refsect3">
1007 <a name="id-1.2.7.9.17.5"></a><h4>Parameters</h4>
1008 <div class="informaltable"><table width="100%" border="0">
1009 <colgroup>
1010 <col width="150px" class="parameters_name">
1011 <col class="parameters_description">
1012 <col width="200px" class="parameters_annotations">
1013 </colgroup>
1014 <tbody>
1015 <tr>
1016 <td class="parameter_name"><p>media</p></td>
1017 <td class="parameter_description"><p>a <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a></p></td>
1018 <td class="parameter_annotations"> </td>
1019 </tr>
1020 <tr>
1021 <td class="parameter_name"><p>pool</p></td>
1022 <td class="parameter_description"><p> a <a class="link" href="gst-rtsp-server-GstRTSPAddressPool.html#GstRTSPAddressPool" title="struct GstRTSPAddressPool"><span class="type">GstRTSPAddressPool</span></a>. </p></td>
1023 <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>
1024 </tr>
1025 </tbody>
1026 </table></div>
1027 </div>
1028 </div>
1029 <hr>
1030 <div class="refsect2">
1031 <a name="gst-rtsp-media-get-address-pool"></a><h3>gst_rtsp_media_get_address_pool ()</h3>
1032 <pre class="programlisting"><a class="link" href="gst-rtsp-server-GstRTSPAddressPool.html#GstRTSPAddressPool" title="struct GstRTSPAddressPool"><span class="returnvalue">GstRTSPAddressPool</span></a> *
1033 gst_rtsp_media_get_address_pool (<em class="parameter"><code><a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> *media</code></em>);</pre>
1034 <p>Get the <a class="link" href="gst-rtsp-server-GstRTSPAddressPool.html#GstRTSPAddressPool" title="struct GstRTSPAddressPool"><span class="type">GstRTSPAddressPool</span></a> used as the address pool of <em class="parameter"><code>media</code></em>
1035 .</p>
1036 <div class="refsect3">
1037 <a name="id-1.2.7.9.18.5"></a><h4>Parameters</h4>
1038 <div class="informaltable"><table width="100%" border="0">
1039 <colgroup>
1040 <col width="150px" class="parameters_name">
1041 <col class="parameters_description">
1042 <col width="200px" class="parameters_annotations">
1043 </colgroup>
1044 <tbody><tr>
1045 <td class="parameter_name"><p>media</p></td>
1046 <td class="parameter_description"><p>a <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a></p></td>
1047 <td class="parameter_annotations"> </td>
1048 </tr></tbody>
1049 </table></div>
1050 </div>
1051 <div class="refsect3">
1052 <a name="id-1.2.7.9.18.6"></a><h4>Returns</h4>
1053 <p> the <a class="link" href="gst-rtsp-server-GstRTSPAddressPool.html#GstRTSPAddressPool" title="struct GstRTSPAddressPool"><span class="type">GstRTSPAddressPool</span></a> of <em class="parameter"><code>media</code></em>
1054 . <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
1055 usage. </p>
1056 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
1057 </div>
1058 </div>
1059 <hr>
1060 <div class="refsect2">
1061 <a name="gst-rtsp-media-set-buffer-size"></a><h3>gst_rtsp_media_set_buffer_size ()</h3>
1062 <pre class="programlisting"><span class="returnvalue">void</span>
1063 gst_rtsp_media_set_buffer_size (<em class="parameter"><code><a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> *media</code></em>,
1064                                 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> size</code></em>);</pre>
1065 <p>Set the kernel UDP buffer size.</p>
1066 <div class="refsect3">
1067 <a name="id-1.2.7.9.19.5"></a><h4>Parameters</h4>
1068 <div class="informaltable"><table width="100%" border="0">
1069 <colgroup>
1070 <col width="150px" class="parameters_name">
1071 <col class="parameters_description">
1072 <col width="200px" class="parameters_annotations">
1073 </colgroup>
1074 <tbody>
1075 <tr>
1076 <td class="parameter_name"><p>media</p></td>
1077 <td class="parameter_description"><p>a <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a></p></td>
1078 <td class="parameter_annotations"> </td>
1079 </tr>
1080 <tr>
1081 <td class="parameter_name"><p>size</p></td>
1082 <td class="parameter_description"><p>the new value</p></td>
1083 <td class="parameter_annotations"> </td>
1084 </tr>
1085 </tbody>
1086 </table></div>
1087 </div>
1088 </div>
1089 <hr>
1090 <div class="refsect2">
1091 <a name="gst-rtsp-media-get-buffer-size"></a><h3>gst_rtsp_media_get_buffer_size ()</h3>
1092 <pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
1093 gst_rtsp_media_get_buffer_size (<em class="parameter"><code><a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> *media</code></em>);</pre>
1094 <p>Get the kernel UDP buffer size.</p>
1095 <div class="refsect3">
1096 <a name="id-1.2.7.9.20.5"></a><h4>Parameters</h4>
1097 <div class="informaltable"><table width="100%" border="0">
1098 <colgroup>
1099 <col width="150px" class="parameters_name">
1100 <col class="parameters_description">
1101 <col width="200px" class="parameters_annotations">
1102 </colgroup>
1103 <tbody><tr>
1104 <td class="parameter_name"><p>media</p></td>
1105 <td class="parameter_description"><p>a <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a></p></td>
1106 <td class="parameter_annotations"> </td>
1107 </tr></tbody>
1108 </table></div>
1109 </div>
1110 <div class="refsect3">
1111 <a name="id-1.2.7.9.20.6"></a><h4>Returns</h4>
1112 <p> the kernel UDP buffer size.</p>
1113 <p></p>
1114 </div>
1115 </div>
1116 <hr>
1117 <div class="refsect2">
1118 <a name="gst-rtsp-media-setup-sdp"></a><h3>gst_rtsp_media_setup_sdp ()</h3>
1119 <pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
1120 gst_rtsp_media_setup_sdp (<em class="parameter"><code><a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> *media</code></em>,
1121                           <em class="parameter"><code><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstsdpmessage.html#GstSDPMessage"><span class="type">GstSDPMessage</span></a> *sdp</code></em>,
1122                           <em class="parameter"><code><a class="link" href="gst-rtsp-server-GstRTSPSdp.html#GstSDPInfo" title="GstSDPInfo"><span class="type">GstSDPInfo</span></a> *info</code></em>);</pre>
1123 <p>Add <em class="parameter"><code>media</code></em>
1124  specific info to <em class="parameter"><code>sdp</code></em>
1125 . <em class="parameter"><code>info</code></em>
1126  is used to configure the connection
1127 information in the SDP.</p>
1128 <div class="refsect3">
1129 <a name="id-1.2.7.9.21.5"></a><h4>Parameters</h4>
1130 <div class="informaltable"><table width="100%" border="0">
1131 <colgroup>
1132 <col width="150px" class="parameters_name">
1133 <col class="parameters_description">
1134 <col width="200px" class="parameters_annotations">
1135 </colgroup>
1136 <tbody>
1137 <tr>
1138 <td class="parameter_name"><p>media</p></td>
1139 <td class="parameter_description"><p>a <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a></p></td>
1140 <td class="parameter_annotations"> </td>
1141 </tr>
1142 <tr>
1143 <td class="parameter_name"><p>sdp</p></td>
1144 <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-gstsdpmessage.html#GstSDPMessage"><span class="type">GstSDPMessage</span></a>. </p></td>
1145 <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>
1146 </tr>
1147 <tr>
1148 <td class="parameter_name"><p>info</p></td>
1149 <td class="parameter_description"><p> a <a class="link" href="gst-rtsp-server-GstRTSPSdp.html#GstSDPInfo" title="GstSDPInfo"><span class="type">GstSDPInfo</span></a>. </p></td>
1150 <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>
1151 </tr>
1152 </tbody>
1153 </table></div>
1154 </div>
1155 <div class="refsect3">
1156 <a name="id-1.2.7.9.21.6"></a><h4>Returns</h4>
1157 <p> TRUE on success.</p>
1158 <p></p>
1159 </div>
1160 </div>
1161 <hr>
1162 <div class="refsect2">
1163 <a name="gst-rtsp-media-prepare"></a><h3>gst_rtsp_media_prepare ()</h3>
1164 <pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
1165 gst_rtsp_media_prepare (<em class="parameter"><code><a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> *media</code></em>,
1166                         <em class="parameter"><code><a class="link" href="gst-rtsp-server-GstRTSPThreadPool.html#GstRTSPThread" title="struct GstRTSPThread"><span class="type">GstRTSPThread</span></a> *thread</code></em>);</pre>
1167 <p>Prepare <em class="parameter"><code>media</code></em>
1168  for streaming. This function will create the objects
1169 to manage the streaming. A pipeline must have been set on <em class="parameter"><code>media</code></em>
1170  with
1171 <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-take-pipeline" title="gst_rtsp_media_take_pipeline ()"><code class="function">gst_rtsp_media_take_pipeline()</code></a>.</p>
1172 <p>It will preroll the pipeline and collect vital information about the streams
1173 such as the duration.</p>
1174 <div class="refsect3">
1175 <a name="id-1.2.7.9.22.6"></a><h4>Parameters</h4>
1176 <div class="informaltable"><table width="100%" border="0">
1177 <colgroup>
1178 <col width="150px" class="parameters_name">
1179 <col class="parameters_description">
1180 <col width="200px" class="parameters_annotations">
1181 </colgroup>
1182 <tbody>
1183 <tr>
1184 <td class="parameter_name"><p>media</p></td>
1185 <td class="parameter_description"><p>a <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a></p></td>
1186 <td class="parameter_annotations"> </td>
1187 </tr>
1188 <tr>
1189 <td class="parameter_name"><p>thread</p></td>
1190 <td class="parameter_description"><p> a <a class="link" href="gst-rtsp-server-GstRTSPThreadPool.html#GstRTSPThread" title="struct GstRTSPThread"><span class="type">GstRTSPThread</span></a> to run the
1191 bus handler or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
1192 <td class="parameter_annotations"><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
1193 </tr>
1194 </tbody>
1195 </table></div>
1196 </div>
1197 <div class="refsect3">
1198 <a name="id-1.2.7.9.22.7"></a><h4>Returns</h4>
1199 <p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</p>
1200 <p></p>
1201 </div>
1202 </div>
1203 <hr>
1204 <div class="refsect2">
1205 <a name="gst-rtsp-media-unprepare"></a><h3>gst_rtsp_media_unprepare ()</h3>
1206 <pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
1207 gst_rtsp_media_unprepare (<em class="parameter"><code><a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> *media</code></em>);</pre>
1208 <p>Unprepare <em class="parameter"><code>media</code></em>
1209 . After this call, the media should be prepared again before
1210 it can be used again. If the media is set to be non-reusable, a new instance
1211 must be created.</p>
1212 <div class="refsect3">
1213 <a name="id-1.2.7.9.23.5"></a><h4>Parameters</h4>
1214 <div class="informaltable"><table width="100%" border="0">
1215 <colgroup>
1216 <col width="150px" class="parameters_name">
1217 <col class="parameters_description">
1218 <col width="200px" class="parameters_annotations">
1219 </colgroup>
1220 <tbody><tr>
1221 <td class="parameter_name"><p>media</p></td>
1222 <td class="parameter_description"><p>a <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a></p></td>
1223 <td class="parameter_annotations"> </td>
1224 </tr></tbody>
1225 </table></div>
1226 </div>
1227 <div class="refsect3">
1228 <a name="id-1.2.7.9.23.6"></a><h4>Returns</h4>
1229 <p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</p>
1230 <p></p>
1231 </div>
1232 </div>
1233 <hr>
1234 <div class="refsect2">
1235 <a name="gst-rtsp-media-get-status"></a><h3>gst_rtsp_media_get_status ()</h3>
1236 <pre class="programlisting"><a class="link" href="GstRTSPMedia.html#GstRTSPMediaStatus" title="enum GstRTSPMediaStatus"><span class="returnvalue">GstRTSPMediaStatus</span></a>
1237 gst_rtsp_media_get_status (<em class="parameter"><code><a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> *media</code></em>);</pre>
1238 <p>Get the status of <em class="parameter"><code>media</code></em>
1239 . When <em class="parameter"><code>media</code></em>
1240  is busy preparing, this function waits
1241 until <em class="parameter"><code>media</code></em>
1242  is prepared or in error.</p>
1243 <div class="refsect3">
1244 <a name="id-1.2.7.9.24.5"></a><h4>Parameters</h4>
1245 <div class="informaltable"><table width="100%" border="0">
1246 <colgroup>
1247 <col width="150px" class="parameters_name">
1248 <col class="parameters_description">
1249 <col width="200px" class="parameters_annotations">
1250 </colgroup>
1251 <tbody><tr>
1252 <td class="parameter_name"><p>media</p></td>
1253 <td class="parameter_description"><p>a <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a></p></td>
1254 <td class="parameter_annotations"> </td>
1255 </tr></tbody>
1256 </table></div>
1257 </div>
1258 <div class="refsect3">
1259 <a name="id-1.2.7.9.24.6"></a><h4>Returns</h4>
1260 <p> the status of <em class="parameter"><code>media</code></em>
1261 .</p>
1262 <p></p>
1263 </div>
1264 </div>
1265 <hr>
1266 <div class="refsect2">
1267 <a name="gst-rtsp-media-set-suspend-mode"></a><h3>gst_rtsp_media_set_suspend_mode ()</h3>
1268 <pre class="programlisting"><span class="returnvalue">void</span>
1269 gst_rtsp_media_set_suspend_mode (<em class="parameter"><code><a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> *media</code></em>,
1270                                  <em class="parameter"><code><a class="link" href="GstRTSPMedia.html#GstRTSPSuspendMode" title="enum GstRTSPSuspendMode"><span class="type">GstRTSPSuspendMode</span></a> mode</code></em>);</pre>
1271 <p>Control how @ media will be suspended after the SDP has been generated and
1272 after a PAUSE request has been performed.</p>
1273 <p>Media must be unprepared when setting the suspend mode.</p>
1274 <div class="refsect3">
1275 <a name="id-1.2.7.9.25.6"></a><h4>Parameters</h4>
1276 <div class="informaltable"><table width="100%" border="0">
1277 <colgroup>
1278 <col width="150px" class="parameters_name">
1279 <col class="parameters_description">
1280 <col width="200px" class="parameters_annotations">
1281 </colgroup>
1282 <tbody>
1283 <tr>
1284 <td class="parameter_name"><p>media</p></td>
1285 <td class="parameter_description"><p>a <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a></p></td>
1286 <td class="parameter_annotations"> </td>
1287 </tr>
1288 <tr>
1289 <td class="parameter_name"><p>mode</p></td>
1290 <td class="parameter_description"><p>the new <a class="link" href="GstRTSPMedia.html#GstRTSPSuspendMode" title="enum GstRTSPSuspendMode"><span class="type">GstRTSPSuspendMode</span></a></p></td>
1291 <td class="parameter_annotations"> </td>
1292 </tr>
1293 </tbody>
1294 </table></div>
1295 </div>
1296 </div>
1297 <hr>
1298 <div class="refsect2">
1299 <a name="gst-rtsp-media-get-suspend-mode"></a><h3>gst_rtsp_media_get_suspend_mode ()</h3>
1300 <pre class="programlisting"><a class="link" href="GstRTSPMedia.html#GstRTSPSuspendMode" title="enum GstRTSPSuspendMode"><span class="returnvalue">GstRTSPSuspendMode</span></a>
1301 gst_rtsp_media_get_suspend_mode (<em class="parameter"><code><a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> *media</code></em>);</pre>
1302 <p>Get how <em class="parameter"><code>media</code></em>
1303  will be suspended.</p>
1304 <div class="refsect3">
1305 <a name="id-1.2.7.9.26.5"></a><h4>Parameters</h4>
1306 <div class="informaltable"><table width="100%" border="0">
1307 <colgroup>
1308 <col width="150px" class="parameters_name">
1309 <col class="parameters_description">
1310 <col width="200px" class="parameters_annotations">
1311 </colgroup>
1312 <tbody><tr>
1313 <td class="parameter_name"><p>media</p></td>
1314 <td class="parameter_description"><p>a <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a></p></td>
1315 <td class="parameter_annotations"> </td>
1316 </tr></tbody>
1317 </table></div>
1318 </div>
1319 <div class="refsect3">
1320 <a name="id-1.2.7.9.26.6"></a><h4>Returns</h4>
1321 <p> <a class="link" href="GstRTSPMedia.html#GstRTSPSuspendMode" title="enum GstRTSPSuspendMode"><span class="type">GstRTSPSuspendMode</span></a>.</p>
1322 <p></p>
1323 </div>
1324 </div>
1325 <hr>
1326 <div class="refsect2">
1327 <a name="gst-rtsp-media-suspend"></a><h3>gst_rtsp_media_suspend ()</h3>
1328 <pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
1329 gst_rtsp_media_suspend (<em class="parameter"><code><a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> *media</code></em>);</pre>
1330 <p>Suspend <em class="parameter"><code>media</code></em>
1331 . The state of the pipeline managed by <em class="parameter"><code>media</code></em>
1332  is set to
1333 GST_STATE_NULL but all streams are kept. <em class="parameter"><code>media</code></em>
1334  can be prepared again
1335 with <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-unsuspend" title="gst_rtsp_media_unsuspend ()"><code class="function">gst_rtsp_media_unsuspend()</code></a></p>
1336 <p><em class="parameter"><code>media</code></em>
1337  must be prepared with <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-prepare" title="gst_rtsp_media_prepare ()"><code class="function">gst_rtsp_media_prepare()</code></a>;</p>
1338 <div class="refsect3">
1339 <a name="id-1.2.7.9.27.6"></a><h4>Parameters</h4>
1340 <div class="informaltable"><table width="100%" border="0">
1341 <colgroup>
1342 <col width="150px" class="parameters_name">
1343 <col class="parameters_description">
1344 <col width="200px" class="parameters_annotations">
1345 </colgroup>
1346 <tbody><tr>
1347 <td class="parameter_name"><p>media</p></td>
1348 <td class="parameter_description"><p>a <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a></p></td>
1349 <td class="parameter_annotations"> </td>
1350 </tr></tbody>
1351 </table></div>
1352 </div>
1353 <div class="refsect3">
1354 <a name="id-1.2.7.9.27.7"></a><h4>Returns</h4>
1355 <p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</p>
1356 <p></p>
1357 </div>
1358 </div>
1359 <hr>
1360 <div class="refsect2">
1361 <a name="gst-rtsp-media-unsuspend"></a><h3>gst_rtsp_media_unsuspend ()</h3>
1362 <pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
1363 gst_rtsp_media_unsuspend (<em class="parameter"><code><a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> *media</code></em>);</pre>
1364 <p>Unsuspend <em class="parameter"><code>media</code></em>
1365  if it was in a suspended state. This method does nothing
1366 when the media was not in the suspended state.</p>
1367 <div class="refsect3">
1368 <a name="id-1.2.7.9.28.5"></a><h4>Parameters</h4>
1369 <div class="informaltable"><table width="100%" border="0">
1370 <colgroup>
1371 <col width="150px" class="parameters_name">
1372 <col class="parameters_description">
1373 <col width="200px" class="parameters_annotations">
1374 </colgroup>
1375 <tbody><tr>
1376 <td class="parameter_name"><p>media</p></td>
1377 <td class="parameter_description"><p>a <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a></p></td>
1378 <td class="parameter_annotations"> </td>
1379 </tr></tbody>
1380 </table></div>
1381 </div>
1382 <div class="refsect3">
1383 <a name="id-1.2.7.9.28.6"></a><h4>Returns</h4>
1384 <p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</p>
1385 <p></p>
1386 </div>
1387 </div>
1388 <hr>
1389 <div class="refsect2">
1390 <a name="gst-rtsp-media-collect-streams"></a><h3>gst_rtsp_media_collect_streams ()</h3>
1391 <pre class="programlisting"><span class="returnvalue">void</span>
1392 gst_rtsp_media_collect_streams (<em class="parameter"><code><a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> *media</code></em>);</pre>
1393 <p>Find all payloader elements, they should be named pay%d in the
1394 element of <em class="parameter"><code>media</code></em>
1395 , and create <a href="../gst-rtsp-server-1.0/GstRTSPStream.html"><span class="type">GstRTSPStreams</span></a> for them.</p>
1396 <p>Collect all dynamic elements, named dynpay%d, and add them to
1397 the list of dynamic elements.</p>
1398 <div class="refsect3">
1399 <a name="id-1.2.7.9.29.6"></a><h4>Parameters</h4>
1400 <div class="informaltable"><table width="100%" border="0">
1401 <colgroup>
1402 <col width="150px" class="parameters_name">
1403 <col class="parameters_description">
1404 <col width="200px" class="parameters_annotations">
1405 </colgroup>
1406 <tbody><tr>
1407 <td class="parameter_name"><p>media</p></td>
1408 <td class="parameter_description"><p>a <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a></p></td>
1409 <td class="parameter_annotations"> </td>
1410 </tr></tbody>
1411 </table></div>
1412 </div>
1413 </div>
1414 <hr>
1415 <div class="refsect2">
1416 <a name="gst-rtsp-media-create-stream"></a><h3>gst_rtsp_media_create_stream ()</h3>
1417 <pre class="programlisting"><a class="link" href="GstRTSPStream.html" title="GstRTSPStream"><span class="returnvalue">GstRTSPStream</span></a> *
1418 gst_rtsp_media_create_stream (<em class="parameter"><code><a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> *media</code></em>,
1419                               <em class="parameter"><code><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a> *payloader</code></em>,
1420                               <em class="parameter"><code><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html"><span class="type">GstPad</span></a> *srcpad</code></em>);</pre>
1421 <p>Create a new stream in <em class="parameter"><code>media</code></em>
1422  that provides RTP data on <em class="parameter"><code>srcpad</code></em>
1423 .
1424 <em class="parameter"><code>srcpad</code></em>
1425  should be a pad of an element inside <em class="parameter"><code>media-&gt;element</code></em>
1426 .</p>
1427 <div class="refsect3">
1428 <a name="id-1.2.7.9.30.5"></a><h4>Parameters</h4>
1429 <div class="informaltable"><table width="100%" border="0">
1430 <colgroup>
1431 <col width="150px" class="parameters_name">
1432 <col class="parameters_description">
1433 <col width="200px" class="parameters_annotations">
1434 </colgroup>
1435 <tbody>
1436 <tr>
1437 <td class="parameter_name"><p>media</p></td>
1438 <td class="parameter_description"><p>a <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a></p></td>
1439 <td class="parameter_annotations"> </td>
1440 </tr>
1441 <tr>
1442 <td class="parameter_name"><p>payloader</p></td>
1443 <td class="parameter_description"><p>a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a></p></td>
1444 <td class="parameter_annotations"> </td>
1445 </tr>
1446 <tr>
1447 <td class="parameter_name"><p>srcpad</p></td>
1448 <td class="parameter_description"><p>a source <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html"><span class="type">GstPad</span></a></p></td>
1449 <td class="parameter_annotations"> </td>
1450 </tr>
1451 </tbody>
1452 </table></div>
1453 </div>
1454 <div class="refsect3">
1455 <a name="id-1.2.7.9.30.6"></a><h4>Returns</h4>
1456 <p> a new <a class="link" href="GstRTSPStream.html" title="GstRTSPStream"><span class="type">GstRTSPStream</span></a> that remains valid for as long
1457 as <em class="parameter"><code>media</code></em>
1458 exists. </p>
1459 <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
1460 </div>
1461 </div>
1462 <hr>
1463 <div class="refsect2">
1464 <a name="gst-rtsp-media-n-streams"></a><h3>gst_rtsp_media_n_streams ()</h3>
1465 <pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
1466 gst_rtsp_media_n_streams (<em class="parameter"><code><a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> *media</code></em>);</pre>
1467 <p>Get the number of streams in this media.</p>
1468 <div class="refsect3">
1469 <a name="id-1.2.7.9.31.5"></a><h4>Parameters</h4>
1470 <div class="informaltable"><table width="100%" border="0">
1471 <colgroup>
1472 <col width="150px" class="parameters_name">
1473 <col class="parameters_description">
1474 <col width="200px" class="parameters_annotations">
1475 </colgroup>
1476 <tbody><tr>
1477 <td class="parameter_name"><p>media</p></td>
1478 <td class="parameter_description"><p>a <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a></p></td>
1479 <td class="parameter_annotations"> </td>
1480 </tr></tbody>
1481 </table></div>
1482 </div>
1483 <div class="refsect3">
1484 <a name="id-1.2.7.9.31.6"></a><h4>Returns</h4>
1485 <p> The number of streams.</p>
1486 <p></p>
1487 </div>
1488 </div>
1489 <hr>
1490 <div class="refsect2">
1491 <a name="gst-rtsp-media-get-stream"></a><h3>gst_rtsp_media_get_stream ()</h3>
1492 <pre class="programlisting"><a class="link" href="GstRTSPStream.html" title="GstRTSPStream"><span class="returnvalue">GstRTSPStream</span></a> *
1493 gst_rtsp_media_get_stream (<em class="parameter"><code><a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> *media</code></em>,
1494                            <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> idx</code></em>);</pre>
1495 <p>Retrieve the stream with index <em class="parameter"><code>idx</code></em>
1496  from <em class="parameter"><code>media</code></em>
1497 .</p>
1498 <div class="refsect3">
1499 <a name="id-1.2.7.9.32.5"></a><h4>Parameters</h4>
1500 <div class="informaltable"><table width="100%" border="0">
1501 <colgroup>
1502 <col width="150px" class="parameters_name">
1503 <col class="parameters_description">
1504 <col width="200px" class="parameters_annotations">
1505 </colgroup>
1506 <tbody>
1507 <tr>
1508 <td class="parameter_name"><p>media</p></td>
1509 <td class="parameter_description"><p>a <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a></p></td>
1510 <td class="parameter_annotations"> </td>
1511 </tr>
1512 <tr>
1513 <td class="parameter_name"><p>idx</p></td>
1514 <td class="parameter_description"><p>the stream index</p></td>
1515 <td class="parameter_annotations"> </td>
1516 </tr>
1517 </tbody>
1518 </table></div>
1519 </div>
1520 <div class="refsect3">
1521 <a name="id-1.2.7.9.32.6"></a><h4>Returns</h4>
1522 <p> the <a class="link" href="GstRTSPStream.html" title="GstRTSPStream"><span class="type">GstRTSPStream</span></a> at index
1523 <em class="parameter"><code>idx</code></em>
1524 or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> when a stream with that index did not exist. </p>
1525 <p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
1526 </div>
1527 </div>
1528 <hr>
1529 <div class="refsect2">
1530 <a name="gst-rtsp-media-find-stream"></a><h3>gst_rtsp_media_find_stream ()</h3>
1531 <pre class="programlisting"><a class="link" href="GstRTSPStream.html" title="GstRTSPStream"><span class="returnvalue">GstRTSPStream</span></a> *
1532 gst_rtsp_media_find_stream (<em class="parameter"><code><a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> *media</code></em>,
1533                             <em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *control</code></em>);</pre>
1534 <p>Find a stream in <em class="parameter"><code>media</code></em>
1535  with <em class="parameter"><code>control</code></em>
1536  as the control uri.</p>
1537 <div class="refsect3">
1538 <a name="id-1.2.7.9.33.5"></a><h4>Parameters</h4>
1539 <div class="informaltable"><table width="100%" border="0">
1540 <colgroup>
1541 <col width="150px" class="parameters_name">
1542 <col class="parameters_description">
1543 <col width="200px" class="parameters_annotations">
1544 </colgroup>
1545 <tbody>
1546 <tr>
1547 <td class="parameter_name"><p>media</p></td>
1548 <td class="parameter_description"><p>a <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a></p></td>
1549 <td class="parameter_annotations"> </td>
1550 </tr>
1551 <tr>
1552 <td class="parameter_name"><p>control</p></td>
1553 <td class="parameter_description"><p>the control of the stream</p></td>
1554 <td class="parameter_annotations"> </td>
1555 </tr>
1556 </tbody>
1557 </table></div>
1558 </div>
1559 <div class="refsect3">
1560 <a name="id-1.2.7.9.33.6"></a><h4>Returns</h4>
1561 <p> the <a class="link" href="GstRTSPStream.html" title="GstRTSPStream"><span class="type">GstRTSPStream</span></a> with
1562 control uri <em class="parameter"><code>control</code></em>
1563 or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> when a stream with that control did
1564 not exist. </p>
1565 <p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
1566 </div>
1567 </div>
1568 <hr>
1569 <div class="refsect2">
1570 <a name="gst-rtsp-media-seek"></a><h3>gst_rtsp_media_seek ()</h3>
1571 <pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
1572 gst_rtsp_media_seek (<em class="parameter"><code><a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> *media</code></em>,
1573                      <em class="parameter"><code><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstrtsprange.html#GstRTSPTimeRange"><span class="type">GstRTSPTimeRange</span></a> *range</code></em>);</pre>
1574 <p>Seek the pipeline of <em class="parameter"><code>media</code></em>
1575  to <em class="parameter"><code>range</code></em>
1576 . <em class="parameter"><code>media</code></em>
1577  must be prepared with
1578 <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-prepare" title="gst_rtsp_media_prepare ()"><code class="function">gst_rtsp_media_prepare()</code></a>.</p>
1579 <div class="refsect3">
1580 <a name="id-1.2.7.9.34.5"></a><h4>Parameters</h4>
1581 <div class="informaltable"><table width="100%" border="0">
1582 <colgroup>
1583 <col width="150px" class="parameters_name">
1584 <col class="parameters_description">
1585 <col width="200px" class="parameters_annotations">
1586 </colgroup>
1587 <tbody>
1588 <tr>
1589 <td class="parameter_name"><p>media</p></td>
1590 <td class="parameter_description"><p>a <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a></p></td>
1591 <td class="parameter_annotations"> </td>
1592 </tr>
1593 <tr>
1594 <td class="parameter_name"><p>range</p></td>
1595 <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-gstrtsprange.html#GstRTSPTimeRange"><span class="type">GstRTSPTimeRange</span></a>. </p></td>
1596 <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>
1597 </tr>
1598 </tbody>
1599 </table></div>
1600 </div>
1601 <div class="refsect3">
1602 <a name="id-1.2.7.9.34.6"></a><h4>Returns</h4>
1603 <p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</p>
1604 <p></p>
1605 </div>
1606 </div>
1607 <hr>
1608 <div class="refsect2">
1609 <a name="gst-rtsp-media-get-range-string"></a><h3>gst_rtsp_media_get_range_string ()</h3>
1610 <pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
1611 gst_rtsp_media_get_range_string (<em class="parameter"><code><a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> *media</code></em>,
1612                                  <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> play</code></em>,
1613                                  <em class="parameter"><code><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstrtsprange.html#GstRTSPRangeUnit"><span class="type">GstRTSPRangeUnit</span></a> unit</code></em>);</pre>
1614 <p>Get the current range as a string. <em class="parameter"><code>media</code></em>
1615  must be prepared with
1616 <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-prepare" title="gst_rtsp_media_prepare ()"><code class="function">gst_rtsp_media_prepare()</code></a>.</p>
1617 <div class="refsect3">
1618 <a name="id-1.2.7.9.35.5"></a><h4>Parameters</h4>
1619 <div class="informaltable"><table width="100%" border="0">
1620 <colgroup>
1621 <col width="150px" class="parameters_name">
1622 <col class="parameters_description">
1623 <col width="200px" class="parameters_annotations">
1624 </colgroup>
1625 <tbody>
1626 <tr>
1627 <td class="parameter_name"><p>media</p></td>
1628 <td class="parameter_description"><p>a <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a></p></td>
1629 <td class="parameter_annotations"> </td>
1630 </tr>
1631 <tr>
1632 <td class="parameter_name"><p>play</p></td>
1633 <td class="parameter_description"><p>for the PLAY request</p></td>
1634 <td class="parameter_annotations"> </td>
1635 </tr>
1636 <tr>
1637 <td class="parameter_name"><p>unit</p></td>
1638 <td class="parameter_description"><p>the unit to use for the string</p></td>
1639 <td class="parameter_annotations"> </td>
1640 </tr>
1641 </tbody>
1642 </table></div>
1643 </div>
1644 <div class="refsect3">
1645 <a name="id-1.2.7.9.35.6"></a><h4>Returns</h4>
1646 <p> The range as a string, <a href="https://developer.gnome.org/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> after usage. </p>
1647 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
1648 </div>
1649 </div>
1650 <hr>
1651 <div class="refsect2">
1652 <a name="gst-rtsp-media-set-state"></a><h3>gst_rtsp_media_set_state ()</h3>
1653 <pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
1654 gst_rtsp_media_set_state (<em class="parameter"><code><a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> *media</code></em>,
1655                           <em class="parameter"><code><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html#GstState"><span class="type">GstState</span></a> state</code></em>,
1656                           <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> *transports</code></em>);</pre>
1657 <p>Set the state of <em class="parameter"><code>media</code></em>
1658  to <em class="parameter"><code>state</code></em>
1659  and for the transports in <em class="parameter"><code>transports</code></em>
1660 .</p>
1661 <p><em class="parameter"><code>media</code></em>
1662  must be prepared with <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-prepare" title="gst_rtsp_media_prepare ()"><code class="function">gst_rtsp_media_prepare()</code></a>;</p>
1663 <div class="refsect3">
1664 <a name="id-1.2.7.9.36.6"></a><h4>Parameters</h4>
1665 <div class="informaltable"><table width="100%" border="0">
1666 <colgroup>
1667 <col width="150px" class="parameters_name">
1668 <col class="parameters_description">
1669 <col width="200px" class="parameters_annotations">
1670 </colgroup>
1671 <tbody>
1672 <tr>
1673 <td class="parameter_name"><p>media</p></td>
1674 <td class="parameter_description"><p>a <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a></p></td>
1675 <td class="parameter_annotations"> </td>
1676 </tr>
1677 <tr>
1678 <td class="parameter_name"><p>state</p></td>
1679 <td class="parameter_description"><p>the target state of the media</p></td>
1680 <td class="parameter_annotations"> </td>
1681 </tr>
1682 <tr>
1683 <td class="parameter_name"><p>transports</p></td>
1684 <td class="parameter_description"><p>a <a href="https://developer.gnome.org/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> of <a class="link" href="gst-rtsp-server-GstRTSPStreamTransport.html#GstRTSPStreamTransport" title="struct GstRTSPStreamTransport"><span class="type">GstRTSPStreamTransport</span></a> pointers. </p></td>
1685 <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>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GstRtspServer.RTSPStreamTransport]</span></td>
1686 </tr>
1687 </tbody>
1688 </table></div>
1689 </div>
1690 <div class="refsect3">
1691 <a name="id-1.2.7.9.36.7"></a><h4>Returns</h4>
1692 <p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</p>
1693 <p></p>
1694 </div>
1695 </div>
1696 <hr>
1697 <div class="refsect2">
1698 <a name="gst-rtsp-media-set-pipeline-state"></a><h3>gst_rtsp_media_set_pipeline_state ()</h3>
1699 <pre class="programlisting"><span class="returnvalue">void</span>
1700 gst_rtsp_media_set_pipeline_state (<em class="parameter"><code><a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> *media</code></em>,
1701                                    <em class="parameter"><code><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html#GstState"><span class="type">GstState</span></a> state</code></em>);</pre>
1702 <p>Set the state of the pipeline managed by <em class="parameter"><code>media</code></em>
1703  to <em class="parameter"><code>state</code></em>
1704 </p>
1705 <div class="refsect3">
1706 <a name="id-1.2.7.9.37.5"></a><h4>Parameters</h4>
1707 <div class="informaltable"><table width="100%" border="0">
1708 <colgroup>
1709 <col width="150px" class="parameters_name">
1710 <col class="parameters_description">
1711 <col width="200px" class="parameters_annotations">
1712 </colgroup>
1713 <tbody>
1714 <tr>
1715 <td class="parameter_name"><p>media</p></td>
1716 <td class="parameter_description"><p>a <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a></p></td>
1717 <td class="parameter_annotations"> </td>
1718 </tr>
1719 <tr>
1720 <td class="parameter_name"><p>state</p></td>
1721 <td class="parameter_description"><p>the target state of the pipeline</p></td>
1722 <td class="parameter_annotations"> </td>
1723 </tr>
1724 </tbody>
1725 </table></div>
1726 </div>
1727 </div>
1728 <hr>
1729 <div class="refsect2">
1730 <a name="gst-rtsp-media-get-clock"></a><h3>gst_rtsp_media_get_clock ()</h3>
1731 <pre class="programlisting"><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstClock.html"><span class="returnvalue">GstClock</span></a> *
1732 gst_rtsp_media_get_clock (<em class="parameter"><code><a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> *media</code></em>);</pre>
1733 <p>Get the clock that is used by the pipeline in <em class="parameter"><code>media</code></em>
1734 .</p>
1735 <p><em class="parameter"><code>media</code></em>
1736  must be prepared before this method returns a valid clock object.</p>
1737 <div class="refsect3">
1738 <a name="id-1.2.7.9.38.6"></a><h4>Parameters</h4>
1739 <div class="informaltable"><table width="100%" border="0">
1740 <colgroup>
1741 <col width="150px" class="parameters_name">
1742 <col class="parameters_description">
1743 <col width="200px" class="parameters_annotations">
1744 </colgroup>
1745 <tbody><tr>
1746 <td class="parameter_name"><p>media</p></td>
1747 <td class="parameter_description"><p>a <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a></p></td>
1748 <td class="parameter_annotations"> </td>
1749 </tr></tbody>
1750 </table></div>
1751 </div>
1752 <div class="refsect3">
1753 <a name="id-1.2.7.9.38.7"></a><h4>Returns</h4>
1754 <p> the <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstClock.html"><span class="type">GstClock</span></a> used by <em class="parameter"><code>media</code></em>
1755 . unref after usage. </p>
1756 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
1757 </div>
1758 </div>
1759 <hr>
1760 <div class="refsect2">
1761 <a name="gst-rtsp-media-get-base-time"></a><h3>gst_rtsp_media_get_base_time ()</h3>
1762 <pre class="programlisting"><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstClock.html#GstClockTime"><span class="returnvalue">GstClockTime</span></a>
1763 gst_rtsp_media_get_base_time (<em class="parameter"><code><a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> *media</code></em>);</pre>
1764 <p>Get the base_time that is used by the pipeline in <em class="parameter"><code>media</code></em>
1765 .</p>
1766 <p><em class="parameter"><code>media</code></em>
1767  must be prepared before this method returns a valid base_time.</p>
1768 <div class="refsect3">
1769 <a name="id-1.2.7.9.39.6"></a><h4>Parameters</h4>
1770 <div class="informaltable"><table width="100%" border="0">
1771 <colgroup>
1772 <col width="150px" class="parameters_name">
1773 <col class="parameters_description">
1774 <col width="200px" class="parameters_annotations">
1775 </colgroup>
1776 <tbody><tr>
1777 <td class="parameter_name"><p>media</p></td>
1778 <td class="parameter_description"><p>a <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a></p></td>
1779 <td class="parameter_annotations"> </td>
1780 </tr></tbody>
1781 </table></div>
1782 </div>
1783 <div class="refsect3">
1784 <a name="id-1.2.7.9.39.7"></a><h4>Returns</h4>
1785 <p> the base_time used by <em class="parameter"><code>media</code></em>
1786 .</p>
1787 <p></p>
1788 </div>
1789 </div>
1790 <hr>
1791 <div class="refsect2">
1792 <a name="gst-rtsp-media-use-time-provider"></a><h3>gst_rtsp_media_use_time_provider ()</h3>
1793 <pre class="programlisting"><span class="returnvalue">void</span>
1794 gst_rtsp_media_use_time_provider (<em class="parameter"><code><a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> *media</code></em>,
1795                                   <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> time_provider</code></em>);</pre>
1796 <p>Set <em class="parameter"><code>media</code></em>
1797  to provide a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-libs/html/GstNetTimeProvider.html"><span class="type">GstNetTimeProvider</span></a>.</p>
1798 <div class="refsect3">
1799 <a name="id-1.2.7.9.40.5"></a><h4>Parameters</h4>
1800 <div class="informaltable"><table width="100%" border="0">
1801 <colgroup>
1802 <col width="150px" class="parameters_name">
1803 <col class="parameters_description">
1804 <col width="200px" class="parameters_annotations">
1805 </colgroup>
1806 <tbody>
1807 <tr>
1808 <td class="parameter_name"><p>media</p></td>
1809 <td class="parameter_description"><p>a <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a></p></td>
1810 <td class="parameter_annotations"> </td>
1811 </tr>
1812 <tr>
1813 <td class="parameter_name"><p>time_provider</p></td>
1814 <td class="parameter_description"><p>if a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-libs/html/GstNetTimeProvider.html"><span class="type">GstNetTimeProvider</span></a> should be used</p></td>
1815 <td class="parameter_annotations"> </td>
1816 </tr>
1817 </tbody>
1818 </table></div>
1819 </div>
1820 </div>
1821 <hr>
1822 <div class="refsect2">
1823 <a name="gst-rtsp-media-is-time-provider"></a><h3>gst_rtsp_media_is_time_provider ()</h3>
1824 <pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
1825 gst_rtsp_media_is_time_provider (<em class="parameter"><code><a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> *media</code></em>);</pre>
1826 <p>Check if <em class="parameter"><code>media</code></em>
1827  can provide a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-libs/html/GstNetTimeProvider.html"><span class="type">GstNetTimeProvider</span></a> for its pipeline clock.</p>
1828 <p>Use <a class="link" href="GstRTSPMedia.html#gst-rtsp-media-get-time-provider" title="gst_rtsp_media_get_time_provider ()"><code class="function">gst_rtsp_media_get_time_provider()</code></a> to get the network clock.</p>
1829 <div class="refsect3">
1830 <a name="id-1.2.7.9.41.6"></a><h4>Parameters</h4>
1831 <div class="informaltable"><table width="100%" border="0">
1832 <colgroup>
1833 <col width="150px" class="parameters_name">
1834 <col class="parameters_description">
1835 <col width="200px" class="parameters_annotations">
1836 </colgroup>
1837 <tbody><tr>
1838 <td class="parameter_name"><p>media</p></td>
1839 <td class="parameter_description"><p>a <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a></p></td>
1840 <td class="parameter_annotations"> </td>
1841 </tr></tbody>
1842 </table></div>
1843 </div>
1844 <div class="refsect3">
1845 <a name="id-1.2.7.9.41.7"></a><h4>Returns</h4>
1846 <p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>media</code></em>
1847 can provide a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-libs/html/GstNetTimeProvider.html"><span class="type">GstNetTimeProvider</span></a>.</p>
1848 <p></p>
1849 </div>
1850 </div>
1851 <hr>
1852 <div class="refsect2">
1853 <a name="gst-rtsp-media-get-time-provider"></a><h3>gst_rtsp_media_get_time_provider ()</h3>
1854 <pre class="programlisting"><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-libs/html/GstNetTimeProvider.html"><span class="returnvalue">GstNetTimeProvider</span></a> *
1855 gst_rtsp_media_get_time_provider (<em class="parameter"><code><a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> *media</code></em>,
1856                                   <em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *address</code></em>,
1857                                   <em class="parameter"><code><span class="type">guint16</span> port</code></em>);</pre>
1858 <p>Get the <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-libs/html/GstNetTimeProvider.html"><span class="type">GstNetTimeProvider</span></a> for the clock used by <em class="parameter"><code>media</code></em>
1859 . The time provider
1860 will listen on <em class="parameter"><code>address</code></em>
1861  and <em class="parameter"><code>port</code></em>
1862  for client time requests.</p>
1863 <div class="refsect3">
1864 <a name="id-1.2.7.9.42.5"></a><h4>Parameters</h4>
1865 <div class="informaltable"><table width="100%" border="0">
1866 <colgroup>
1867 <col width="150px" class="parameters_name">
1868 <col class="parameters_description">
1869 <col width="200px" class="parameters_annotations">
1870 </colgroup>
1871 <tbody>
1872 <tr>
1873 <td class="parameter_name"><p>media</p></td>
1874 <td class="parameter_description"><p>a <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a></p></td>
1875 <td class="parameter_annotations"> </td>
1876 </tr>
1877 <tr>
1878 <td class="parameter_name"><p>address</p></td>
1879 <td class="parameter_description"><p> an address or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
1880 <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>
1881 </tr>
1882 <tr>
1883 <td class="parameter_name"><p>port</p></td>
1884 <td class="parameter_description"><p>a port or 0</p></td>
1885 <td class="parameter_annotations"> </td>
1886 </tr>
1887 </tbody>
1888 </table></div>
1889 </div>
1890 <div class="refsect3">
1891 <a name="id-1.2.7.9.42.6"></a><h4>Returns</h4>
1892 <p> the <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-libs/html/GstNetTimeProvider.html"><span class="type">GstNetTimeProvider</span></a> of <em class="parameter"><code>media</code></em>
1893 . </p>
1894 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
1895 </div>
1896 </div>
1897 </div>
1898 <div class="refsect1">
1899 <a name="GstRTSPMedia.other_details"></a><h2>Types and Values</h2>
1900 <div class="refsect2">
1901 <a name="GstRTSPMedia-struct"></a><h3>struct GstRTSPMedia</h3>
1902 <pre class="programlisting">struct GstRTSPMedia;</pre>
1903 <p>A class that contains the GStreamer element along with a list of
1904 <a class="link" href="GstRTSPStream.html" title="GstRTSPStream"><span class="type">GstRTSPStream</span></a> objects that can produce data.</p>
1905 <p>This object is usually created from a <a class="link" href="GstRTSPMediaFactory.html" title="GstRTSPMediaFactory"><span class="type">GstRTSPMediaFactory</span></a>.</p>
1906 </div>
1907 <hr>
1908 <div class="refsect2">
1909 <a name="GstRTSPMediaClass"></a><h3>struct GstRTSPMediaClass</h3>
1910 <pre class="programlisting">struct GstRTSPMediaClass {
1911   GObjectClass  parent_class;
1912
1913   /* vmethods */
1914   gboolean        (*handle_message)  (GstRTSPMedia *media, GstMessage *message);
1915   gboolean        (*prepare)         (GstRTSPMedia *media, GstRTSPThread *thread);
1916   gboolean        (*unprepare)       (GstRTSPMedia *media);
1917   gboolean        (*suspend)         (GstRTSPMedia *media);
1918   gboolean        (*unsuspend)       (GstRTSPMedia *media);
1919   gboolean        (*convert_range)   (GstRTSPMedia *media, GstRTSPTimeRange *range,
1920                                       GstRTSPRangeUnit unit);
1921   gboolean        (*query_position)  (GstRTSPMedia *media, gint64 *position);
1922   gboolean        (*query_stop)      (GstRTSPMedia *media, gint64 *stop);
1923   GstElement *    (*create_rtpbin)   (GstRTSPMedia *media);
1924   gboolean        (*setup_rtpbin)    (GstRTSPMedia *media, GstElement *rtpbin);
1925   gboolean        (*setup_sdp)       (GstRTSPMedia *media, GstSDPMessage *sdp, GstSDPInfo *info);
1926
1927   /* signals */
1928   void            (*new_stream)      (GstRTSPMedia *media, GstRTSPStream * stream);
1929   void            (*removed_stream)  (GstRTSPMedia *media, GstRTSPStream * stream);
1930
1931   void            (*prepared)        (GstRTSPMedia *media);
1932   void            (*unprepared)      (GstRTSPMedia *media);
1933
1934   void            (*target_state)    (GstRTSPMedia *media, GstState state);
1935   void            (*new_state)       (GstRTSPMedia *media, GstState state);
1936 };
1937 </pre>
1938 <p>The RTSP media class</p>
1939 <div class="refsect3">
1940 <a name="id-1.2.7.10.3.5"></a><h4>Members</h4>
1941 <div class="informaltable"><table width="100%" border="0">
1942 <colgroup>
1943 <col width="300px" class="struct_members_name">
1944 <col class="struct_members_description">
1945 <col width="200px" class="struct_members_annotations">
1946 </colgroup>
1947 <tbody>
1948 <tr>
1949 <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="GstRTSPMediaClass.parent-class"></a>parent_class</code></em>;</p></td>
1950 <td> </td>
1951 <td> </td>
1952 </tr>
1953 <tr>
1954 <td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTSPMediaClass.handle-message"></a>handle_message</code></em> ()</p></td>
1955 <td class="struct_member_description"><p>handle a message</p></td>
1956 <td class="struct_member_annotations"> </td>
1957 </tr>
1958 <tr>
1959 <td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTSPMediaClass.prepare"></a>prepare</code></em> ()</p></td>
1960 <td class="struct_member_description"><p>the default implementation adds all elements and sets the
1961 pipeline's state to GST_STATE_PAUSED (or GST_STATE_PLAYING
1962 in case of NO_PREROLL elements).</p></td>
1963 <td class="struct_member_annotations"> </td>
1964 </tr>
1965 <tr>
1966 <td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTSPMediaClass.unprepare"></a>unprepare</code></em> ()</p></td>
1967 <td class="struct_member_description"><p>the default implementation sets the pipeline's state
1968 to GST_STATE_NULL and removes all elements.</p></td>
1969 <td class="struct_member_annotations"> </td>
1970 </tr>
1971 <tr>
1972 <td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTSPMediaClass.suspend"></a>suspend</code></em> ()</p></td>
1973 <td class="struct_member_description"><p>the default implementation sets the pipeline's state to
1974 GST_STATE_NULL GST_STATE_PAUSED depending on the selected
1975 suspend mode.</p></td>
1976 <td class="struct_member_annotations"> </td>
1977 </tr>
1978 <tr>
1979 <td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTSPMediaClass.unsuspend"></a>unsuspend</code></em> ()</p></td>
1980 <td class="struct_member_description"><p>the default implementation reverts the suspend operation.
1981 The pipeline will be prerolled again if it's state was
1982 set to GST_STATE_NULL in suspend.</p></td>
1983 <td class="struct_member_annotations"> </td>
1984 </tr>
1985 <tr>
1986 <td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTSPMediaClass.convert-range"></a>convert_range</code></em> ()</p></td>
1987 <td class="struct_member_description"><p>convert a range to the given unit</p></td>
1988 <td class="struct_member_annotations"> </td>
1989 </tr>
1990 <tr>
1991 <td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTSPMediaClass.query-position"></a>query_position</code></em> ()</p></td>
1992 <td class="struct_member_description"><p>query the current position in the pipeline</p></td>
1993 <td class="struct_member_annotations"> </td>
1994 </tr>
1995 <tr>
1996 <td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTSPMediaClass.query-stop"></a>query_stop</code></em> ()</p></td>
1997 <td class="struct_member_description"><p>query when playback will stop</p></td>
1998 <td class="struct_member_annotations"> </td>
1999 </tr>
2000 <tr>
2001 <td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTSPMediaClass.create-rtpbin"></a>create_rtpbin</code></em> ()</p></td>
2002 <td> </td>
2003 <td> </td>
2004 </tr>
2005 <tr>
2006 <td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTSPMediaClass.setup-rtpbin"></a>setup_rtpbin</code></em> ()</p></td>
2007 <td> </td>
2008 <td> </td>
2009 </tr>
2010 <tr>
2011 <td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTSPMediaClass.setup-sdp"></a>setup_sdp</code></em> ()</p></td>
2012 <td> </td>
2013 <td> </td>
2014 </tr>
2015 <tr>
2016 <td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTSPMediaClass.new-stream"></a>new_stream</code></em> ()</p></td>
2017 <td> </td>
2018 <td> </td>
2019 </tr>
2020 <tr>
2021 <td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTSPMediaClass.removed-stream"></a>removed_stream</code></em> ()</p></td>
2022 <td> </td>
2023 <td> </td>
2024 </tr>
2025 <tr>
2026 <td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTSPMediaClass.prepared"></a>prepared</code></em> ()</p></td>
2027 <td> </td>
2028 <td> </td>
2029 </tr>
2030 <tr>
2031 <td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTSPMediaClass.unprepared"></a>unprepared</code></em> ()</p></td>
2032 <td> </td>
2033 <td> </td>
2034 </tr>
2035 <tr>
2036 <td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTSPMediaClass.target-state"></a>target_state</code></em> ()</p></td>
2037 <td> </td>
2038 <td> </td>
2039 </tr>
2040 <tr>
2041 <td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTSPMediaClass.new-state"></a>new_state</code></em> ()</p></td>
2042 <td> </td>
2043 <td> </td>
2044 </tr>
2045 </tbody>
2046 </table></div>
2047 </div>
2048 </div>
2049 <hr>
2050 <div class="refsect2">
2051 <a name="GstRTSPMediaStatus"></a><h3>enum GstRTSPMediaStatus</h3>
2052 <p>The state of the media pipeline.</p>
2053 <div class="refsect3">
2054 <a name="id-1.2.7.10.4.4"></a><h4>Members</h4>
2055 <div class="informaltable"><table width="100%" border="0">
2056 <colgroup>
2057 <col width="300px" class="enum_members_name">
2058 <col class="enum_members_description">
2059 <col width="200px" class="enum_members_annotations">
2060 </colgroup>
2061 <tbody>
2062 <tr>
2063 <td class="enum_member_name"><p><a name="GST-RTSP-MEDIA-STATUS-UNPREPARED:CAPS"></a>GST_RTSP_MEDIA_STATUS_UNPREPARED</p></td>
2064 <td class="enum_member_description">
2065 <p>media pipeline not prerolled</p>
2066 </td>
2067 <td class="enum_member_annotations"> </td>
2068 </tr>
2069 <tr>
2070 <td class="enum_member_name"><p><a name="GST-RTSP-MEDIA-STATUS-UNPREPARING:CAPS"></a>GST_RTSP_MEDIA_STATUS_UNPREPARING</p></td>
2071 <td class="enum_member_description">
2072 <p>media pipeline is busy doing a clean
2073                                     shutdown.</p>
2074 </td>
2075 <td class="enum_member_annotations"> </td>
2076 </tr>
2077 <tr>
2078 <td class="enum_member_name"><p><a name="GST-RTSP-MEDIA-STATUS-PREPARING:CAPS"></a>GST_RTSP_MEDIA_STATUS_PREPARING</p></td>
2079 <td class="enum_member_description">
2080 <p>media pipeline is prerolling</p>
2081 </td>
2082 <td class="enum_member_annotations"> </td>
2083 </tr>
2084 <tr>
2085 <td class="enum_member_name"><p><a name="GST-RTSP-MEDIA-STATUS-PREPARED:CAPS"></a>GST_RTSP_MEDIA_STATUS_PREPARED</p></td>
2086 <td class="enum_member_description">
2087 <p>media pipeline is prerolled</p>
2088 </td>
2089 <td class="enum_member_annotations"> </td>
2090 </tr>
2091 <tr>
2092 <td class="enum_member_name"><p><a name="GST-RTSP-MEDIA-STATUS-SUSPENDED:CAPS"></a>GST_RTSP_MEDIA_STATUS_SUSPENDED</p></td>
2093 <td class="enum_member_description">
2094 <p>media is suspended</p>
2095 </td>
2096 <td class="enum_member_annotations"> </td>
2097 </tr>
2098 <tr>
2099 <td class="enum_member_name"><p><a name="GST-RTSP-MEDIA-STATUS-ERROR:CAPS"></a>GST_RTSP_MEDIA_STATUS_ERROR</p></td>
2100 <td class="enum_member_description">
2101 <p>media pipeline is in error</p>
2102 </td>
2103 <td class="enum_member_annotations"> </td>
2104 </tr>
2105 </tbody>
2106 </table></div>
2107 </div>
2108 </div>
2109 <hr>
2110 <div class="refsect2">
2111 <a name="GstRTSPSuspendMode"></a><h3>enum GstRTSPSuspendMode</h3>
2112 <p>The suspend mode of the media pipeline. A media pipeline is suspended right
2113 after creating the SDP and when the client performs a PAUSED request.</p>
2114 <div class="refsect3">
2115 <a name="id-1.2.7.10.5.4"></a><h4>Members</h4>
2116 <div class="informaltable"><table width="100%" border="0">
2117 <colgroup>
2118 <col width="300px" class="enum_members_name">
2119 <col class="enum_members_description">
2120 <col width="200px" class="enum_members_annotations">
2121 </colgroup>
2122 <tbody>
2123 <tr>
2124 <td class="enum_member_name"><p><a name="GST-RTSP-SUSPEND-MODE-NONE:CAPS"></a>GST_RTSP_SUSPEND_MODE_NONE</p></td>
2125 <td class="enum_member_description">
2126 <p>Media is not suspended</p>
2127 </td>
2128 <td class="enum_member_annotations"> </td>
2129 </tr>
2130 <tr>
2131 <td class="enum_member_name"><p><a name="GST-RTSP-SUSPEND-MODE-PAUSE:CAPS"></a>GST_RTSP_SUSPEND_MODE_PAUSE</p></td>
2132 <td class="enum_member_description">
2133 <p>Media is PAUSED in suspend</p>
2134 </td>
2135 <td class="enum_member_annotations"> </td>
2136 </tr>
2137 <tr>
2138 <td class="enum_member_name"><p><a name="GST-RTSP-SUSPEND-MODE-RESET:CAPS"></a>GST_RTSP_SUSPEND_MODE_RESET</p></td>
2139 <td class="enum_member_description">
2140 <p>The media is set to NULL when suspended</p>
2141 </td>
2142 <td class="enum_member_annotations"> </td>
2143 </tr>
2144 </tbody>
2145 </table></div>
2146 </div>
2147 </div>
2148 </div>
2149 <div class="refsect1">
2150 <a name="GstRTSPMedia.property-details"></a><h2>Property Details</h2>
2151 <div class="refsect2">
2152 <a name="GstRTSPMedia--buffer-size"></a><h3>The <code class="literal">“buffer-size”</code> property</h3>
2153 <pre class="programlisting">  “buffer-size”              <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
2154 <p>The kernel UDP buffer size to use.</p>
2155 <p>Flags: Read / Write</p>
2156 <p>Default value: 524288</p>
2157 </div>
2158 <hr>
2159 <div class="refsect2">
2160 <a name="GstRTSPMedia--element"></a><h3>The <code class="literal">“element”</code> property</h3>
2161 <pre class="programlisting">  “element”                  <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a> *</pre>
2162 <p>The GstBin to use for streaming the media.</p>
2163 <p>Flags: Read / Write / Construct Only</p>
2164 </div>
2165 <hr>
2166 <div class="refsect2">
2167 <a name="GstRTSPMedia--eos-shutdown"></a><h3>The <code class="literal">“eos-shutdown”</code> property</h3>
2168 <pre class="programlisting">  “eos-shutdown”             <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
2169 <p>Send an EOS event to the pipeline before unpreparing.</p>
2170 <p>Flags: Read / Write</p>
2171 <p>Default value: FALSE</p>
2172 </div>
2173 <hr>
2174 <div class="refsect2">
2175 <a name="GstRTSPMedia--profiles"></a><h3>The <code class="literal">“profiles”</code> property</h3>
2176 <pre class="programlisting">  “profiles”                 <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstrtsptransport.html#GstRTSPProfile"><span class="type">GstRTSPProfile</span></a></pre>
2177 <p>Allowed transfer profiles.</p>
2178 <p>Flags: Read / Write</p>
2179 <p>Default value: GST_RTSP_PROFILE_AVP</p>
2180 </div>
2181 <hr>
2182 <div class="refsect2">
2183 <a name="GstRTSPMedia--protocols"></a><h3>The <code class="literal">“protocols”</code> property</h3>
2184 <pre class="programlisting">  “protocols”                <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstrtsptransport.html#GstRTSPLowerTrans"><span class="type">GstRTSPLowerTrans</span></a></pre>
2185 <p>Allowed lower transport protocols.</p>
2186 <p>Flags: Read / Write</p>
2187 <p>Default value: GST_RTSP_LOWER_TRANS_UDP | GST_RTSP_LOWER_TRANS_UDP_MCAST | GST_RTSP_LOWER_TRANS_TCP</p>
2188 </div>
2189 <hr>
2190 <div class="refsect2">
2191 <a name="GstRTSPMedia--reusable"></a><h3>The <code class="literal">“reusable”</code> property</h3>
2192 <pre class="programlisting">  “reusable”                 <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
2193 <p>If this media pipeline can be reused after an unprepare.</p>
2194 <p>Flags: Read / Write</p>
2195 <p>Default value: FALSE</p>
2196 </div>
2197 <hr>
2198 <div class="refsect2">
2199 <a name="GstRTSPMedia--shared"></a><h3>The <code class="literal">“shared”</code> property</h3>
2200 <pre class="programlisting">  “shared”                   <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
2201 <p>If this media pipeline can be shared.</p>
2202 <p>Flags: Read / Write</p>
2203 <p>Default value: FALSE</p>
2204 </div>
2205 <hr>
2206 <div class="refsect2">
2207 <a name="GstRTSPMedia--suspend-mode"></a><h3>The <code class="literal">“suspend-mode”</code> property</h3>
2208 <pre class="programlisting">  “suspend-mode”             <a class="link" href="GstRTSPMedia.html#GstRTSPSuspendMode" title="enum GstRTSPSuspendMode"><span class="type">GstRTSPSuspendMode</span></a></pre>
2209 <p>How to suspend the media in PAUSED.</p>
2210 <p>Flags: Read / Write</p>
2211 <p>Default value: GST_RTSP_SUSPEND_MODE_NONE</p>
2212 </div>
2213 <hr>
2214 <div class="refsect2">
2215 <a name="GstRTSPMedia--time-provider"></a><h3>The <code class="literal">“time-provider”</code> property</h3>
2216 <pre class="programlisting">  “time-provider”            <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
2217 <p>Use a NetTimeProvider for clients.</p>
2218 <p>Flags: Read / Write</p>
2219 <p>Default value: FALSE</p>
2220 </div>
2221 </div>
2222 <div class="refsect1">
2223 <a name="GstRTSPMedia.signal-details"></a><h2>Signal Details</h2>
2224 <div class="refsect2">
2225 <a name="GstRTSPMedia-new-state"></a><h3>The <code class="literal">“new-state”</code> signal</h3>
2226 <pre class="programlisting"><span class="returnvalue">void</span>
2227 user_function (<a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> *gstrtspmedia,
2228                <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>          arg1,
2229                <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>      user_data)</pre>
2230 <p>Flags: Run Last</p>
2231 </div>
2232 <hr>
2233 <div class="refsect2">
2234 <a name="GstRTSPMedia-new-stream"></a><h3>The <code class="literal">“new-stream”</code> signal</h3>
2235 <pre class="programlisting"><span class="returnvalue">void</span>
2236 user_function (<a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a>  *gstrtspmedia,
2237                <a class="link" href="GstRTSPStream.html" title="GstRTSPStream"><span class="type">GstRTSPStream</span></a> *arg1,
2238                <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>       user_data)</pre>
2239 <p>Flags: Run Last</p>
2240 </div>
2241 <hr>
2242 <div class="refsect2">
2243 <a name="GstRTSPMedia-prepared"></a><h3>The <code class="literal">“prepared”</code> signal</h3>
2244 <pre class="programlisting"><span class="returnvalue">void</span>
2245 user_function (<a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> *gstrtspmedia,
2246                <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>      user_data)</pre>
2247 <p>Flags: Run Last</p>
2248 </div>
2249 <hr>
2250 <div class="refsect2">
2251 <a name="GstRTSPMedia-removed-stream"></a><h3>The <code class="literal">“removed-stream”</code> signal</h3>
2252 <pre class="programlisting"><span class="returnvalue">void</span>
2253 user_function (<a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a>  *gstrtspmedia,
2254                <a class="link" href="GstRTSPStream.html" title="GstRTSPStream"><span class="type">GstRTSPStream</span></a> *arg1,
2255                <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>       user_data)</pre>
2256 <p>Flags: Run Last</p>
2257 </div>
2258 <hr>
2259 <div class="refsect2">
2260 <a name="GstRTSPMedia-target-state"></a><h3>The <code class="literal">“target-state”</code> signal</h3>
2261 <pre class="programlisting"><span class="returnvalue">void</span>
2262 user_function (<a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> *gstrtspmedia,
2263                <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>          arg1,
2264                <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>      user_data)</pre>
2265 <p>Flags: Run Last</p>
2266 </div>
2267 <hr>
2268 <div class="refsect2">
2269 <a name="GstRTSPMedia-unprepared"></a><h3>The <code class="literal">“unprepared”</code> signal</h3>
2270 <pre class="programlisting"><span class="returnvalue">void</span>
2271 user_function (<a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> *gstrtspmedia,
2272                <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>      user_data)</pre>
2273 <p>Flags: Run Last</p>
2274 </div>
2275 </div>
2276 <div class="refsect1">
2277 <a name="GstRTSPMedia.see-also"></a><h2>See Also</h2>
2278 <p><a class="link" href="GstRTSPMediaFactory.html" title="GstRTSPMediaFactory"><span class="type">GstRTSPMediaFactory</span></a>, <a class="link" href="GstRTSPStream.html" title="GstRTSPStream"><span class="type">GstRTSPStream</span></a>, <a class="link" href="GstRTSPSession.html" title="GstRTSPSession"><span class="type">GstRTSPSession</span></a>,
2279     <a class="link" href="gst-rtsp-server-GstRTSPSessionMedia.html#GstRTSPSessionMedia" title="struct GstRTSPSessionMedia"><span class="type">GstRTSPSessionMedia</span></a></p>
2280 </div>
2281 </div>
2282 <div class="footer">
2283 <hr>
2284           Generated by GTK-Doc V1.21</div>
2285 </body>
2286 </html>