iceServers: [{ urls: 'stun:stun.l.google.com:19302' }],
- https://github.com/mistweaverco/bananas/blob/623016aea330e61...It's P2P, but saying there's no server infrastructure is objectively wrong.
iceServers: [{ urls: 'stun:stun.l.google.com:19302' }],
- https://github.com/mistweaverco/bananas/blob/623016aea330e61...It's P2P, but saying there's no server infrastructure is objectively wrong.
As other users already stated, we need that to agree on connection details, but once that is done, the flow of your media data like audio, video and text is just between the two parties.
Also, you don't actually need NAT hole punching if you use fixed ports and port forwarding at the router level.
Even in p2p implementations that use kademlia, you need a way to figure out hole punching. In IPFS, while there is a decentralised hole punching method as an alternative to a centralised STUN server, it requires atleast one participant to not be behind a NAT, so for this purpose it's besides the point.
https://github.com/coturn/coturn
https://github.com/mycrl/turn-rs
Maybe there are some projects doing only stun - if that is enough?