mozilla / janus-plugin-sfu

Janus plugin to act as a kind of SFU for game networking data.
Mozilla Public License 2.0
135 stars 40 forks source link

max_ccu setting is misleading #57

Closed jbaicoianu closed 3 years ago

jbaicoianu commented 4 years ago

From the naming and the comments in the config, max_ccu seems to imply that it's a user limit, when in reality it appears to be a session limit. Since number of sessions scale as (number of users)^2, the default limit of 1000 actually supports a much smaller number of users than expected.

vincentfretin commented 3 years ago

Yes, the (number of users)^2 is a nice info to have in the comment. We should change # If present, the maximum number of concurrent users allowed to join any room on the server. by # If present, the maximum number of concurrent sessions the server can support. The number of sessions in a room is (number of users)^2