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
Adds jicofo debian package integration.
paweldomasf749bed1ddd6
diff --git a/config.js b/config.jsindex 716c7c332b..f841efeee9 100644--- a/config.js+++ b/config.js@@ -13,7 +13,7 @@ var config = {useNicks: false,bosh: '//jitsi-meet.example.com/http-bind', // FIXME: use xep-0156 for thatclientNode: 'http://jitsi.org/jitsimeet', // The name of client node advertised in XEP-0115 'c' stanza- focusUserJid: '[email protected]', // The real JID of focus participant+ focusUserJid: '[email protected]', // The real JID of focus participant//defaultSipNumber: '', // Default SIP numberdesktopSharing: 'ext', // Desktop sharing method. Can be set to 'ext', 'webrtc' or false to disable.chromeExtensionId: 'diibjkoicjeejcmhdnailmkgecihlobk', // Id of desktop streamer Chrome extensiondiff --git a/debian/jitsi-meet-prosody.postinst b/debian/jitsi-meet-prosody.postinstindex 7cadc28974..427de235a5 100644--- a/debian/jitsi-meet-prosody.postinst+++ b/debian/jitsi-meet-prosody.postinst@@ -23,6 +23,8 @@ case "$1" in. /etc/jitsi/videobridge/config+ . /etc/jitsi/jicofo/config+# loading debconf. /usr/share/debconf/confmodule@@ -41,9 +43,25 @@ case "$1" incp /usr/share/doc/jitsi-meet-prosody/prosody.cfg.lua-jvb.example $PROSODY_HOST_CONFIGsed -i "s/jitmeet.example.com/$JVB_HOSTNAME/g" $PROSODY_HOST_CONFIGsed -i "s/jitmeetSecret/$JVB_SECRET/g" $PROSODY_HOST_CONFIG+ sed -i "s/focusSecret/$JICOFO_SECRET/g" $PROSODY_HOST_CONFIG+ sed -i "s/focusUser/$JICOFO_AUTH_USER/g" $PROSODY_HOST_CONFIGif [ ! -f /etc/prosody/conf.d/$JVB_HOSTNAME.cfg.lua ]; thenln -s $PROSODY_HOST_CONFIG /etc/prosody/conf.d/$JVB_HOSTNAME.cfg.luafi+ # create '[email protected]' prosody user+ # FIXME this duplicates with below+ prosodyctl register $JICOFO_AUTH_USER $JICOFO_AUTH_DOMAIN $JICOFO_AUTH_PASSWORD+ fi+ # on UPGRADE to server side focus check if focus is configured+ if [ -f $PROSODY_HOST_CONFIG ] && ! grep -q "VirtualHost \"auth.$JVB_HOSTNAME\"" $PROSODY_HOST_CONFIG; then+ echo -e "\nVirtualHost \"auth.$JVB_HOSTNAME\"" >> $PROSODY_HOST_CONFIG+ echo -e " authentication = \"internal_plain\"\n" >> $PROSODY_HOST_CONFIG+ echo -e "admins = { \"$JICOFO_AUTH_USER@auth.$JVB_HOSTNAME\" }\n" >> $PROSODY_HOST_CONFIG+ echo -e "Component \"focus.$JVB_HOSTNAME\"" >> $PROSODY_HOST_CONFIG+ echo -e " component_secret=\"$JICOFO_SECRET\"\n" >> $PROSODY_HOST_CONFIG+ # create '[email protected]' prosody user+ # FIXME this duplicates with above+ prosodyctl register $JICOFO_AUTH_USER $JICOFO_AUTH_DOMAIN $JICOFO_AUTH_PASSWORDfiif [ ! -f /var/lib/prosody/$JVB_HOSTNAME.crt ]; then@@ -60,6 +78,7 @@ case "$1" inif [ "$PROSODY_CONFIG_PRESENT" = "false" ]; theninvoke-rc.d prosody restartinvoke-rc.d jitsi-videobridge restart+ invoke-rc.d jicofo restartfi;;diff --git a/doc/debian/jitsi-meet-prosody/prosody.cfg.lua-jvb.example b/doc/debian/jitsi-meet-prosody/prosody.cfg.lua-jvb.exampleindex 8b25abe59d..080f94bc26 100644--- a/doc/debian/jitsi-meet-prosody/prosody.cfg.lua-jvb.example+++ b/doc/debian/jitsi-meet-prosody/prosody.cfg.lua-jvb.example@@ -19,3 +19,11 @@ Component "conference.jitmeet.example.com" "muc"Component "jitsi-videobridge.jitmeet.example.com"component_secret = "jitmeetSecret"++VirtualHost "auth.jitmeet.example.com"+ authentication = "internal_plain"++admins = { "[email protected]" }++Component "focus.jitmeet.example.com"+ component_secret = "focusSecret"