All peers enter the same router up to config.routerScaleSize. Then go to the next one, and keep going until all routers are filled up to config.routerScaleSize. After that simple put peers into routers with least peers.
This commit is contained in:
@@ -60,6 +60,8 @@ module.exports =
|
||||
// When truthy, the room will be open to all users when the first
|
||||
// authenticated user has already joined the room.
|
||||
activateOnHostJoin : true,
|
||||
// Room size before spreading to new router
|
||||
routerScaleSize : 20,
|
||||
// Mediasoup settings
|
||||
mediasoup :
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user