/** Eliminating Redundant Candidates */ void icem_cand_redund_elim(struct icem *icem) { uint32_t n = ice_list_unique(&icem->lcandl, unique_handler); if (n > 0) { DEBUG_NOTICE("%s: redundant candidates eliminated: %u\n", icem->name, n); } }
/** * Eliminating Redundant Candidates * * @param icem ICE Media object */ void icem_cand_redund_elim(struct icem *icem) { uint32_t n; n = ice_list_unique(&icem->lcandl, unique_handler); if (n > 0) { icem_printf(icem, "redundant candidates eliminated: %u\n", n); } }
/** * Pruning the Pairs */ static void candpair_prune(struct icem *icem) { /* The agent MUST prune the list. This is done by removing a pair if its local and remote candidates are identical to the local and remote candidates of a pair higher up on the priority list. NOTE: This logic assumes the list is sorted by priority */ uint32_t n = ice_list_unique(&icem->checkl, unique_handler); if (n > 0) { DEBUG_NOTICE("%s: pruned candidate pairs: %u\n", icem->name, n); } }