I remember at one point reading about webrtc and some kind of "introducer" server that would start the peer-to-peer connections between clients.
Does wormhole try something like that before acting as a relay?
Does wormhole try something like that before acting as a relay?
We don't have that yet, but the two sides attempt direct connections first (to all the private addresses they can find, which will include a public address if they aren't behind NAT). They both wait a couple of seconds before trying the relay, and the first successful negotiation wins, so in most cases it will use a direct connection if at all possible.