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
Supports prosody 0.11 when configuring.
damenchoea54713f9a67
diff --git a/debian/control b/debian/controlindex c4d269b9f4..766be0e469 100644--- a/debian/control+++ b/debian/control@@ -36,7 +36,7 @@ Description: Configuration for web serving of Jitsi MeetPackage: jitsi-meet-prosodyArchitecture: all-Depends: openssl, prosody | prosody-trunk+Depends: openssl, prosody | prosody-trunk | prosody-0.11Description: Prosody configuration for Jitsi MeetJitsi Meet is a WebRTC JavaScript application that uses JitsiVideobridge to provide high quality, scalable video conferences.@@ -50,6 +50,6 @@ Description: Prosody configuration for Jitsi MeetPackage: jitsi-meet-tokensArchitecture: all-Depends: ${misc:Depends}, prosody-trunk (>= 1nightly607), libssl-dev, luarocks, jitsi-meet-prosody+Depends: ${misc:Depends}, prosody-trunk (>= 1nightly747) | prosody-0.11 | prosody (>= 0.11.2), libssl-dev, luarocks, jitsi-meet-prosodyDescription: Prosody token authentication plugin for Jitsi Meetdiff --git a/debian/jitsi-meet-prosody.postinst b/debian/jitsi-meet-prosody.postinstindex 2b82f0154c..045ad16578 100644--- a/debian/jitsi-meet-prosody.postinst+++ b/debian/jitsi-meet-prosody.postinst@@ -125,6 +125,19 @@ case "$1" inln -sf /var/lib/prosody/$JVB_HOSTNAME.crt /etc/prosody/certs/$JVB_HOSTNAME.crtfi+ PR11_INSTALL_CHECK="$(dpkg-query -f '${Status}' -W 'prosody-0.11' 2>/dev/null | awk '{print $3}' || true)"+ echo "PR11_INSTALL_CHECK is $PR11_INSTALL_CHECK"+ PR_VER_INSTALLED=$(dpkg-query -f='${Version}\n' --show prosody 2>/dev/null || true)+ echo "PR_VER_INSTALLED is $PR_VER_INSTALLED"+ if [ "$PR11_INSTALL_CHECK" = "installed" ] \+ || [ "$PR11_INSTALL_CHECK" = "unpacked" ] \+ || dpkg --compare-versions "$PR_VER_INSTALLED" gt "0.11" ; then+ sed -i 's/storage = \"null\"/storage = \"memory\"/g' $PROSODY_HOST_CONFIG++ # trigger a restart+ PROSODY_CONFIG_PRESENT="false"+ fi+if [ ! -f /var/lib/prosody/$JICOFO_AUTH_DOMAIN.crt ]; then# prosodyctl takes care for the permissions# echo for using all default valuesdiff --git a/debian/jitsi-meet-tokens.postinst b/debian/jitsi-meet-tokens.postinstindex fb7ff679c4..77c142ee36 100644--- a/debian/jitsi-meet-tokens.postinst+++ b/debian/jitsi-meet-tokens.postinst@@ -69,14 +69,17 @@ case "$1" inecho "Failed to install basexx - try installing it manually"fi+ PR11_INSTALL_CHECK="$(dpkg-query -f '${Status}' -W 'prosody-0.11' 2>/dev/null | awk '{print $3}' || true)"+ PR_VER_INSTALLED=$(dpkg-query -f='${Version}\n' --show prosody 2>/dev/null || true)+ if [ "$PR11_INSTALL_CHECK" = "installed" ] \+ || [ "$PR11_INSTALL_CHECK" = "unpacked" ] \+ || dpkg --compare-versions "$PR_VER_INSTALLED" gt "0.11" ; then+ sed -i 's/module:hook/module:hook_global/g' /usr/share/jitsi-meet/prosody-plugins/mod_auth_token.lua+ fi+if [ -x "/etc/init.d/prosody" ]; theninvoke-rc.d prosody restartfi-- echo "This package requires BOSH Prosody module to be patched !"- echo "Use the following command, after this package has been installed and"- echo "after every prosody-trunk upgrade:"- echo "sudo patch -N /usr/lib/prosody/modules/mod_bosh.lua /usr/share/jitsi-meet/prosody-plugins/mod_bosh.lua.patch"fielseecho "Prosody config not found at $PROSODY_HOST_CONFIG - unable to auto-configure token authentication"diff --git a/resources/prosody-plugins/mod_bosh.lua.patch b/resources/prosody-plugins/mod_bosh.lua.patchdeleted file mode 100644index 928261661a..0000000000--- a/resources/prosody-plugins/mod_bosh.lua.patch+++ /dev/null@@ -1,12 +0,0 @@---- /usr/lib/prosody/modules/mod_bosh.lua 2015-12-16 14:28:34.000000000 -0600-+++ /usr/lib/prosody/modules/mod_bosh.lua 2015-12-22 10:45:59.818197967 -0600-@@ -294,6 +294,9 @@-- session.log("debug", "BOSH session created for request from %s", session.ip);- log("info", "New BOSH session, assigned it sid '%s'", sid);-+-+ hosts[session.host].events.fire_event(-+ "bosh-session", { session = session, request = request });-- -- Send creation response- local creating_session = true;