Use use-dtx setting from config in request to callee.

This commit is contained in:
Corey Burke 2015-10-02 08:13:05 -07:00
parent a1799bd2b2
commit 0641315ef6
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;
}