Create Webrtc Server

Do I have to create “ONE” WebRTC server for all routers within a worker or multiple WebRTC server as equal as router within a worker ?

Have to pass webrtc server as a option while creating transport

My understanding is that you must create a WebRtcServer for each Worker, and it should be created simultaneously with the Worker. Creating a transport is done as needed during a call.

1 Like

What do you mean by WebRTC server exactly ?
The WebRTC part is bound to your machine’s computing capability. So if the current server becomes insufficient it might be a good idea to redeploy the application on a different machine and use some kind of mechanism to load-balance.

Additionally the documentation features a “scalability” section which explains that you can have multiple routers per room if needed