From 53b3e4457efad8a954883686dbcde367780afbed Mon Sep 17 00:00:00 2001 From: Youness Alaoui Date: Wed, 16 Apr 2014 18:49:25 -0400 Subject: [PATCH] Do not retransmit triggered checks if reliable transport --- agent/conncheck.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.7.4