From: Anthony Minessale Date: Thu, 29 May 2014 19:46:31 +0000 (-0400) Subject: chrome now requires longer ice password X-Git-Tag: v1.4.6~1^2~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d7b1ff42a47e982ff668bf5c1531813af7d2264;p=thirdparty%2Ffreeswitch.git chrome now requires longer ice password --- diff --git a/src/switch_core_media.c b/src/switch_core_media.c index 6c4aab089d..2c4da7c4cd 100644 --- a/src/switch_core_media.c +++ b/src/switch_core_media.c @@ -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); }