I've having an increasing number of people asking me for a "p2p" solution for WebTransport. As I've investigated why, and I have found that some people want to run a client/server pair on a common network (where using mDNS for discovery, like WebRTC does, could make sense), and others are running a server behind a NAT, and the easiest solution for them is to use p2p tech like ICE, but other NAT traversal technique may work (for example NAT-PMP or UPnP).
Meanwhile, there is a lot of discussion in the IETF about NAT traversal and p2p QUIC, even without ICE.
What should our approach be for WebTransport on these fronts that are "p2p"?
I wonder are mDNS addresses extracted from WebRTC usable in other web platform APIs already? If user agents support this already then could this be polyfilled?
I've having an increasing number of people asking me for a "p2p" solution for WebTransport. As I've investigated why, and I have found that some people want to run a client/server pair on a common network (where using mDNS for discovery, like WebRTC does, could make sense), and others are running a server behind a NAT, and the easiest solution for them is to use p2p tech like ICE, but other NAT traversal technique may work (for example NAT-PMP or UPnP).
Meanwhile, there is a lot of discussion in the IETF about NAT traversal and p2p QUIC, even without ICE.
What should our approach be for WebTransport on these fronts that are "p2p"?