4 ms·
For physically local use: You could turn the session initiation tokens into QR codes and show them to each other For P2P over the broader internet: Either use
by the8472 2y ago
For physically local use: You could turn the session initiation tokens into QR codes and show them to each other
For P2P over the broader internet: Either use another channel to convey the token or use a native application that can speak UDP/TCP to do actual distributed P2P transfers.
- kelnos 2y agoFor the broader internet case, you'll probably still be dealing with NATs between both devices, so you'll need a centralized STUN (or even TURN) server to hole-punch (or relay).
- the8472 2y agoDepends on your goals, bittorrent does without STUN servers by coordinating over other peers in the network. Time-based coordination and simultanous-open is another strategy.. And there's IPv6. Local peer-to-peer wifi can probably use multicast for discovery. The situation isn't pretty, but there's more than what WebRTC with its single-use sessions offers.