Commit aff08e49 authored by Fabrice Bellet's avatar Fabrice Bellet

discovery: set the initial timer delay to 100ms

With this patch we change the initial timer delay from 200ms to 100ms.
This is related to previous commit "stun timer: move back to 5
retransmissions". With 5 retransmissions and an initial timer delay
of 100ms, it gives 1900ms to discover the local candidates.
parent 14362bdd
......@@ -1075,7 +1075,7 @@ static gboolean priv_discovery_tick_unlocked (gpointer pointer)
stun_timer_start_reliable (&cand->timer,
STUN_TIMER_DEFAULT_RELIABLE_TIMEOUT);
} else {
stun_timer_start (&cand->timer, 200,
stun_timer_start (&cand->timer, 100,
STUN_TIMER_DEFAULT_MAX_RETRANSMISSIONS);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment