VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
eschmidbauer at gmail.com Guest
|
Posted: Mon Nov 02, 2020 9:13 am Post subject: [Freeswitch-users] use-vbr vs adjust-bitrate in opus.conf.xm |
|
|
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 |
|
Back to top |
|
|
dragos at freeswitch.org Guest
|
Posted: Mon Nov 02, 2020 1:19 pm Post subject: [Freeswitch-users] use-vbr vs adjust-bitrate in opus.conf.xm |
|
|
"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 (eschmidbauer@gmail.com)> wrote:
|
|
Back to top |
|
|
eschmidbauer at gmail.com Guest
|
Posted: Fri Nov 06, 2020 9:20 am Post subject: [Freeswitch-users] use-vbr vs adjust-bitrate in opus.conf.xm |
|
|
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 (dragos@freeswitch.org)> wrote:
|
|
Back to top |
|
|
dragos at freeswitch.org Guest
|
Posted: Fri Nov 06, 2020 11:16 am Post subject: [Freeswitch-users] use-vbr vs adjust-bitrate in opus.conf.xm |
|
|
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 (eschmidbauer@gmail.com)> wrote:
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|