pjsip / pjproject

PJSIP project
http://www.pjsip.org
GNU General Public License v2.0
2.07k stars 786 forks source link

Fixed assertion in ICE when trying to add candidate for disabled component #4171

Closed sauwming closed 3 days ago

sauwming commented 3 days ago

To fix #4167.

If an endpoint creates ICE with 2 components while remote only uses one, it may lead to an assertion when trying to add candidate for the disabled (i.e. second) component.

Also fix icedemo sample app.