• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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>GstRTPBaseDepayload: GStreamer Base Plugins 1.0 Library Reference Manual</title>
6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7<link rel="home" href="index.html" title="GStreamer Base Plugins 1.0 Library Reference Manual">
8<link rel="up" href="gstreamer-rtp.html" title="RTP Library">
9<link rel="prev" href="GstRTPBaseAudioPayload.html" title="GstRTPBaseAudioPayload">
10<link rel="next" href="GstRTPBasePayload.html" title="GstRTPBasePayload">
11<meta name="generator" content="GTK-Doc V1.28 (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">|</span18                  <a href="#GstRTPBaseDepayload.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span19                  <a href="#GstRTPBaseDepayload.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties">  <span class="dim">|</span20                  <a href="#GstRTPBaseDepayload.properties" class="shortcut">Properties</a></span>
21</td>
22<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
23<td><a accesskey="u" href="gstreamer-rtp.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
24<td><a accesskey="p" href="GstRTPBaseAudioPayload.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
25<td><a accesskey="n" href="GstRTPBasePayload.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
26</tr></table>
27<div class="refentry">
28<a name="GstRTPBaseDepayload"></a><div class="titlepage"></div>
29<div class="refnamediv"><table width="100%"><tr>
30<td valign="top">
31<h2><span class="refentrytitle"><a name="GstRTPBaseDepayload.top_of_page"></a>GstRTPBaseDepayload</span></h2>
32<p>GstRTPBaseDepayload — Base class for RTP depayloader</p>
33</td>
34<td class="gallery_image" valign="top" align="right"></td>
35</tr></table></div>
36<div class="refsect1">
37<a name="GstRTPBaseDepayload.functions"></a><h2>Functions</h2>
38<div class="informaltable"><table class="informaltable" width="100%" border="0">
39<colgroup>
40<col width="150px" class="functions_return">
41<col class="functions_name">
42</colgroup>
43<tbody>
44<tr>
45<td class="define_keyword">#define</td>
46<td class="function_name">
47<a class="link" href="GstRTPBaseDepayload.html#GST-RTP-BASE-DEPAYLOAD-SINKPAD:CAPS" title="GST_RTP_BASE_DEPAYLOAD_SINKPAD()">GST_RTP_BASE_DEPAYLOAD_SINKPAD</a><span class="c_punctuation">()</span>
48</td>
49</tr>
50<tr>
51<td class="define_keyword">#define</td>
52<td class="function_name">
53<a class="link" href="GstRTPBaseDepayload.html#GST-RTP-BASE-DEPAYLOAD-SRCPAD:CAPS" title="GST_RTP_BASE_DEPAYLOAD_SRCPAD()">GST_RTP_BASE_DEPAYLOAD_SRCPAD</a><span class="c_punctuation">()</span>
54</td>
55</tr>
56<tr>
57<td class="function_type">
58<a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstPad.html#GstFlowReturn"><span class="returnvalue">GstFlowReturn</span></a>
59</td>
60<td class="function_name">
61<a class="link" href="GstRTPBaseDepayload.html#gst-rtp-base-depayload-push" title="gst_rtp_base_depayload_push ()">gst_rtp_base_depayload_push</a> <span class="c_punctuation">()</span>
62</td>
63</tr>
64<tr>
65<td class="function_type">
66<a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstPad.html#GstFlowReturn"><span class="returnvalue">GstFlowReturn</span></a>
67</td>
68<td class="function_name">
69<a class="link" href="GstRTPBaseDepayload.html#gst-rtp-base-depayload-push-list" title="gst_rtp_base_depayload_push_list ()">gst_rtp_base_depayload_push_list</a> <span class="c_punctuation">()</span>
70</td>
71</tr>
72<tr>
73<td class="function_type">
74<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
75</td>
76<td class="function_name">
77<a class="link" href="GstRTPBaseDepayload.html#gst-rtp-base-depayload-is-source-info-enabled" title="gst_rtp_base_depayload_is_source_info_enabled ()">gst_rtp_base_depayload_is_source_info_enabled</a> <span class="c_punctuation">()</span>
78</td>
79</tr>
80<tr>
81<td class="function_type">
82<span class="returnvalue">void</span>
83</td>
84<td class="function_name">
85<a class="link" href="GstRTPBaseDepayload.html#gst-rtp-base-depayload-set-source-info-enabled" title="gst_rtp_base_depayload_set_source_info_enabled ()">gst_rtp_base_depayload_set_source_info_enabled</a> <span class="c_punctuation">()</span>
86</td>
87</tr>
88</tbody>
89</table></div>
90</div>
91<div class="refsect1">
92<a name="GstRTPBaseDepayload.properties"></a><h2>Properties</h2>
93<div class="informaltable"><table class="informaltable" border="0">
94<colgroup>
95<col width="150px" class="properties_type">
96<col width="300px" class="properties_name">
97<col width="200px" class="properties_flags">
98</colgroup>
99<tbody>
100<tr>
101<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
102<td class="property_name"><a class="link" href="GstRTPBaseDepayload.html#GstRTPBaseDepayload--source-info" title="The “source-info” property">source-info</a></td>
103<td class="property_flags">Read / Write</td>
104</tr>
105<tr>
106<td class="property_type">
107<a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstStructure.html#GstStructure-struct"><span class="type">GstStructure</span></a> *</td>
108<td class="property_name"><a class="link" href="GstRTPBaseDepayload.html#GstRTPBaseDepayload--stats" title="The “stats” property">stats</a></td>
109<td class="property_flags">Read</td>
110</tr>
111</tbody>
112</table></div>
113</div>
114<div class="refsect1">
115<a name="GstRTPBaseDepayload.other"></a><h2>Types and Values</h2>
116<div class="informaltable"><table class="informaltable" width="100%" border="0">
117<colgroup>
118<col width="150px" class="name">
119<col class="description">
120</colgroup>
121<tbody>
122<tr>
123<td class="datatype_keyword">struct</td>
124<td class="function_name"><a class="link" href="GstRTPBaseDepayload.html#GstRTPBaseDepayload-struct" title="struct GstRTPBaseDepayload">GstRTPBaseDepayload</a></td>
125</tr>
126<tr>
127<td class="datatype_keyword">struct</td>
128<td class="function_name"><a class="link" href="GstRTPBaseDepayload.html#GstRTPBaseDepayloadClass" title="struct GstRTPBaseDepayloadClass">GstRTPBaseDepayloadClass</a></td>
129</tr>
130</tbody>
131</table></div>
132</div>
133<div class="refsect1">
134<a name="GstRTPBaseDepayload.object-hierarchy"></a><h2>Object Hierarchy</h2>
135<pre class="screen">    <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
136    <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
137        <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstObject.html#GstObject-struct">GstObject</a>
138            <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstElement.html#GstElement-struct">GstElement</a>
139                <span class="lineart">╰──</span> GstRTPBaseDepayload
140</pre>
141</div>
142<div class="refsect1">
143<a name="GstRTPBaseDepayload.includes"></a><h2>Includes</h2>
144<pre class="synopsis">#include &lt;gst/rtp/rtp.h&gt;
145</pre>
146</div>
147<div class="refsect1">
148<a name="GstRTPBaseDepayload.description"></a><h2>Description</h2>
149<p>Provides a base class for RTP depayloaders</p>
150</div>
151<div class="refsect1">
152<a name="GstRTPBaseDepayload.functions_details"></a><h2>Functions</h2>
153<div class="refsect2">
154<a name="GST-RTP-BASE-DEPAYLOAD-SINKPAD:CAPS"></a><h3>GST_RTP_BASE_DEPAYLOAD_SINKPAD()</h3>
155<pre class="programlisting">#define GST_RTP_BASE_DEPAYLOAD_SINKPAD(depayload) (GST_RTP_BASE_DEPAYLOAD_CAST (depayload)-&gt;sinkpad)
156</pre>
157</div>
158<hr>
159<div class="refsect2">
160<a name="GST-RTP-BASE-DEPAYLOAD-SRCPAD:CAPS"></a><h3>GST_RTP_BASE_DEPAYLOAD_SRCPAD()</h3>
161<pre class="programlisting">#define GST_RTP_BASE_DEPAYLOAD_SRCPAD(depayload)  (GST_RTP_BASE_DEPAYLOAD_CAST (depayload)-&gt;srcpad)
162</pre>
163</div>
164<hr>
165<div class="refsect2">
166<a name="gst-rtp-base-depayload-push"></a><h3>gst_rtp_base_depayload_push ()</h3>
167<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstPad.html#GstFlowReturn"><span class="returnvalue">GstFlowReturn</span></a>
168gst_rtp_base_depayload_push (<em class="parameter"><code><a class="link" href="GstRTPBaseDepayload.html" title="GstRTPBaseDepayload"><span class="type">GstRTPBaseDepayload</span></a> *filter</code></em>,
169                             <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstBuffer.html#GstBuffer-struct"><span class="type">GstBuffer</span></a> *out_buf</code></em>);</pre>
170<p>Push <em class="parameter"><code>out_buf</code></em>
171 to the peer of <em class="parameter"><code>filter</code></em>
172. This function takes ownership of
173<em class="parameter"><code>out_buf</code></em>
174.</p>
175<p>This function will by default apply the last incomming timestamp on
176the outgoing buffer when it didn't have a timestamp already.</p>
177<div class="refsect3">
178<a name="gst-rtp-base-depayload-push.parameters"></a><h4>Parameters</h4>
179<div class="informaltable"><table class="informaltable" width="100%" border="0">
180<colgroup>
181<col width="150px" class="parameters_name">
182<col class="parameters_description">
183<col width="200px" class="parameters_annotations">
184</colgroup>
185<tbody>
186<tr>
187<td class="parameter_name"><p>filter</p></td>
188<td class="parameter_description"><p>a <a class="link" href="GstRTPBaseDepayload.html" title="GstRTPBaseDepayload"><span class="type">GstRTPBaseDepayload</span></a></p></td>
189<td class="parameter_annotations"> </td>
190</tr>
191<tr>
192<td class="parameter_name"><p>out_buf</p></td>
193<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstBuffer.html#GstBuffer-struct"><span class="type">GstBuffer</span></a></p></td>
194<td class="parameter_annotations"> </td>
195</tr>
196</tbody>
197</table></div>
198</div>
199<div class="refsect3">
200<a name="gst-rtp-base-depayload-push.returns"></a><h4>Returns</h4>
201<p> a <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstPad.html#GstFlowReturn"><span class="type">GstFlowReturn</span></a>.</p>
202</div>
203</div>
204<hr>
205<div class="refsect2">
206<a name="gst-rtp-base-depayload-push-list"></a><h3>gst_rtp_base_depayload_push_list ()</h3>
207<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstPad.html#GstFlowReturn"><span class="returnvalue">GstFlowReturn</span></a>
208gst_rtp_base_depayload_push_list (<em class="parameter"><code><a class="link" href="GstRTPBaseDepayload.html" title="GstRTPBaseDepayload"><span class="type">GstRTPBaseDepayload</span></a> *filter</code></em>,
209                                  <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstBufferList.html#GstBufferList-struct"><span class="type">GstBufferList</span></a> *out_list</code></em>);</pre>
210<p>Push <em class="parameter"><code>out_list</code></em>
211 to the peer of <em class="parameter"><code>filter</code></em>
212. This function takes ownership of
213<em class="parameter"><code>out_list</code></em>
214.</p>
215<div class="refsect3">
216<a name="gst-rtp-base-depayload-push-list.parameters"></a><h4>Parameters</h4>
217<div class="informaltable"><table class="informaltable" width="100%" border="0">
218<colgroup>
219<col width="150px" class="parameters_name">
220<col class="parameters_description">
221<col width="200px" class="parameters_annotations">
222</colgroup>
223<tbody>
224<tr>
225<td class="parameter_name"><p>filter</p></td>
226<td class="parameter_description"><p>a <a class="link" href="GstRTPBaseDepayload.html" title="GstRTPBaseDepayload"><span class="type">GstRTPBaseDepayload</span></a></p></td>
227<td class="parameter_annotations"> </td>
228</tr>
229<tr>
230<td class="parameter_name"><p>out_list</p></td>
231<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstBufferList.html#GstBufferList-struct"><span class="type">GstBufferList</span></a></p></td>
232<td class="parameter_annotations"> </td>
233</tr>
234</tbody>
235</table></div>
236</div>
237<div class="refsect3">
238<a name="gst-rtp-base-depayload-push-list.returns"></a><h4>Returns</h4>
239<p> a <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstPad.html#GstFlowReturn"><span class="type">GstFlowReturn</span></a>.</p>
240</div>
241</div>
242<hr>
243<div class="refsect2">
244<a name="gst-rtp-base-depayload-is-source-info-enabled"></a><h3>gst_rtp_base_depayload_is_source_info_enabled ()</h3>
245<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
246gst_rtp_base_depayload_is_source_info_enabled
247                               (<em class="parameter"><code><a class="link" href="GstRTPBaseDepayload.html" title="GstRTPBaseDepayload"><span class="type">GstRTPBaseDepayload</span></a> *depayload</code></em>);</pre>
248<p>Queries whether <a class="link" href="gst-plugins-base-libs-GstMeta-for-RTP.html#GstRTPSourceMeta" title="struct GstRTPSourceMeta"><span class="type">GstRTPSourceMeta</span></a> will be added to depayloaded buffers.</p>
249<div class="refsect3">
250<a name="gst-rtp-base-depayload-is-source-info-enabled.parameters"></a><h4>Parameters</h4>
251<div class="informaltable"><table class="informaltable" width="100%" border="0">
252<colgroup>
253<col width="150px" class="parameters_name">
254<col class="parameters_description">
255<col width="200px" class="parameters_annotations">
256</colgroup>
257<tbody><tr>
258<td class="parameter_name"><p>depayload</p></td>
259<td class="parameter_description"><p>a <a class="link" href="GstRTPBaseDepayload.html" title="GstRTPBaseDepayload"><span class="type">GstRTPBaseDepayload</span></a></p></td>
260<td class="parameter_annotations"> </td>
261</tr></tbody>
262</table></div>
263</div>
264<div class="refsect3">
265<a name="gst-rtp-base-depayload-is-source-info-enabled.returns"></a><h4>Returns</h4>
266<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if source-info is enabled.</p>
267</div>
268<p class="since">Since: <a class="link" href="ix03.html#api-index-1.16">1.16</a></p>
269</div>
270<hr>
271<div class="refsect2">
272<a name="gst-rtp-base-depayload-set-source-info-enabled"></a><h3>gst_rtp_base_depayload_set_source_info_enabled ()</h3>
273<pre class="programlisting"><span class="returnvalue">void</span>
274gst_rtp_base_depayload_set_source_info_enabled
275                               (<em class="parameter"><code><a class="link" href="GstRTPBaseDepayload.html" title="GstRTPBaseDepayload"><span class="type">GstRTPBaseDepayload</span></a> *depayload</code></em>,
276                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> enable</code></em>);</pre>
277<p>Enable or disable adding <a class="link" href="gst-plugins-base-libs-GstMeta-for-RTP.html#GstRTPSourceMeta" title="struct GstRTPSourceMeta"><span class="type">GstRTPSourceMeta</span></a> to depayloaded buffers.</p>
278<div class="refsect3">
279<a name="gst-rtp-base-depayload-set-source-info-enabled.parameters"></a><h4>Parameters</h4>
280<div class="informaltable"><table class="informaltable" width="100%" border="0">
281<colgroup>
282<col width="150px" class="parameters_name">
283<col class="parameters_description">
284<col width="200px" class="parameters_annotations">
285</colgroup>
286<tbody>
287<tr>
288<td class="parameter_name"><p>depayload</p></td>
289<td class="parameter_description"><p>a <a class="link" href="GstRTPBaseDepayload.html" title="GstRTPBaseDepayload"><span class="type">GstRTPBaseDepayload</span></a></p></td>
290<td class="parameter_annotations"> </td>
291</tr>
292<tr>
293<td class="parameter_name"><p>enable</p></td>
294<td class="parameter_description"><p>whether to add meta about RTP sources to buffer</p></td>
295<td class="parameter_annotations"> </td>
296</tr>
297</tbody>
298</table></div>
299</div>
300<p class="since">Since: <a class="link" href="ix03.html#api-index-1.16">1.16</a></p>
301</div>
302</div>
303<div class="refsect1">
304<a name="GstRTPBaseDepayload.other_details"></a><h2>Types and Values</h2>
305<div class="refsect2">
306<a name="GstRTPBaseDepayload-struct"></a><h3>struct GstRTPBaseDepayload</h3>
307<pre class="programlisting">struct GstRTPBaseDepayload;</pre>
308</div>
309<hr>
310<div class="refsect2">
311<a name="GstRTPBaseDepayloadClass"></a><h3>struct GstRTPBaseDepayloadClass</h3>
312<pre class="programlisting">struct GstRTPBaseDepayloadClass {
313  GstElementClass parent_class;
314
315  /* virtuals, inform the subclass of the caps. */
316  gboolean (*set_caps) (GstRTPBaseDepayload *filter, GstCaps *caps);
317
318  /* pure virtual function */
319  GstBuffer * (*process) (GstRTPBaseDepayload *base, GstBuffer *in);
320
321  /* non-pure function used to to signal the depayloader about packet loss. the
322   * timestamp and duration are the estimated values of the lost packet.
323   * The default implementation of this message pushes a segment update. */
324  gboolean (*packet_lost) (GstRTPBaseDepayload *filter, GstEvent *event);
325
326  /* the default implementation does the default actions for events but
327   * implementation can override. */
328  gboolean (*handle_event) (GstRTPBaseDepayload * filter, GstEvent * event);
329
330  GstBuffer * (*process_rtp_packet) (GstRTPBaseDepayload *base, GstRTPBuffer * rtp_buffer);
331};
332</pre>
333<p>Base class for RTP depayloaders.</p>
334<div class="refsect3">
335<a name="GstRTPBaseDepayloadClass.members"></a><h4>Members</h4>
336<div class="informaltable"><table class="informaltable" width="100%" border="0">
337<colgroup>
338<col width="300px" class="struct_members_name">
339<col class="struct_members_description">
340<col width="200px" class="struct_members_annotations">
341</colgroup>
342<tbody>
343<tr>
344<td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTPBaseDepayloadClass.set-caps"></a>set_caps</code></em> ()</p></td>
345<td class="struct_member_description"><p>configure the depayloader</p></td>
346<td class="struct_member_annotations"> </td>
347</tr>
348<tr>
349<td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTPBaseDepayloadClass.process"></a>process</code></em> ()</p></td>
350<td class="struct_member_description"><p>process incoming rtp packets. Subclass must implement either
351this method or <em class="parameter"><code>process_rtp_packet</code></em>
352to process incoming rtp packets.
353If the child returns a buffer without a valid timestamp, the timestamp
354of the provided buffer will be applied to the result buffer and the
355buffer will be pushed. If this function returns <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, nothing is pushed.</p></td>
356<td class="struct_member_annotations"> </td>
357</tr>
358<tr>
359<td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTPBaseDepayloadClass.packet-lost"></a>packet_lost</code></em> ()</p></td>
360<td class="struct_member_description"><p>signal the depayloader about packet loss</p></td>
361<td class="struct_member_annotations"> </td>
362</tr>
363<tr>
364<td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTPBaseDepayloadClass.handle-event"></a>handle_event</code></em> ()</p></td>
365<td class="struct_member_description"><p>custom event handling</p></td>
366<td class="struct_member_annotations"> </td>
367</tr>
368<tr>
369<td class="struct_member_name"><p><em class="structfield"><code><a name="GstRTPBaseDepayloadClass.process-rtp-packet"></a>process_rtp_packet</code></em> ()</p></td>
370<td class="struct_member_description"><p>Same as the process virtual function, but slightly more
371efficient, since it is passed the rtp buffer structure that has already
372been mapped (with GST_MAP_READ) by the base class and thus does not have
373to be mapped again by the subclass. Can be used by the subclass to process
374incoming rtp packets. If the subclass returns a buffer without a valid
375timestamp, the timestamp of the input buffer will be applied to the result
376buffer and the output buffer will be pushed out. If this function returns
377<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, nothing is pushed out. Since: 1.6.</p></td>
378<td class="struct_member_annotations"> </td>
379</tr>
380</tbody>
381</table></div>
382</div>
383</div>
384</div>
385<div class="refsect1">
386<a name="GstRTPBaseDepayload.property-details"></a><h2>Property Details</h2>
387<div class="refsect2">
388<a name="GstRTPBaseDepayload--source-info"></a><h3>The <code class="literal">“source-info”</code> property</h3>
389<pre class="programlisting">  “source-info”              <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
390<p>Add RTP source information found in RTP header as meta to output buffer.</p>
391<p>Flags: Read / Write</p>
392<p>Default value: FALSE</p>
393<p class="since">Since: <a class="link" href="ix03.html#api-index-1.16">1.16</a></p>
394</div>
395<hr>
396<div class="refsect2">
397<a name="GstRTPBaseDepayload--stats"></a><h3>The <code class="literal">“stats”</code> property</h3>
398<pre class="programlisting">  “stats”                    <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstStructure.html#GstStructure-struct"><span class="type">GstStructure</span></a> *</pre>
399<p>Various depayloader statistics retrieved atomically (and are therefore
400synchroized with each other). This property return a GstStructure named
401application/x-rtp-depayload-stats containing the following fields relating to
402the last processed buffer and current state of the stream being depayloaded:</p>
403<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
404<li class="listitem"><p><code class="literal">clock-rate</code>: <a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-UINT:CAPS"><span class="type">G_TYPE_UINT</span></a>, clock-rate of the stream</p></li>
405<li class="listitem"><p><code class="literal">npt-start</code>: <a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-UINT64:CAPS"><span class="type">G_TYPE_UINT64</span></a>, time of playback start</p></li>
406<li class="listitem"><p><code class="literal">npt-stop</code>: <a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-UINT64:CAPS"><span class="type">G_TYPE_UINT64</span></a>, time of playback stop</p></li>
407<li class="listitem"><p><code class="literal">play-speed</code>: <a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-DOUBLE:CAPS"><span class="type">G_TYPE_DOUBLE</span></a>, the playback speed</p></li>
408<li class="listitem"><p><code class="literal">play-scale</code>: <a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-DOUBLE:CAPS"><span class="type">G_TYPE_DOUBLE</span></a>, the playback scale</p></li>
409<li class="listitem"><p><code class="literal">running-time-dts</code>: <a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-UINT64:CAPS"><span class="type">G_TYPE_UINT64</span></a>, the last running-time of the
410 last DTS</p></li>
411<li class="listitem"><p><code class="literal">running-time-pts</code>: <a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-UINT64:CAPS"><span class="type">G_TYPE_UINT64</span></a>, the last running-time of the
412 last PTS</p></li>
413<li class="listitem"><p><code class="literal">seqnum</code>: <a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-UINT:CAPS"><span class="type">G_TYPE_UINT</span></a>, the last seen seqnum</p></li>
414<li class="listitem"><p><code class="literal">timestamp</code>: <a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-UINT:CAPS"><span class="type">G_TYPE_UINT</span></a>, the last seen RTP timestamp</p></li>
415</ul></div>
416<p>Flags: Read</p>
417</div>
418</div>
419</div>
420<div class="footer">
421<hr>Generated by GTK-Doc V1.28</div>
422</body>
423</html>