Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] use-vbr vs adjust-bitrate in opus.conf.xml


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
eschmidbauer at gmail.com
Guest





PostPosted: Mon Nov 02, 2020 9:13 am    Post subject: [Freeswitch-users] use-vbr vs adjust-bitrate in opus.conf.xm Reply with quote

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





PostPosted: Mon Nov 02, 2020 1:19 pm    Post subject: [Freeswitch-users] use-vbr vs adjust-bitrate in opus.conf.xm Reply with quote

"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:

Quote:
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 (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 (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
Back to top
eschmidbauer at gmail.com
Guest





PostPosted: Fri Nov 06, 2020 9:20 am    Post subject: [Freeswitch-users] use-vbr vs adjust-bitrate in opus.conf.xm Reply with quote

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:

Quote:
"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:

Quote:
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 (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 (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 (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 (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
Back to top
dragos at freeswitch.org
Guest





PostPosted: Fri Nov 06, 2020 11:16 am    Post subject: [Freeswitch-users] use-vbr vs adjust-bitrate in opus.conf.xm Reply with quote

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:

Quote:
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:

Quote:
"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:

Quote:
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 (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 (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 (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 (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 (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 (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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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

VoiceMeUp - Corporate & Wholesale VoIP Services