Set a maximum number of participant

I found many post about the maximum number of user on a jitsi instance, but only one was asking how to set it: [jitsi-users] maximum participant per room

Since it’s quite old and archived, I wondered if it was possible (in my case I would like to limit it to two people).

Thanks!

1 Like

You need to enable https://github.com/jitsi/jitsi-meet/blob/master/resources/prosody-plugins/mod_muc_max_occupants.lua

i made it to work, what you need:

  • prosody version: 11.0
  • correct the below line in mod_muc_max_occupants.lua
    local whitelist = module:get_option_set("muc_access_whitelist",{});
  • add the below lines in domain.cfg.lua
    Component “conference.domain” “muc”
    storage = “memory”
    muc_max_occupants = 3
    modules_enabled = {
    “muc_meeting_id”;
    “muc_domain_mapper”;
    "muc_max_occupants";
    – “token_verification”;
    }