Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

could libjuice support detect nat type in future ? #69

Open
remainfox opened this issue Dec 28, 2020 · 1 comment
Open

could libjuice support detect nat type in future ? #69

remainfox opened this issue Dec 28, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@remainfox
Copy link

No description provided.

@paullouisageneau
Copy link
Owner

paullouisageneau commented Dec 28, 2020

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).

@paullouisageneau paullouisageneau added the enhancement New feature or request label Dec 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants