Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.1k views
in Technique[技术] by (71.8m points)

webrtc - currently in the P2P field, only using STUN (not use Turn Server) hole punching success rate is what?

I would appreciate you did a great job here, if you could help me answer the following questions:

  1. In the case of large scale and various NAT type devices, currently in the open source code field, only using STUN (not use Turn Server) punching success rate is what?

  2. In addition, is there any way to increase the success rate of hole punching to 99% In the case of stun only(not turn)? E.g. port prediction

  3. If there has turn server, whether can make the success rate of the hole punching reach to 99.99% above?

Thanks to anyone who can give me an idea for any question!

question from:https://stackoverflow.com/questions/65854775/currently-in-the-p2p-field-only-using-stun-not-use-turn-server-hole-punching

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

As for NAT types, we always means the four types(also named as NAPT): Full Cone, Restrict, Port Restrict, Symmetric. For Symmetric NAT, it's relatively hard to do hole pounch. For the other three types STUN can solve them easily. So it's hard to say the success rate for all of them.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...