mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-05 02:34:18 +00:00
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…
x
Reference in New Issue
Block a user