提交 8d98bc27 authored 作者: doancea's avatar doancea 提交者: Anthony Minessale

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

上级 022fddbe
......@@ -490,8 +490,14 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_opus_load)
codec_interface->parse_fmtp = switch_opus_fmtp_parse;
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++) {
settings.ptime = mss / 1000;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论