mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-25 19:25:44 +00:00
up the ice failover val to 3 sec
This commit is contained in:
parent
b74448462d
commit
95a8efb174
@ -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)) {
|
if (switch_cmp_addr(from_addr, ice->addr)) {
|
||||||
ice->last_ok = now;
|
ice->last_ok = now;
|
||||||
} else {
|
} else {
|
||||||
if (!ice->last_ok || (now - ice->last_ok) > 1000000) {
|
if (!ice->last_ok || (now - ice->last_ok) > 3000000) {
|
||||||
hosts_set++;
|
hosts_set++;
|
||||||
host = switch_get_addr(buf, sizeof(buf), from_addr);
|
host = switch_get_addr(buf, sizeof(buf), from_addr);
|
||||||
port = switch_sockaddr_get_port(from_addr);
|
port = switch_sockaddr_get_port(from_addr);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user