FS-7462: fix FMTP in the INVITE - make it use values from opus.conf.xml

This commit is contained in:
doancea authored and Anthony Minessale committed 2015-06-01 12:45:19 -05:00
1 parent 022fddbe6a
commit 8d98bc27ef
1 file changed
+6
+6
View File
@@ -491,6 +491,12 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_opus_load)
settings = default_codec_settings; settings = default_codec_settings;
if (opus_prefs.maxaveragebitrate){
settings.maxaveragebitrate = opus_prefs.maxaveragebitrate;
}
if (opus_prefs.maxplaybackrate) {
settings.maxplaybackrate = opus_prefs.maxplaybackrate;
}
for (x = 0; x < 3; x++) { for (x = 0; x < 3; x++) {