summaryrefslogtreecommitdiff
path: root/agent/agent-priv.h
diff options
context:
space:
mode:
authorJakub Adam <jakub.adam@collabora.com>2019-01-09 10:29:17 +0100
committerOlivier CrĂȘte <olivier.crete@ocrete.ca>2019-03-08 14:41:30 +0000
commita6112cec215b7d6f699950a0631b8e6f81f83f18 (patch)
tree6e8dc507ea7807cdad308546318146222efff9ab /agent/agent-priv.h
parent14b27084913aa2036cb5b282aaf80df5ea6a6d12 (diff)
downloadlibnice-a6112cec215b7d6f699950a0631b8e6f81f83f18.tar.gz
agent: trickle ICE mode
In this mode, activated by setting "ice-trickle" property of a NiceAgent to TRUE, a component without a successful connectivity check will wait indefinitely for more remote candidates to come. nice_agent_peer_candidate_gathering_done() must be called after receiving the last remote candidate for the component to finally change its state to NICE_COMPONENT_STATE_FAILED.
Diffstat (limited to 'agent/agent-priv.h')
-rw-r--r--agent/agent-priv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/agent/agent-priv.h b/agent/agent-priv.h
index a942812..a38aa23 100644
--- a/agent/agent-priv.h
+++ b/agent/agent-priv.h
@@ -190,6 +190,7 @@ struct _NiceAgent
guint16 rfc4571_expecting_length;
gboolean use_ice_udp;
gboolean use_ice_tcp;
+ gboolean use_ice_trickle;
guint conncheck_timer_grace_period; /* ongoing delay before timer stop */
gboolean controlling_mode; /* controlling mode used by the