4 ms·
For sending the audio from the speaker to Clubhouse, sure. What about the broadcast to all the listeners? Here the server is sending UDP packets to thousands o
by sudhirj 6y ago
For sending the audio from the speaker to Clubhouse, sure.
What about the broadcast to all the listeners? Here the server is sending UDP packets to thousands of clients? Not sure how NAT works with UDP incoming into the NAT - isn't UDP connection-less and there's no indication from the server side what the internal network layout is?
- spicyramen 6y agoYou use ICE/StUN servers to solve this.
- the-dude 6y agoThe trick to punching UDP through NAT is to make the client do an outbound transmission first. Now your NAT is keeping an eye on this port and will forward incoming packages to said client. And what the sibling says : all solved with STUN/TURN/ICE. This is decades old tech.