From: Youness Alaoui Date: Wed, 16 Apr 2014 22:49:25 +0000 (-0400) Subject: Do not retransmit triggered checks if reliable transport X-Git-Tag: 0.1.8~191 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=53b3e4457efad8a954883686dbcde367780afbed;p=platform%2Fupstream%2Flibnice.git Do not retransmit triggered checks if reliable transport --- diff --git a/agent/conncheck.c b/agent/conncheck.c index c07f2b3..c0cb307 100644 --- a/agent/conncheck.c +++ b/agent/conncheck.c @@ -1908,7 +1908,7 @@ static gboolean priv_schedule_triggered_check (NiceAgent *agent, Stream *stream, nice_debug ("Agent %p : check already in progress, " "restarting the timer again?: %s ..", agent, 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_DEFAULT_MAX_RETRANSMISSIONS); p->timer_restarted = TRUE;