Concurrent User Error
Hello Everyone! I am developing a product everything was successful until i got the error that Server has reached its concurrent user limit. Is there any way to set concurrent_limit for peerjs. or any other way to implement this where there are no such limitations. Along with that kindly explain concurrent_limit error as why and when does this error occur. I'll be really grateful. looking forward for someone's cooperation. Any Sort of help will be appreciated Thank You Regards Kamran Durrani Project Coordinator
(I'm not the maintainer of the repo)
I experienced the same kind of error because the peerjs-server can (by default) only handle 5000 user at a time.
While this repo offers a free cloud-based peerjs-server by default, all the users of this lbirary might end up using it, which is why I think you are experiencing this issue.
You are better up hosting your own instance of peerjs-server in the cloud
https://github.com/peers/peerjs-server
Hi,
A simple solution is to setup your own peerjs signaling server (https://github.com/peers/peerjs-server) via Heroku https://elements.heroku.com/buttons/harshjv/peerjs-server.
Cordialement,