Commit d89711fc authored by Youness Alaoui's avatar Youness Alaoui

there is no pair pruning on non id19 compatibility

parent 84674be7
......@@ -900,7 +900,8 @@ int conn_check_add_for_candidate (NiceAgent *agent, guint stream_id, Component *
/* note: do not create pairs where local candidate is
* a srv-reflexive (ICE 5.7.3. "Pruning the Pairs" ID-19) */
if (local->type == NICE_CANDIDATE_TYPE_SERVER_REFLEXIVE)
if (agent->compatibility == NICE_COMPATIBILITY_ID19 &&
local->type == NICE_CANDIDATE_TYPE_SERVER_REFLEXIVE)
continue;
result = priv_add_new_check_pair (agent, stream_id, component, local, remote, NICE_CHECK_FROZEN, FALSE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment