diff options
author | Fabrice Bellet <fabrice@bellet.info> | 2016-04-19 13:12:48 +0200 |
---|---|---|
committer | Fabrice Bellet <fabrice@bellet.info> | 2017-06-12 17:55:45 +0200 |
commit | 0636f9addc041cf93c4ff4eaa351b1768d48a32e (patch) | |
tree | 867a195da2be5645d6615464c1f69a8f0a786d47 /docs | |
parent | a602ff57aae6a6afdeab843954c48e6fb5d82d31 (diff) | |
download | libnice-0636f9addc041cf93c4ff4eaa351b1768d48a32e.tar.gz |
conncheck: implement ice regular nomination method
This patch implements Regular Nomation as described in RFC5245
8.1.1.1. The controlling agent lets valid pairs accumulate, and
decides which pair to recheck with the use-candidate attribute set.
priv_mark_pair_nominated() follows 7.2.1.5, to update the nominated
pair when acting as a STUN server, and
priv_map_reply_to_conn_check_request() implements 7.1.3.2.4 to
update the nominated pair when acting as a STUN client. A new
property is also added to the agent to control the nomination
mode, which can be regular of aggressive, with default value
set to aggressive.
Two new flags are introduced in the CandidateCheckPair structure:
- use_candidate_on_next_check indicates the STUN client to add the
use-candidate attribute when the pair will be checked. At this
time, the nominated flag has not been set on this pair yet.
- mark_nominated_on_response_arrival indicates the STUN server
to nominate the pair when its succesfull response to a
previous triggered check will arrive (7.2.1.5, item #2)
Differential Revision: https://phabricator.freedesktop.org/D811
Diffstat (limited to 'docs')
-rw-r--r-- | docs/reference/libnice/libnice-sections.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/reference/libnice/libnice-sections.txt b/docs/reference/libnice/libnice-sections.txt index 88a6cd2..a481106 100644 --- a/docs/reference/libnice/libnice-sections.txt +++ b/docs/reference/libnice/libnice-sections.txt @@ -5,6 +5,7 @@ NiceAgent NiceComponentState NiceComponentType NiceProxyType +NiceNominationMode NiceCompatibility NiceAgentRecvFunc NiceInputMessage @@ -12,6 +13,7 @@ NiceOutputMessage NICE_AGENT_MAX_REMOTE_CANDIDATES nice_agent_new nice_agent_new_reliable +nice_agent_new_full nice_agent_add_local_address nice_agent_set_port_range nice_agent_add_stream |