Merge pull request #534 in FS/freeswitch from ~COREY BURKE/freeswitch:bugfix/FS-8284-opus-asks-callee-to-use-dtx-even to master

* commit '0641315ef6dd8c612de1c7ffac06df6473ec2e4f':
  Use use-dtx setting from config in request to callee.
This commit is contained in:
Brian West 2015-10-02 10:33:46 -05:00
commit 60d04cb477
1 changed files with 2 additions and 0 deletions

View File

@ -1055,6 +1055,8 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_opus_load)
settings = default_codec_settings;
settings.usedtx = opus_prefs.use_dtx;
if (opus_prefs.maxaveragebitrate) {
settings.maxaveragebitrate = opus_prefs.maxaveragebitrate;
}