Side note, opening at the different rate I believe just makes the opus library do the re sampling instead of FreeSWITCH.<span></span><br><br>On Sunday, May 31, 2015, Julien Chavanton &lt;<a href="mailto:jchavanton@gmail.com">jchavanton@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Emrah,<br><div><br>The settings exist but they are not available from the <span>dialplan</span>, right now they can only be set globally .<br>https://<span>freeswitch</span>.org/confluence/display/<span>FREESWITCH</span>/mod_opus<br><br>You can control the bandwidth using <span>maxplaybackrate</span> and <span>maxplaybackrate</span> this will control the local encoder and also adds the corresponding <span>FMTP</span> parameters to the <span>SDP</span> to be used by the remote encoder (if it does implement the following draft, the draft is evolving but I think it as not changed)<br><br><a href="https://tools" target="_blank">https://tools</a>.<span>ietf</span>.org/html/draft-<span>ietf</span>-payload-<span>rtp</span>-opus-11<br><br>Maybe something like :<br><br><span>maxaveragebitrate</span> 24000<br><span>maxplaybackrate</span> 8000<br><br>The discussion was getting slightly more complicated when we where discussing about unnecessary <span>resampling</span> this was not a problem but it was just adding extra load on the server.<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, May 31, 2015 at 6:09 AM, Emrah <span dir="ltr">&lt;<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;lists@kavun.ch&#39;);" target="_blank">lists@kavun.ch</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi list,<br>
<br>
I re-read FS6947 and don&#39;t understand how this problematic was addressed and the issue fixed.<br>
The scope is simple. There should be a setting in the dialplan that allows downsampling of Opus for applications that do not require the 48khz / 2 channels framework. I.e.: terminating to the PSTN with Opus to take advantage of low bandwidth and great PLC.<br>
There seems to be a lot of confusion around bandwidth in general there. It doesn&#39;t matter if the internal clock of the device is always sampling at 48khz / 2ch. There are settings that can facilitate a lower bandwidth consumption for particular use cases, and it seems the reason it is not being implemented in FS is just a matter of being confused about the intent of the 48khz 2ch base.<br>
Please revisit this issue. FS should allow tuning of Opus audio / network bandwidth in the dialplan. It would optimize greatly lots of use cases.<br>
If I&#39;m calling the PSTN, I&#39;d rather have my client downsample and stream at a lower bandwidth, even if my audio capture would still be at 48khz / 2ch as per the RFC, and save on bandwidth, than transcode the full 48khz spectrum into PCM on my FS and minimize processing power on the client&#39;s side.<br>
<br>
Jira here: <a href="https://freeswitch.org/jira/browse/FS-6947" target="_blank">https://freeswitch.org/jira/browse/FS-6947</a><br>
<br>
Emrah<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;consulting@freeswitch.org&#39;);" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;FreeSWITCH-users@lists.freeswitch.org&#39;);" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br></div>
</blockquote>