]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
up the ice failover val to 3 sec
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 21 Jan 2015 01:21:18 +0000 (20:21 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 21 Jan 2015 07:21:31 +0000 (01:21 -0600)
src/switch_rtp.c

index e4850bd13500437ffba20f9800c71594aa8b85a1..0761948c5a7a235ff3cbdc05c06a09e3e022f60f 100644 (file)
@@ -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);