From 95a8efb174bfa580617af8eac1da551c1d6590d1 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 20 Jan 2015 20:21:18 -0500 Subject: [PATCH] up the ice failover val to 3 sec --- src/switch_rtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_rtp.c b/src/switch_rtp.c index e4850bd135..0761948c5a 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -1128,7 +1128,7 @@ static void handle_ice(switch_rtp_t *rtp_session, switch_rtp_ice_t *ice, void *d if (switch_cmp_addr(from_addr, ice->addr)) { ice->last_ok = now; } else { - if (!ice->last_ok || (now - ice->last_ok) > 1000000) { + if (!ice->last_ok || (now - ice->last_ok) > 3000000) { hosts_set++; host = switch_get_addr(buf, sizeof(buf), from_addr); port = switch_sockaddr_get_port(from_addr);