Hacker News new | ask | show | jobs
by dgrin91 1587 days ago
It looks like Dino is built on top of XMPP. How can you be both XMPP and peer to peer? Doesn't XMPP mean there is a server in the middle (even if its not centralized)?
3 comments

The server is used to exchange connection information. The A/V call itsef is peer to peer (or relayed via TURN server if they cannot establish a direct connection).
In order to establish a peer to peer video call you need a signaling channel that both peers know about.
> Calls are end-to-end encrypted and use a direct connection between the peers whenever possible, but fallbacks are also in place.

I imagine this means the 2+ clients use XMPP to negotiate direct connections to one another that are better suited for audio/video streaming.