Skip to content
Snippets Groups Projects
Commit 60084863 authored by Guillaume Roguez's avatar Guillaume Roguez Committed by gerrit2
Browse files

ice: fix addReflectiveCandidate() with new PJNATH


addReflectiveCandidate is a hack of how PJNATH ICE transport work
and has made some assumptions only available on PJSIP 2.4.x.

PJNATH has changed of implementation when PJSIP 2.5.5 has been released
to support IPv6 addressing.

This bump to 2.5.5 invalids these assumptions causing some
nasty effects when addReflectiveCandidate is called (ex: UPnP).

This patch adapts the hack by a wonder-more-powerful hack.

It hacks the ICE transport STUN server array, that normally
filled by at leas one or two local host IP (as a local host is
seen as a local STUN server by PJNATH ICE transport layer).
This permits internal PJNATH implementation to be "happy".

-sorry

Change-Id: I38d133bd8891675251521e14916eeeaa557703f2
Reviewed-by: default avatarStepan Salenikovich <stepan.salenikovich@savoirfairelinux.com>
parent 730b9202
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment