Use use-dtx setting from config in request to callee.
This commit is contained in:
parent
a1799bd2b2
commit
0641315ef6
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue