[Freeswitch-users] How to avoid transcoding?

Paul Zillmann mail at paulzillmann.de
Wed Nov 7 17:58:50 UTC 2018


Hello Ulrich,

take a look at 
https://freeswitch.org/confluence/display/FREESWITCH/Codec+Negotiation
The parameter "disable-transcoding" is for the early codec negotiation. 
But you want to have a late codec negotiation.

> /Note/: it is commonly misunderstood that this parameter disables the 
> transcoding capability in FS. That is wrong.
>
> This parameter just changes the outbound codec to match the one 
> negotiated on the inbound leg so that no transcoding will be required.
>
(Wiki Quote)

Also the codec list is a priority list. When you list PCMU first, it is 
chosen first.

- Paul

Am 07.11.18 um 13:55 schrieb Ulrich Backes:
>
> Hi guys,
>
> I've investigated many hours and cannot solve this problem:
> A and B should use g711u.
>
>
> A:
>
>
> B:
>
> But FreeSwitch decides to transcode:
>
>
> The settings:
> vars.xml
> <X-PRE-PROCESS cmd="set" data="media_mix_inbound_outbound_codecs=false"/>
> <X-PRE-PROCESS cmd="set" 
> data="global_codec_prefs=OPUS,G722,PCMU,PCMA,VP8"/>
>
> internal.xml
> <param name="inbound-codec-negotiation" value="greedy"/>
> <param name="inbound-late-negotiation" value="true"/>
> <param name="disable-transcoding" value="true"/>
>
> <param name="inbound-proxy-media" value="false"/>
> <param name="inbound-bypass-media" value="false"/>
> <param name="inbound-codec-prefs" value="$${global_codec_prefs}"/>
> <param name="outbound-codec-prefs" value="$${global_codec_prefs}"/>
>
> default.xml (Using the demo-Dialplan)
> <extension name="Local_Extension">
> ...
>
> Using FS v 1.8
>
> Thanks.
> Uli
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20181107/37f22660/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 3727 bytes
Desc: not available
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20181107/37f22660/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 6279 bytes
Desc: not available
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20181107/37f22660/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 104271 bytes
Desc: not available
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20181107/37f22660/attachment-0005.png>


More information about the FreeSWITCH-users mailing list