chrome now requires longer ice password

This commit is contained in:
Anthony Minessale 2014-05-29 15:46:31 -04:00 committed by Ken Rice
parent db4d062318
commit 8f5c321714
1 changed files with 2 additions and 1 deletions

View File

@ -4638,7 +4638,8 @@ static void gen_ice(switch_core_session_t *session, switch_media_type_t type, co
}
if (!engine->ice_out.pwd) {
switch_stun_random_string(tmp, 16, NULL);
switch_stun_random_string(tmp, 24, NULL);
tmp[24] = '\0';
engine->ice_out.pwd = switch_core_session_strdup(session, tmp);
}