Closed imerkle closed 5 years ago
You can setup a dedicate peerjs server. https://github.com/peers/peerjs-server. I've used that successfully.
Eric.
@digitalgarage how did you achieve that? I am working on a similar project but after sending mediastream to remote peer, I cannot get that data
It's just server side logic to control how many users can connect to server using specific key
I want to implement a chat site but the limit is only 50 connection per API. What if there are thousands of users chatting INDIVIDUALLY with each other.
I have a workaround solution. I just want a review
User Alice - API KEY 1 (Its full) User Bob - API KEY 2 User Carol - API KEY 3 (Its full)
Now User Alice cannot connect User Bob . So User Alice has to create a peer in API KEY 2.
Also User Alice cannot connect User Carol and API KEY 3 is full , so Alice creates a peer in API KEY 4 and tells Carol to create a peer in API KEY 4 and they connect.
Is there an easy way around this solution ?