for (highest = 1;; highest++) {
gboolean taken = FALSE;
- g_snprintf (foundation, NICE_CANDIDATE_MAX_FOUNDATION, "%u", highest);
+ g_snprintf (foundation, NICE_CANDIDATE_MAX_FOUNDATION, "remote-%u",
+ highest);
for (i = component->remote_candidates; i; i = i->next) {
NiceCandidate *cand = i->data;
if (strncmp (foundation, cand->foundation,
if (component) {
next_remote_id = priv_highest_remote_foundation (component);
g_snprintf (candidate->foundation, NICE_CANDIDATE_MAX_FOUNDATION,
- "%u", next_remote_id);
+ "remote-%u", next_remote_id);
}
}