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>webrtcdsp: GStreamer Bad Plugins 1.0 Plugins Reference Manual</title> 6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> 7<link rel="home" href="index.html" title="GStreamer Bad Plugins 1.0 Plugins Reference Manual"> 8<link rel="up" href="ch01.html" title="gst-plugins-bad Elements"> 9<link rel="prev" href="gst-plugins-bad-plugins-webrtcbin.html" title="webrtcbin"> 10<link rel="next" href="gst-plugins-bad-plugins-webrtcechoprobe.html" title="webrtcechoprobe"> 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">|</span> 18 <a href="#gst-plugins-bad-plugins-webrtcdsp.description" class="shortcut">Description</a></span><span id="nav_properties"> <span class="dim">|</span> 19 <a href="#gst-plugins-bad-plugins-webrtcdsp.properties" class="shortcut">Properties</a></span> 20</td> 21<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> 22<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> 23<td><a accesskey="p" href="gst-plugins-bad-plugins-webrtcbin.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> 24<td><a accesskey="n" href="gst-plugins-bad-plugins-webrtcechoprobe.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> 25</tr></table> 26<div class="refentry"> 27<a name="gst-plugins-bad-plugins-webrtcdsp"></a><div class="titlepage"></div> 28<div class="refnamediv"><table width="100%"><tr> 29<td valign="top"> 30<h2><span class="refentrytitle"><a name="gst-plugins-bad-plugins-webrtcdsp.top_of_page"></a>webrtcdsp</span></h2> 31<p>webrtcdsp — Audio Filter using WebRTC Audio Processing library</p> 32</td> 33<td class="gallery_image" valign="top" align="right"></td> 34</tr></table></div> 35<div class="refsect1"> 36<a name="gst-plugins-bad-plugins-webrtcdsp.properties"></a><h2>Properties</h2> 37<div class="informaltable"><table class="informaltable" border="0"> 38<colgroup> 39<col width="150px" class="properties_type"> 40<col width="300px" class="properties_name"> 41<col width="200px" class="properties_flags"> 42</colgroup> 43<tbody> 44<tr> 45<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> 46<td class="property_name"><a class="link" href="gst-plugins-bad-plugins-webrtcdsp.html#GstWebrtcDsp--echo-cancel" title="The “echo-cancel” property">echo-cancel</a></td> 47<td class="property_flags">Read / Write / Construct</td> 48</tr> 49<tr> 50<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> 51<td class="property_name"><a class="link" href="gst-plugins-bad-plugins-webrtcdsp.html#GstWebrtcDsp--experimental-agc" title="The “experimental-agc” property">experimental-agc</a></td> 52<td class="property_flags">Read / Write / Construct</td> 53</tr> 54<tr> 55<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> 56<td class="property_name"><a class="link" href="gst-plugins-bad-plugins-webrtcdsp.html#GstWebrtcDsp--extended-filter" title="The “extended-filter” property">extended-filter</a></td> 57<td class="property_flags">Read / Write / Construct</td> 58</tr> 59<tr> 60<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> 61<td class="property_name"><a class="link" href="gst-plugins-bad-plugins-webrtcdsp.html#GstWebrtcDsp--gain-control" title="The “gain-control” property">gain-control</a></td> 62<td class="property_flags">Read / Write / Construct</td> 63</tr> 64<tr> 65<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> 66<td class="property_name"><a class="link" href="gst-plugins-bad-plugins-webrtcdsp.html#GstWebrtcDsp--high-pass-filter" title="The “high-pass-filter” property">high-pass-filter</a></td> 67<td class="property_flags">Read / Write / Construct</td> 68</tr> 69<tr> 70<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> 71<td class="property_name"><a class="link" href="gst-plugins-bad-plugins-webrtcdsp.html#GstWebrtcDsp--noise-suppression" title="The “noise-suppression” property">noise-suppression</a></td> 72<td class="property_flags">Read / Write / Construct</td> 73</tr> 74<tr> 75<td class="property_type"> 76<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td> 77<td class="property_name"><a class="link" href="gst-plugins-bad-plugins-webrtcdsp.html#GstWebrtcDsp--probe" title="The “probe” property">probe</a></td> 78<td class="property_flags">Read / Write / Construct</td> 79</tr> 80<tr> 81<td class="property_type"><span class="type">GstWebrtcEchoSuppressionLevel</span></td> 82<td class="property_name"><a class="link" href="gst-plugins-bad-plugins-webrtcdsp.html#GstWebrtcDsp--echo-suppression-level" title="The “echo-suppression-level” property">echo-suppression-level</a></td> 83<td class="property_flags">Read / Write / Construct</td> 84</tr> 85<tr> 86<td class="property_type"><span class="type">GstWebrtcNoiseSuppressionLevel</span></td> 87<td class="property_name"><a class="link" href="gst-plugins-bad-plugins-webrtcdsp.html#GstWebrtcDsp--noise-suppression-level" title="The “noise-suppression-level” property">noise-suppression-level</a></td> 88<td class="property_flags">Read / Write / Construct</td> 89</tr> 90<tr> 91<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> 92<td class="property_name"><a class="link" href="gst-plugins-bad-plugins-webrtcdsp.html#GstWebrtcDsp--delay-agnostic" title="The “delay-agnostic” property">delay-agnostic</a></td> 93<td class="property_flags">Read / Write / Construct</td> 94</tr> 95<tr> 96<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td> 97<td class="property_name"><a class="link" href="gst-plugins-bad-plugins-webrtcdsp.html#GstWebrtcDsp--compression-gain-db" title="The “compression-gain-db” property">compression-gain-db</a></td> 98<td class="property_flags">Read / Write / Construct</td> 99</tr> 100<tr> 101<td class="property_type"><span class="type">GstWebrtcGainControlMode</span></td> 102<td class="property_name"><a class="link" href="gst-plugins-bad-plugins-webrtcdsp.html#GstWebrtcDsp--gain-control-mode" title="The “gain-control-mode” property">gain-control-mode</a></td> 103<td class="property_flags">Read / Write / Construct</td> 104</tr> 105<tr> 106<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> 107<td class="property_name"><a class="link" href="gst-plugins-bad-plugins-webrtcdsp.html#GstWebrtcDsp--limiter" title="The “limiter” property">limiter</a></td> 108<td class="property_flags">Read / Write / Construct</td> 109</tr> 110<tr> 111<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td> 112<td class="property_name"><a class="link" href="gst-plugins-bad-plugins-webrtcdsp.html#GstWebrtcDsp--startup-min-volume" title="The “startup-min-volume” property">startup-min-volume</a></td> 113<td class="property_flags">Read / Write / Construct</td> 114</tr> 115<tr> 116<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td> 117<td class="property_name"><a class="link" href="gst-plugins-bad-plugins-webrtcdsp.html#GstWebrtcDsp--target-level-dbfs" title="The “target-level-dbfs” property">target-level-dbfs</a></td> 118<td class="property_flags">Read / Write / Construct</td> 119</tr> 120<tr> 121<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> 122<td class="property_name"><a class="link" href="gst-plugins-bad-plugins-webrtcdsp.html#GstWebrtcDsp--voice-detection" title="The “voice-detection” property">voice-detection</a></td> 123<td class="property_flags">Read / Write / Construct</td> 124</tr> 125<tr> 126<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td> 127<td class="property_name"><a class="link" href="gst-plugins-bad-plugins-webrtcdsp.html#GstWebrtcDsp--voice-detection-frame-size-ms" title="The “voice-detection-frame-size-ms” property">voice-detection-frame-size-ms</a></td> 128<td class="property_flags">Read / Write / Construct</td> 129</tr> 130<tr> 131<td class="property_type"><span class="type">GstWebrtcVoiceDetectionLikelihood</span></td> 132<td class="property_name"><a class="link" href="gst-plugins-bad-plugins-webrtcdsp.html#GstWebrtcDsp--voice-detection-likelihood" title="The “voice-detection-likelihood” property">voice-detection-likelihood</a></td> 133<td class="property_flags">Read / Write / Construct</td> 134</tr> 135</tbody> 136</table></div> 137</div> 138<div class="refsect1"> 139<a name="gst-plugins-bad-plugins-webrtcdsp.other"></a><h2>Types and Values</h2> 140<div class="informaltable"><table class="informaltable" width="100%" border="0"> 141<colgroup> 142<col width="150px" class="name"> 143<col class="description"> 144</colgroup> 145<tbody><tr> 146<td class="datatype_keyword"> </td> 147<td class="function_name"><a class="link" href="gst-plugins-bad-plugins-webrtcdsp.html#GstWebrtcDsp" title="GstWebrtcDsp">GstWebrtcDsp</a></td> 148</tr></tbody> 149</table></div> 150</div> 151<div class="refsect1"> 152<a name="gst-plugins-bad-plugins-webrtcdsp.description"></a><h2>Description</h2> 153<p>A voice enhancement filter based on WebRTC Audio Processing library. This 154library provides a whide variety of enhancement algorithms. This element 155tries to enable as much as possible. The currently enabled enhancements are 156High Pass Filter, Echo Canceller, Noise Suppression, Automatic Gain Control, 157and some extended filters.</p> 158<p>While webrtcdsp element can be used alone, there is an exception for the 159echo canceller. The audio canceller need to be aware of the far end streams 160that are played to loud speakers. For this, you must place a webrtcechoprobe 161element at that far end. Note that the sample rate must match between 162webrtcdsp and the webrtechoprobe. Though, the number of channels can differ. 163The probe is found by the DSP element using it's object name. By default, 164webrtcdsp looks for webrtcechoprobe0, which means it just work if you have 165a single probe and DSP.</p> 166<p>The probe can only be used within the same top level GstPipeline. 167Additonally, to simplify the code, the probe element must be created 168before the DSP sink pad is activated. It does not need to be in any 169particular state and does not even need to be added to the pipeline yet.</p> 170<div class="refsect2"> 171<a name="id-1.2.254.5.5"></a><h3>Example launch line</h3> 172<p>As a conveniance, the echo canceller can be tested using an echo loop. In 173this configuration, one would expect a single echo to be heard.</p> 174<div class="informalexample"> 175 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0"> 176 <tbody> 177 <tr> 178 <td class="listing_lines" align="right"><pre>1</pre></td> 179 <td class="listing_code"><pre class="programlisting">gst<span class="gtkdoc opt">-</span>launch<span class="gtkdoc opt">-</span><span class="number">1.0</span> pulsesrc <span class="gtkdoc opt">!</span> webrtcdsp <span class="gtkdoc opt">!</span> webrtcechoprobe <span class="gtkdoc opt">!</span> pulsesink</pre></td> 180 </tr> 181 </tbody> 182 </table> 183</div> 184 185<p></p> 186<p>In real environment, you'll place the probe before the playback, but only 187process the far end streams. The DSP should be placed as close as possible 188to the audio capture. The following pipeline is astracted and does not 189represent a real pipeline.</p> 190<div class="informalexample"> 191 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0"> 192 <tbody> 193 <tr> 194 <td class="listing_lines" align="right"><pre>1 1952</pre></td> 196 <td class="listing_code"><pre class="programlisting">gst<span class="gtkdoc opt">-</span>launch<span class="gtkdoc opt">-</span><span class="number">1.0</span> far<span class="gtkdoc opt">-</span>end<span class="gtkdoc opt">-</span>src <span class="gtkdoc opt">!</span> audio<span class="gtkdoc opt">/</span>x<span class="gtkdoc opt">-</span>raw<span class="gtkdoc opt">,</span>rate<span class="gtkdoc opt">=</span><span class="number">48000</span> <span class="gtkdoc opt">!</span> webrtcechoprobe <span class="gtkdoc opt">!</span> pulsesink \ 197 pulsesrc <span class="gtkdoc opt">!</span> audio<span class="gtkdoc opt">/</span>x<span class="gtkdoc opt">-</span>raw<span class="gtkdoc opt">,</span>rate<span class="gtkdoc opt">=</span><span class="number">48000</span> <span class="gtkdoc opt">!</span> webrtcdsp <span class="gtkdoc opt">!</span> far<span class="gtkdoc opt">-</span>end<span class="gtkdoc opt">-</span>sink</pre></td> 198 </tr> 199 </tbody> 200 </table> 201</div> 202 203<p></p> 204</div> 205<div class="refsynopsisdiv"> 206<h2>Synopsis</h2> 207<div class="refsect2"> 208<a name="id-1.2.254.5.6.1"></a><h3>Element Information</h3> 209<div class="variablelist"><table border="0" class="variablelist"> 210<colgroup> 211<col align="left" valign="top"> 212<col> 213</colgroup> 214<tbody> 215<tr> 216<td><p><span class="term">plugin</span></p></td> 217<td> 218 <a class="link" href="gst-plugins-bad-plugins-plugin-webrtcdsp.html#plugin-webrtcdsp">webrtcdsp</a> 219 </td> 220</tr> 221<tr> 222<td><p><span class="term">author</span></p></td> 223<td>Nicolas Dufresne <nicolas.dufresne@collabora.com></td> 224</tr> 225<tr> 226<td><p><span class="term">class</span></p></td> 227<td>Generic/Audio</td> 228</tr> 229</tbody> 230</table></div> 231</div> 232<hr> 233<div class="refsect2"> 234<a name="id-1.2.254.5.6.2"></a><h3>Element Pads</h3> 235<div class="variablelist"><table border="0" class="variablelist"> 236<colgroup> 237<col align="left" valign="top"> 238<col> 239</colgroup> 240<tbody> 241<tr> 242<td><p><span class="term">name</span></p></td> 243<td>sink</td> 244</tr> 245<tr> 246<td><p><span class="term">direction</span></p></td> 247<td>sink</td> 248</tr> 249<tr> 250<td><p><span class="term">presence</span></p></td> 251<td>always</td> 252</tr> 253<tr> 254<td><p><span class="term">details</span></p></td> 255<td>audio/x-raw, format=(string)S16LE, layout=(string)interleaved, rate=(int){ 48000, 32000, 16000, 8000 }, channels=(int)[ 1, 2147483647 ]</td> 256</tr> 257</tbody> 258</table></div> 259<div class="variablelist"><table border="0" class="variablelist"> 260<colgroup> 261<col align="left" valign="top"> 262<col> 263</colgroup> 264<tbody> 265<tr> 266<td><p><span class="term">name</span></p></td> 267<td>src</td> 268</tr> 269<tr> 270<td><p><span class="term">direction</span></p></td> 271<td>source</td> 272</tr> 273<tr> 274<td><p><span class="term">presence</span></p></td> 275<td>always</td> 276</tr> 277<tr> 278<td><p><span class="term">details</span></p></td> 279<td>audio/x-raw, format=(string)S16LE, layout=(string)interleaved, rate=(int){ 48000, 32000, 16000, 8000 }, channels=(int)[ 1, 2147483647 ]</td> 280</tr> 281</tbody> 282</table></div> 283</div> 284</div> 285</div> 286<div class="refsect1"> 287<a name="gst-plugins-bad-plugins-webrtcdsp.functions_details"></a><h2>Functions</h2> 288<p></p> 289</div> 290<div class="refsect1"> 291<a name="gst-plugins-bad-plugins-webrtcdsp.other_details"></a><h2>Types and Values</h2> 292<div class="refsect2"> 293<a name="GstWebrtcDsp"></a><h3>GstWebrtcDsp</h3> 294<pre class="programlisting">typedef struct _GstWebrtcDsp GstWebrtcDsp;</pre> 295</div> 296</div> 297<div class="refsect1"> 298<a name="gst-plugins-bad-plugins-webrtcdsp.property-details"></a><h2>Property Details</h2> 299<div class="refsect2"> 300<a name="GstWebrtcDsp--echo-cancel"></a><h3>The <code class="literal">“echo-cancel”</code> property</h3> 301<pre class="programlisting"> “echo-cancel” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> 302<p>Enable or disable echo canceller.</p> 303<p>Flags: Read / Write / Construct</p> 304<p>Default value: TRUE</p> 305</div> 306<hr> 307<div class="refsect2"> 308<a name="GstWebrtcDsp--experimental-agc"></a><h3>The <code class="literal">“experimental-agc”</code> property</h3> 309<pre class="programlisting"> “experimental-agc” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> 310<p>Enable or disable experimental automatic gain control.</p> 311<p>Flags: Read / Write / Construct</p> 312<p>Default value: FALSE</p> 313</div> 314<hr> 315<div class="refsect2"> 316<a name="GstWebrtcDsp--extended-filter"></a><h3>The <code class="literal">“extended-filter”</code> property</h3> 317<pre class="programlisting"> “extended-filter” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> 318<p>Enable or disable the extended filter.</p> 319<p>Flags: Read / Write / Construct</p> 320<p>Default value: TRUE</p> 321</div> 322<hr> 323<div class="refsect2"> 324<a name="GstWebrtcDsp--gain-control"></a><h3>The <code class="literal">“gain-control”</code> property</h3> 325<pre class="programlisting"> “gain-control” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> 326<p>Enable or disable automatic digital gain control.</p> 327<p>Flags: Read / Write / Construct</p> 328<p>Default value: TRUE</p> 329</div> 330<hr> 331<div class="refsect2"> 332<a name="GstWebrtcDsp--high-pass-filter"></a><h3>The <code class="literal">“high-pass-filter”</code> property</h3> 333<pre class="programlisting"> “high-pass-filter” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> 334<p>Enable or disable high pass filtering.</p> 335<p>Flags: Read / Write / Construct</p> 336<p>Default value: TRUE</p> 337</div> 338<hr> 339<div class="refsect2"> 340<a name="GstWebrtcDsp--noise-suppression"></a><h3>The <code class="literal">“noise-suppression”</code> property</h3> 341<pre class="programlisting"> “noise-suppression” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> 342<p>Enable or disable noise suppression.</p> 343<p>Flags: Read / Write / Construct</p> 344<p>Default value: TRUE</p> 345</div> 346<hr> 347<div class="refsect2"> 348<a name="GstWebrtcDsp--probe"></a><h3>The <code class="literal">“probe”</code> property</h3> 349<pre class="programlisting"> “probe” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre> 350<p>The name of the webrtcechoprobe element that record the audio being played through loud speakers. Must be set before PAUSED state.</p> 351<p>Flags: Read / Write / Construct</p> 352<p>Default value: "webrtcechoprobe0"</p> 353</div> 354<hr> 355<div class="refsect2"> 356<a name="GstWebrtcDsp--echo-suppression-level"></a><h3>The <code class="literal">“echo-suppression-level”</code> property</h3> 357<pre class="programlisting"> “echo-suppression-level” <span class="type">GstWebrtcEchoSuppressionLevel</span></pre> 358<p>Controls the aggressiveness of the suppressor. A higher level trades off double-talk performance for increased echo suppression.</p> 359<p>Flags: Read / Write / Construct</p> 360<p>Default value: Moderate Suppression</p> 361</div> 362<hr> 363<div class="refsect2"> 364<a name="GstWebrtcDsp--noise-suppression-level"></a><h3>The <code class="literal">“noise-suppression-level”</code> property</h3> 365<pre class="programlisting"> “noise-suppression-level” <span class="type">GstWebrtcNoiseSuppressionLevel</span></pre> 366<p>Controls the aggressiveness of the suppression. Increasing the level will reduce the noise level at the expense of a higher speech distortion.</p> 367<p>Flags: Read / Write / Construct</p> 368<p>Default value: Moderate Suppression</p> 369</div> 370<hr> 371<div class="refsect2"> 372<a name="GstWebrtcDsp--delay-agnostic"></a><h3>The <code class="literal">“delay-agnostic”</code> property</h3> 373<pre class="programlisting"> “delay-agnostic” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> 374<p>Enable or disable the delay agnostic mode.</p> 375<p>Flags: Read / Write / Construct</p> 376<p>Default value: FALSE</p> 377</div> 378<hr> 379<div class="refsect2"> 380<a name="GstWebrtcDsp--compression-gain-db"></a><h3>The <code class="literal">“compression-gain-db”</code> property</h3> 381<pre class="programlisting"> “compression-gain-db” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre> 382<p>Sets the maximum |gain| the digital compression stage may apply, in dB.</p> 383<p>Flags: Read / Write / Construct</p> 384<p>Allowed values: [0,90]</p> 385<p>Default value: 9</p> 386</div> 387<hr> 388<div class="refsect2"> 389<a name="GstWebrtcDsp--gain-control-mode"></a><h3>The <code class="literal">“gain-control-mode”</code> property</h3> 390<pre class="programlisting"> “gain-control-mode” <span class="type">GstWebrtcGainControlMode</span></pre> 391<p>Controls the mode of the compression stage.</p> 392<p>Flags: Read / Write / Construct</p> 393<p>Default value: Adaptive Digital</p> 394</div> 395<hr> 396<div class="refsect2"> 397<a name="GstWebrtcDsp--limiter"></a><h3>The <code class="literal">“limiter”</code> property</h3> 398<pre class="programlisting"> “limiter” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> 399<p>When enabled, the compression stage will hard limit the signal to the target level. Otherwise, the signal will be compressed but not limited above the target level.</p> 400<p>Flags: Read / Write / Construct</p> 401<p>Default value: TRUE</p> 402</div> 403<hr> 404<div class="refsect2"> 405<a name="GstWebrtcDsp--startup-min-volume"></a><h3>The <code class="literal">“startup-min-volume”</code> property</h3> 406<pre class="programlisting"> “startup-min-volume” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre> 407<p>At startup the experimental AGC moves the microphone volume up to |startup_min_volume| if the current microphone volume is set too low. No effect if experimental-agc isn't enabled.</p> 408<p>Flags: Read / Write / Construct</p> 409<p>Allowed values: [12,255]</p> 410<p>Default value: 12</p> 411</div> 412<hr> 413<div class="refsect2"> 414<a name="GstWebrtcDsp--target-level-dbfs"></a><h3>The <code class="literal">“target-level-dbfs”</code> property</h3> 415<pre class="programlisting"> “target-level-dbfs” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre> 416<p>Sets the target peak |level| (or envelope) of the gain control in dBFS (decibels from digital full-scale).</p> 417<p>Flags: Read / Write / Construct</p> 418<p>Allowed values: [0,31]</p> 419<p>Default value: 3</p> 420</div> 421<hr> 422<div class="refsect2"> 423<a name="GstWebrtcDsp--voice-detection"></a><h3>The <code class="literal">“voice-detection”</code> property</h3> 424<pre class="programlisting"> “voice-detection” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> 425<p>Enable or disable the voice activity detector.</p> 426<p>Flags: Read / Write / Construct</p> 427<p>Default value: FALSE</p> 428</div> 429<hr> 430<div class="refsect2"> 431<a name="GstWebrtcDsp--voice-detection-frame-size-ms"></a><h3>The <code class="literal">“voice-detection-frame-size-ms”</code> property</h3> 432<pre class="programlisting"> “voice-detection-frame-size-ms” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre> 433<p>Sets the |size| of the frames in ms on which the VAD will operate. Larger frames will improve detection accuracy, but reduce the frequency of updates.</p> 434<p>Flags: Read / Write / Construct</p> 435<p>Allowed values: [10,30]</p> 436<p>Default value: 10</p> 437</div> 438<hr> 439<div class="refsect2"> 440<a name="GstWebrtcDsp--voice-detection-likelihood"></a><h3>The <code class="literal">“voice-detection-likelihood”</code> property</h3> 441<pre class="programlisting"> “voice-detection-likelihood” <span class="type">GstWebrtcVoiceDetectionLikelihood</span></pre> 442<p>Specifies the likelihood that a frame will be declared to contain voice.</p> 443<p>Flags: Read / Write / Construct</p> 444<p>Default value: Low Likelihood</p> 445</div> 446</div> 447</div> 448<div class="footer"> 449<hr>Generated by GTK-Doc V1.28</div> 450</body> 451</html>