diff options
author | Youness Alaoui <youness.alaoui@collabora.co.uk> | 2014-04-16 18:49:25 -0400 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2014-05-17 00:22:36 -0400 |
commit | 53b3e4457efad8a954883686dbcde367780afbed (patch) | |
tree | b203e6e5e2f45c53dae161fde6d172db2d018cd4 /agent/conncheck.c | |
parent | 4d90e7e1d8484af27ca83febbd67eaf8594d0326 (diff) | |
download | libnice-53b3e4457efad8a954883686dbcde367780afbed.tar.gz |
Do not retransmit triggered checks if reliable transport
Diffstat (limited to 'agent/conncheck.c')
-rw-r--r-- | agent/conncheck.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |