Hi,
I am using PJSIP in an IPV6 only network and noticed that ICE is not using STUN candidates (Only host and relay). After looking at the code I noticed that the attribute stunTryIpv6 in PJSUA2 Endpoint is not taking effect. The reason is that the method tpPj does not take the value set by the application. I fixed it by adding it the method as shown below:
I added the line :
pua_cfg.stun_try_ipv6 = this->stunTryIpv6 ;
pua_cfg.stun_try_ipv6 = this->stunTryIpv6 ;
To the method:
pjsua_config UaConfig::toPj() const
In the File file endpoint.cpp
Note: the variable "stunIgnoreFailure" needs to be added too.
Thanks,
Imad
Imad
_______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org