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

This commit is contained in:
Anthony Minessale 2013-02-11 21:25:54 -06:00
parent 01e411c2d7
commit 190b31871d
1 changed files with 0 additions and 3 deletions

View File

@ -1853,7 +1853,6 @@ static void check_ice(switch_media_handle_t *smh, switch_media_type_t type, sdp_
if (!engine->cand_acl_count) {
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");
goto end;
}
@ -1969,8 +1968,6 @@ static void check_ice(switch_media_handle_t *smh, switch_media_type_t type, sdp_
}
end:
if (!got_rtcp_mux) {
engine->rtcp_mux = -1;
}