fix auto-select of wan.auto when no candidates defined
This commit is contained in:
parent
01e411c2d7
commit
190b31871d
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue