|
|
|
@ -1031,11 +1031,14 @@ static int __check_valid(struct ice_agent *ag) { |
|
|
|
|
|
|
|
mutex_lock(&ps->out_lock); |
|
|
|
if (memcmp(&ps->endpoint, &pair->remote_candidate->endpoint, sizeof(ps->endpoint))) { |
|
|
|
ilogs(ice, LOG_INFO, "ICE negotiated: peer for component %u is %s%s%s", ps->component, |
|
|
|
ilogs(ice, LOG_INFO, "ICE negotiated: new peer for component %u is %s%s%s", ps->component, |
|
|
|
FMT_M(endpoint_print_buf(&pair->remote_candidate->endpoint))); |
|
|
|
ps->endpoint = pair->remote_candidate->endpoint; |
|
|
|
PS_SET(ps, FILLED); |
|
|
|
} |
|
|
|
else |
|
|
|
ilogs(ice, LOG_INFO, "ICE negotiated: peer for component %u is %s%s%s", ps->component, |
|
|
|
FMT_M(endpoint_print_buf(&pair->remote_candidate->endpoint))); |
|
|
|
mutex_unlock(&ps->out_lock); |
|
|
|
|
|
|
|
for (m = ps->sfds.head; m; m = m->next) { |
|
|
|
|