chrome now requires longer ice password
This commit is contained in:
parent
b53a6c2b2e
commit
0d7b1ff42a
|
@ -4638,7 +4638,8 @@ static void gen_ice(switch_core_session_t *session, switch_media_type_t type, co
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!engine->ice_out.pwd) {
|
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);
|
engine->ice_out.pwd = switch_core_session_strdup(session, tmp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue