Commit c7b3b581 authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Clean ICE remote candidates in the media description when sending re-invite after an ICE restart.

parent 8c02cac3
......@@ -795,6 +795,11 @@ void linphone_core_update_local_media_description_from_ice(SalMediaDescription *
} else {
ms_error("ice: Selected valid remote candidates should be present if the check list is in the Completed state");
}
} else {
for (j = 0; j < SAL_MEDIA_DESCRIPTION_MAX_ICE_REMOTE_CANDIDATES; j++) {
stream->ice_remote_candidates[j].addr[0] = '\0';
stream->ice_remote_candidates[j].port = 0;
}
}
}
}
......
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