I know we can limit the number of participants in a conference with https://github.com/jitsi/jitsi-meet/blob/master/resources/prosody-plugins/mod_muc_max_occupants.lua but that assumes we have enabled authentication right?
I presume each user must authenticate before joining a conference, but what about non-authenticated guest users, does the mod_muc_max_occupants.lua module also count them towards the max number allowed?
Is it possible to limit the participants even when secure domain/authentication is not enabled?
No, this module just counts the number of participants in the room. Authentication does not matter.
Thanks for the quick reply @damencho
Hi, I will try to use the module muc_max_occupants but I want to fetch some data from a url before. I am trying to use:
local https = require(“ssl.https”)
local body, code, headers, status = https.request(“https://www.google.com”)
but it’s not working.
It throw an error related to the ‘require’ statement.
Hi @damencho ! I appreciated a lot your help.
I am trying to understand how messages are sent to the front-end. I wrote this code:
return origin.send(st.error_reply(stanza, "cancel", "service-unavailable", "My message here"));
but it does not work as I expect, showing “My message here” in the browser.
The message showed is “Maximum participants limit reached”.
Where I can find what events are supported like “cancel” or “service-unavaiable”, I did a research but the only information I found was https://prosody.im/doc/developers/moduleapi#events ?
With token, is possible make this limit?
This is not based on token but a prosody config and does not depend on authentication.