提交 8f5c3217 authored 作者: Anthony Minessale's avatar Anthony Minessale 提交者: Ken Rice

chrome now requires longer ice password

上级 db4d0623
...@@ -4638,7 +4638,8 @@ static void gen_ice(switch_core_session_t *session, switch_media_type_t type, co ...@@ -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);
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论