It has nothing to do with RE-INVITE or SDP, it just increases/decreases the bitrate of the encoder dynamically based on a logic that takes into account an estimation of future loss and rtt and also sudden changes of these values - core tells the module what to do. Basically we try to make the difference between congestion and "slow link" and adjust the bitrate, we decrease slowly or we go to minimum bitrate. 


On Fri, Nov 6, 2020 at 4:01 PM E. Schmidbauer <eschmidbauer@gmail.com> wrote:
Thanks for the clarification!
I'm curious about the implementation of `adjust-bitrate` 
How does freeswitch actually adjust the bitrate of a live call? Does freeswitch send a RE-INVITE w/ SDP changes or some other way that I cannot think of?
Thanks,
Emmanuel


On Mon, Nov 2, 2020 at 1:49 PM Dragos Oancea <dragos@freeswitch.org> wrote:
"use-vbr" will configure the encoder in VBR mode - which is the opposite of CBR . This happens once during the call, when the encoder is initiated, and the payload for each packet will have different sizes based on the audio input.  "adjust-bitrate" enables a feature in FS that will pass certain information to the opus module during the call and the bitrate of the encoder will be modified based on packet loss / RTT .  

Dragos

On Mon, Nov 2, 2020 at 3:18 PM E. Schmidbauer <eschmidbauer@gmail.com> wrote:
in opus.conf.xml what is the difference between adjust-bitrate and use-vbr ?
doesn’t variable bit rate (vbr) adjust the bitrate? or do you need both enabled for that to actually work?
or do they contradict each other? 
Any info on this would be greatly appreciated and i would love to document the answer on confluence
https://freeswitch.org/confluence/display/FREESWITCH/mod_opus
_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com