Open prayagsingh opened 4 years ago
I found below solution but I'm not sure If I need to add a custom lua file in case of docker too and where to add the mapping?
Using below script to allow jibri to start recording when moderator sets meeting password.
mod_allow_jibri_bypass.lua
local MUC_NS = "http://jabber.org/protocol/muc";
local jid = require "util.jid";
local jibri_user = os.getenv("JIBRI_RECORDER_USER")
local jibri_domain = os.getenv("XMPP_RECORDER_DOMAIN")
module:hook("muc-occupant-pre-join", function (event)
local room, stanza = event.room, event.stanza;
local user, domain, res = jid.split(event.stanza.attr.from);
log("info", "--------------> user %s domain %s res %s pass %s", tostring(user),tostring(domain),tostring(res),tostring(room:get_password()));
if ( user == jibri_user and domain == jibri_domain ) then
local join = stanza:get_child("x", MUC_NS);
join:tag("password", { xmlns = MUC_NS }):text(room:get_password());
end;
end);
Copy above mod
file to prosody-plugins-custom
directory.
Enable it in prosody/defaults/conf.d/jitsi-meet.cfg.lua
@saghul Is this issue fixed in latest release?
I think it isn't.
I think is is now @prayagsingh
Sure I'll check it. Actually, I switched to JWT auth hence never checked it.
Unable to start the recording if a meeting password is set. Recording stopped with an error javascript error: The timeout for the confirmation about leaving the room expired.
logs