diff options
author | Youness Alaoui <youness.alaoui@collabora.co.uk> | 2014-04-09 19:47:54 -0400 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@ocrete.ca> | 2014-05-15 09:44:00 -0400 |
commit | f8ed0188d5c640ec9caf4ad4e744a5e301b5d813 (patch) | |
tree | 6a65e1d5686c386d6fe0bb933838482d4c763aa5 /agent/conncheck.c | |
parent | 6263028ed29d87a44970f928914cb89dfa659604 (diff) | |
download | libnice-f8ed0188d5c640ec9caf4ad4e744a5e301b5d813.tar.gz |
Add support for MS-ICE2 candidate priorization for OC2007R2 compatibility
Diffstat (limited to 'agent/conncheck.c')
-rw-r--r-- | agent/conncheck.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/agent/conncheck.c b/agent/conncheck.c index c35a05d..a9ac439 100644 --- a/agent/conncheck.c +++ b/agent/conncheck.c @@ -1712,8 +1712,11 @@ int conn_check_send (NiceAgent *agent, CandidateCheckPair *pair) if (agent->compatibility == NICE_COMPATIBILITY_GOOGLE) { priority = nice_candidate_jingle_priority (candidate_priority); } else if (agent->compatibility == NICE_COMPATIBILITY_MSN || - agent->compatibility == NICE_COMPATIBILITY_OC2007) { + agent->compatibility == NICE_COMPATIBILITY_OC2007) { priority = nice_candidate_msn_priority (candidate_priority); + } else if (agent->compatibility == NICE_COMPATIBILITY_OC2007R2) { + priority = nice_candidate_ms_ice_priority (candidate_priority, + agent->reliable, FALSE); } else { priority = nice_candidate_ice_priority (candidate_priority, agent->reliable, FALSE); |