提交 43a5af7d authored 作者: Moises Silva's avatar Moises Silva

mod_sangoma_codec: Update max ms loop limit

上级 16c23f78
...@@ -1269,10 +1269,10 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_sangoma_codec_load) ...@@ -1269,10 +1269,10 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_sangoma_codec_load)
* At this point there is an empty shell codec interface registered, but not yet implementations */ * At this point there is an empty shell codec interface registered, but not yet implementations */
SWITCH_ADD_CODEC(codec_interface, g_codec_map[c].fs_name); SWITCH_ADD_CODEC(codec_interface, g_codec_map[c].fs_name);
/* Now add as many codec implementations as needed, just up to 40ms for now */ /* Now add as many codec implementations as needed, just up to 200ms for now */
if (g_codec_map[c].autoinit) { if (g_codec_map[c].autoinit) {
int ms = 0; int ms = 0;
for (i = 1; i <= 4; i++) { for (i = 1; i <= 20; i++) {
ms = i * 10; ms = i * 10;
if (g_codec_map[c].maxms < ms) { if (g_codec_map[c].maxms < ms) {
break; break;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论