Commit 49987950 authored by Simon Morlat's avatar Simon Morlat
Browse files

Fix ICE issue where TURN valid pairs are erroneously nominated while there are...

Fix ICE issue where TURN valid pairs are erroneously nominated while there are valid host or reflexive pairs.
parent 332e2693
......@@ -3749,7 +3749,7 @@ static void ice_check_list_perform_nominations(IceCheckList *cl, bool_t nominati
}
if (valid_it){
valid_pair = (IceValidCandidatePair*) valid_it->data;
if (valid_pair->generated_from->remote->type == ICT_RelayedCandidate){
if (valid_pair->generated_from->remote->type == ICT_RelayedCandidate || valid_pair->generated_from->local->type == ICT_RelayedCandidate){
need_more_time = TRUE;
}
best_valid_list = bctbx_list_append(best_valid_list, valid_pair);
......
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