libjuice
libjuice copied to clipboard
could libjuice support detect nat type in future ?
Why not, you can do that by setting up two STUN servers that resolve to different IPv4 addresses (this is important, don't Google's STUN server pool for instance), and gather candidates.
If you get two different server reflexive candidates, the NAT mapping is endpoint-dependent (what's sometimes still called a symmetric NAT), else it is probably endpoint-independent which means it should behave correctly with ICE (it corresponds to one of the cone NAT types in the deprecated naming convention, but you don't get more information about the filtering type).