mattkrick / fast-rtc-swarm

A full-mesh WebRTC swarm built on top of fast-rtc-peer
MIT License
107 stars 6 forks source link

[Question] Server implementation #10

Open 174n opened 4 years ago

174n commented 4 years ago

Can it work with a server that just relays the messages from one client to all others or does it need a specific server implementation?

aceslowman commented 3 years ago

I have the same question at the moment, looking at the reference project I can't seem to find out the details of what specifically needs to be done on the server.

ROBERT-MCDOWELL commented 3 years ago

I think you just need to manage it with peer IDs and make loops to send to each other when data is received.