Commit 53b3e445 authored by Youness Alaoui's avatar Youness Alaoui Committed by Olivier Crête

Do not retransmit triggered checks if reliable transport

parent 4d90e7e1
...@@ -1908,7 +1908,7 @@ static gboolean priv_schedule_triggered_check (NiceAgent *agent, Stream *stream, ...@@ -1908,7 +1908,7 @@ static gboolean priv_schedule_triggered_check (NiceAgent *agent, Stream *stream,
nice_debug ("Agent %p : check already in progress, " nice_debug ("Agent %p : check already in progress, "
"restarting the timer again?: %s ..", agent, "restarting the timer again?: %s ..", agent,
p->timer_restarted ? "no" : "yes"); p->timer_restarted ? "no" : "yes");
if (!p->timer_restarted) { if (!nice_socket_is_reliable (p->sockptr) && !p->timer_restarted) {
stun_timer_start (&p->timer, STUN_TIMER_DEFAULT_TIMEOUT, stun_timer_start (&p->timer, STUN_TIMER_DEFAULT_TIMEOUT,
STUN_TIMER_DEFAULT_MAX_RETRANSMISSIONS); STUN_TIMER_DEFAULT_MAX_RETRANSMISSIONS);
p->timer_restarted = TRUE; p->timer_restarted = TRUE;
......
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