projects
/
platform
/
upstream
/
libnice.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d90e7e
)
Do not retransmit triggered checks if reliable transport
author
Youness Alaoui
<youness.alaoui@collabora.co.uk>
Wed, 16 Apr 2014 22:49:25 +0000
(18:49 -0400)
committer
Olivier CrĂȘte
<olivier.crete@collabora.com>
Sat, 17 May 2014 04:22:36 +0000
(
00:22
-0400)
agent/conncheck.c
patch
|
blob
|
history
diff --git
a/agent/conncheck.c
b/agent/conncheck.c
index
c07f2b3
..
c0cb307
100644
(file)
--- 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;