Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
Migrate to using mucs for jvb.
damenchod9282f873c7b
diff --git a/debian/jitsi-meet-prosody.postinst b/debian/jitsi-meet-prosody.postinstindex 0bd621d9b9..bb7951f974 100644--- a/debian/jitsi-meet-prosody.postinst+++ b/debian/jitsi-meet-prosody.postinst@@ -95,7 +95,6 @@ case "$1" inmkdir -p /etc/prosody/conf.d/cp /usr/share/jitsi-meet-prosody/prosody.cfg.lua-jvb.example $PROSODY_HOST_CONFIGsed -i "s/jitmeet.example.com/$JVB_HOSTNAME/g" $PROSODY_HOST_CONFIG- sed -i "s/jitmeetSecret/$JVB_SECRET/g" $PROSODY_HOST_CONFIGsed -i "s/focusSecret/$JICOFO_SECRET/g" $PROSODY_HOST_CONFIGsed -i "s/focusUser/$JICOFO_AUTH_USER/g" $PROSODY_HOST_CONFIGif [ ! -f /etc/prosody/conf.d/$JVB_HOSTNAME.cfg.lua ]; then@@ -116,6 +115,18 @@ case "$1" inPROSODY_CONFIG_PRESENT="false"fi+ # we always try to create the user 'jvb' and not fail configure if user exists+ prosodyctl register jvb $JICOFO_AUTH_DOMAIN $JVB_SECRET || true++ # Check whether prosody config has the internal muc, if not add it,+ # as we are migrating configs+ if ! grep -q "internal.auth.$JVB_HOSTNAME" $PROSODY_HOST_CONFIG; then+ echo -e "\nComponent \"internal.auth.$JVB_HOSTNAME\" \"muc\"" >> $PROSODY_HOST_CONFIG+ echo -e " storage = \"null\"" >> $PROSODY_HOST_CONFIG+ echo -e " modules_enabled = { \"ping\"; }" >> $PROSODY_HOST_CONFIG+ echo -e " admins = { \"[email protected]\", \"[email protected]\" }" >> $PROSODY_HOST_CONFIG+ fi+if [ ! -f /var/lib/prosody/$JVB_HOSTNAME.crt ]; then# prosodyctl takes care for the permissions# echo for using all default valuesdiff --git a/doc/debian/jitsi-meet-prosody/prosody.cfg.lua-jvb.example b/doc/debian/jitsi-meet-prosody/prosody.cfg.lua-jvb.exampleindex 80e0317fac..e4af1c5bf6 100644--- a/doc/debian/jitsi-meet-prosody/prosody.cfg.lua-jvb.example+++ b/doc/debian/jitsi-meet-prosody/prosody.cfg.lua-jvb.example@@ -35,10 +35,15 @@ Component "conference.jitmeet.example.com" "muc""muc_domain_mapper";-- "token_verification";}-admins = { "[email protected]" }+ admins = { "[email protected]" }-Component "jitsi-videobridge.jitmeet.example.com"- component_secret = "jitmeetSecret"+-- internal muc component+Component "internal.auth.jitmeet.example.com" "muc"+ storage = "null"+ modules_enabled = {+ "ping";+ }+ admins = { "[email protected]", "[email protected]" }VirtualHost "auth.jitmeet.example.com"authentication = "internal_plain"