z5labs / chatio

A Peer to Peer Audio/Video PWA Client
https://z5labs.github.io/chatio
6 stars 3 forks source link

perf(p2p): unique protocol pitfalls #25

Open Zaba505 opened 3 years ago

Zaba505 commented 3 years ago

Having a unique protocol per call requires peer discovery to try and dial everyone until a match is found. For very large networks this could be an issue.

Zaba505 commented 3 years ago

Leveraging multiple protocols, one for chat and other(s) for a/v, could help solve this issue. Chat could be wide open and used for pubsub while a/v would be unique