4 ms·
Is WebRTC really peer-to-peer if you need a server?
by choward 7y ago
Is WebRTC really peer-to-peer if you need a server?
- k__ 7y agoThe server is for convenience. If you can handle signaling in another way, you're free to do so. When I played around with WebRTC the first time, I did it by copying the signaling data via TextAreas and WhatsApp.
- root_axis 7y agoAs another commenter points out you can signal however you like, but even if a signaling server was required, it'd still be peer to peer since peer to peer accurately describes how the packets are routed over the network.
- kodablah 7y agoA while back I wrote a screen sharer that uses WebRTC and Gun.js for signaling [0]. Nowadays you could use IPFS's JS lib to do this (or webtorrent even). Now if both people are behind a restrictive NAT or something, you do need a TURN server. 0 - https://myscreen.live https://myscreen.live
- Spivak 7y agoI wish the FUD about UPnP would finally calm down so we can finally have at least some P2P connections without the need for a rendezvous sever.