Resort ICE checklist upon entering nomination stage (#2806)
This commit is contained in:
parent
661a8cef67
commit
328a6837cc
|
@ -3463,7 +3463,11 @@ static void handle_incoming_check(pj_ice_sess *ice,
|
|||
LOG4((ice->obj_name, "New triggered check added: %d",
|
||||
ice->clist.count));
|
||||
pj_log_push_indent();
|
||||
|
||||
perform_check(ice, &ice->clist, ice->clist.count++, nominate);
|
||||
/* Re-sort the list because of the newly added pair. */
|
||||
sort_checklist(ice, &ice->clist);
|
||||
|
||||
pj_log_pop_indent();
|
||||
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue