提交 190b3187 authored 作者: Anthony Minessale's avatar Anthony Minessale

fix auto-select of wan.auto when no candidates defined

上级 01e411c2
...@@ -1853,7 +1853,6 @@ static void check_ice(switch_media_handle_t *smh, switch_media_type_t type, sdp_ ...@@ -1853,7 +1853,6 @@ static void check_ice(switch_media_handle_t *smh, switch_media_type_t type, sdp_
if (!engine->cand_acl_count) { if (!engine->cand_acl_count) {
engine->cand_acl[engine->cand_acl_count++] = "wan.auto"; engine->cand_acl[engine->cand_acl_count++] = "wan.auto";
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(smh->session), SWITCH_LOG_WARNING, "NO candidate ACL defined, Defaulting to wan.auto\n"); switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(smh->session), SWITCH_LOG_WARNING, "NO candidate ACL defined, Defaulting to wan.auto\n");
goto end;
} }
...@@ -1969,8 +1968,6 @@ static void check_ice(switch_media_handle_t *smh, switch_media_type_t type, sdp_ ...@@ -1969,8 +1968,6 @@ static void check_ice(switch_media_handle_t *smh, switch_media_type_t type, sdp_
} }
end:
if (!got_rtcp_mux) { if (!got_rtcp_mux) {
engine->rtcp_mux = -1; engine->rtcp_mux = -1;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论