Do not update a remote candidate's type
When adding a remote candidate, if it's the same ip:port, we should also check its type, otherwise it's a new candidate. We can't allow a candidate type to be updated. This caused issues to ikonst_ on IRC where for some reason a host candidate appeared as both host and prflx and the update caused a remote host candidate to be updated to prflx causing a crash when the sockptr was being accessed.
Showing
Please register or sign in to comment