Commit 4e68244a authored by Philip Withnall's avatar Philip Withnall

conncheck: reorder the connection list when priorities are updated

The update of pairs priorities due to agent role change requires the
conncheck list to be reordered to reflect this modification.
Reviewed-by: default avatarOlivier Crête <olivier.crete@collabora.com>
Differential Revision: https://phabricator.freedesktop.org/D806
parent 0f1e6c64
......@@ -2274,6 +2274,8 @@ static void priv_recalculate_pair_priorities (NiceAgent *agent)
CandidateCheckPair *p = j->data;
p->priority = agent_candidate_pair_priority (agent, p->local, p->remote);
}
stream->conncheck_list = g_slist_sort (stream->conncheck_list,
(GCompareFunc)conn_check_compare);
}
}
......
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