Have been testing the linphone-sdk in iOS (via the swift wrapper) for a possible project. I can setup the linphone core, proxy configuration and auth information to make registration happen, can make and answer calls.
But one thing I can't get to work for my life, is the nat traversal stuff, tried the NAT policy methods/objects on the Core and Proxy Configuration, but everything I do seems to have no effect whatsoever. Not with just STUN enabled, or TURN, OR ICE for that matter, tried several stun servers. Checking with Wireshark and see no STUN traffic in any situation I could think off to test. Here is just a snippet of the code I'm using: