Jitsi Meet update

This commit is contained in:
Jörg Deckert 2020-04-01 19:19:21 +02:00
parent c4e24b4d75
commit 073aa2fb18
12 changed files with 305 additions and 31 deletions

View File

@ -1,6 +1,9 @@
AUX config.example 999 BLAKE2B 42178d9dc2a04112f0230a724b3e3cd42bca744fd33b62d321c7d936396f23a0c90cd886c925fe88288d7ca4444eb896da12338090f4461c784909a1b40aa389 SHA512 f49757987c1020eb9637748a3a1d960394aed133e3231f0d2871509791e1c143f546b4720da58a62d2910d8e8c7941f030e2eff183ed3eae2fa1b15da0d792c9 AUX config.example 1111 BLAKE2B f2de357aa2e6654fce68d92159fb900018e9d619c6ad1d165458c662a333030fc32f0b26ba24d767774dbd3472c26d014142229b285ce8aa92e6acf2ab9f8662 SHA512 dd6717f41c1c40f93ced79277275ef497949b1b0078a0fd5d903719547f709ce7bd119f1f77a26baf49c7be51f6983c395833339bfe8f1a1c9d8e0a993ea38c3
AUX jicofo-i.service 688 BLAKE2B 20fcf15d7db8a42783f9800ba480babc73521daf14d314c69047155d00ea7f463287a6c2d0a8373ad0ffca006d80f89922a3167acdab5b6a38e8ec068b4b96ce SHA512 44710ac556ea1d203824e72964fb6bcbaf3959d6145491772e93d14ff13a784dfbc83fdf225a6a5363e88bbff939c1511b7b267c57159b168332fc1242688633
AUX jicofo-init.d 1058 BLAKE2B 32467d7085786efb52eedc16c59b7ab560d3bbbb122bc9fd7306368432f901e5da18f07df7c4f91157231e3c07fa9479065ea87a005e629d5aeeb80cc3f95441 SHA512 90bf80dd87eed14d2421ee5ce886768103ee09ae8940ff0f1e10d4020cda54d0080d6527fd5988014c8a1a4f869439c5d8e2305389a84f97bff43b810205cca8 AUX jicofo-init.d 1058 BLAKE2B 32467d7085786efb52eedc16c59b7ab560d3bbbb122bc9fd7306368432f901e5da18f07df7c4f91157231e3c07fa9479065ea87a005e629d5aeeb80cc3f95441 SHA512 90bf80dd87eed14d2421ee5ce886768103ee09ae8940ff0f1e10d4020cda54d0080d6527fd5988014c8a1a4f869439c5d8e2305389a84f97bff43b810205cca8
AUX jicofo.service 471 BLAKE2B e1556f938216936a4ee1076d40bc75932f979bf17b654e0a77ea3c419a3365d3f2132bfc2e15fa62877faddb8630bc1194642b919649afd4c1a0d175de4d1294 SHA512 7fc15935d78142fadaf2acf63567070a9f35e5e4c45a188b6cae8ef4b36ea2071975de50cb53217e9cd87462cb583f9455d6f373717ef55a41ea98dd1def1183 AUX jicofo.service 676 BLAKE2B e92278434e80f0c9bbce47ed1df8609b2eb6a591f649be0af94a45dae308cbe0a62361466fe7422a7a6daa9c9be708767d92605dcd02f82f30fc63b1e47d990f SHA512 ba2b78105c318755960ec53c89780b6accdbd9e934308a9fe0e93128b55ccc77edd2e157ad1d90cc1a38cb6cc09c89f1fe8a0b929af09c340e18920faa6e98c6
DIST jicofo_1.0-508-1_amd64.deb 32846750 BLAKE2B 6fca30a3bfbd068f6bf4b4d926bebf042d378226d5aef525ddb6cf46f0afaea8cf60e6457b73d388456eab62d3fa3d9fba0afe5fcd39e198b87bed38aa5898dd SHA512 c3fec67bb872df44deee227dbbbbf41d3d74de11b951eb08fa460a46104a5e212cf9266f752bc2e355b49c1246bdbae03e89526dc792495cb5a7145b382d0b37 DIST jicofo_1.0-508-1_amd64.deb 32846750 BLAKE2B 6fca30a3bfbd068f6bf4b4d926bebf042d378226d5aef525ddb6cf46f0afaea8cf60e6457b73d388456eab62d3fa3d9fba0afe5fcd39e198b87bed38aa5898dd SHA512 c3fec67bb872df44deee227dbbbbf41d3d74de11b951eb08fa460a46104a5e212cf9266f752bc2e355b49c1246bdbae03e89526dc792495cb5a7145b382d0b37
DIST jicofo_1.0-508-1_i386.deb 32846864 BLAKE2B 809850e072c8886e8fce990df75ff10ed33dc2e04a327135709ee775acb30f116bed3c6dccdfbc07d17e5c1cfe3c183bebaada1f58647aec85b47601b885a82c SHA512 1c9adcd14cd1a14f725157df171f2604f27b77a7fe8e707a82a8e61f6d8672fdfac5a57f284ae95b4e62beeb2a1f6108bd39b5b412fc445fa987b918aeda5f43 DIST jicofo_1.0-508-1_i386.deb 32846864 BLAKE2B 809850e072c8886e8fce990df75ff10ed33dc2e04a327135709ee775acb30f116bed3c6dccdfbc07d17e5c1cfe3c183bebaada1f58647aec85b47601b885a82c SHA512 1c9adcd14cd1a14f725157df171f2604f27b77a7fe8e707a82a8e61f6d8672fdfac5a57f284ae95b4e62beeb2a1f6108bd39b5b412fc445fa987b918aeda5f43
DIST jicofo_1.0-539-1_all.deb 32603232 BLAKE2B 8eb773df6bf83702a82603e9d0a39f63a74bf00506715416516666c154d340f58fa0f9f303a33c2f3a6d4ffec52bdbe06da6b8db40d27fc58ded40a18567c612 SHA512 dc4372b982a139b199056da5a47228a9ad3ae5363a5125a122d3abeac0d75f531a9e81db010cf5185b13e079625659b506890ae565c35956c6bd677aa1f54ab1
EBUILD jicofo-bin-1.0.508.ebuild 1429 BLAKE2B 909f4e39ad9ea149b2578fa7391e47a4821c956b54b679f6192dee43184b71e9846ee46dd57553c9855a92239f9c8b03e199cd8b572aabd856f2b3919ace2381 SHA512 6900af10a394f29830dd180ba68e8f735022569a53c47bf92f58c7f03b0e910b8d0bb4caed2445cf98301c4113d22b6d0d1dcf28e2e23b1db9d9872383c8ff6b EBUILD jicofo-bin-1.0.508.ebuild 1429 BLAKE2B 909f4e39ad9ea149b2578fa7391e47a4821c956b54b679f6192dee43184b71e9846ee46dd57553c9855a92239f9c8b03e199cd8b572aabd856f2b3919ace2381 SHA512 6900af10a394f29830dd180ba68e8f735022569a53c47bf92f58c7f03b0e910b8d0bb4caed2445cf98301c4113d22b6d0d1dcf28e2e23b1db9d9872383c8ff6b
EBUILD jicofo-bin-1.0.539.ebuild 1505 BLAKE2B af086e15ee1bf2f1f714be8ac68537b5dd553ec95538066edb6a57f7366c792995cd9928de1bf230fab1adb7e20a4d889afb049d43456dc58d30b930df178849 SHA512 134fdc0ed89924071ddf9e6b622958a4bca192c108657d9cf4e1cd713ab1dde0a414a9a9aae0307b9a3b609e5a6dad6f530a3f931fb52247cd9001b66946c0f5

View File

@ -24,4 +24,4 @@ JICOFO_AUTH_PASSWORD=secretfocus
JICOFO_OPTS="" JICOFO_OPTS=""
# adds java system props that are passed to jicofo (default are for home and logging config file) # adds java system props that are passed to jicofo (default are for home and logging config file)
JAVA_SYS_PROPS="-Dnet.java.sip.communicator.SC_HOME_DIR_LOCATION=/etc/jitsi -Dnet.java.sip.communicator.SC_HOME_DIR_NAME=jicofo -Dnet.java.sip.communicator.SC_LOG_DIR_LOCATION=/var/log/jitsi -Djava.util.logging.config.file=/etc/jitsi/jicofo/logging.properties" JAVA_SYS_PROPS="-Dnet.java.sip.communicator.SC_HOME_DIR_LOCATION=/etc/jitsi -Dnet.java.sip.communicator.SC_HOME_DIR_NAME=jicofo -Dnet.java.sip.communicator.SC_LOG_DIR_LOCATION=/var/log/jitsi -Djava.util.logging.config.file=/etc/jitsi/jicofo/logging.properties -Djavax.net.ssl.trustStore=/etc/ssl/certs/java/cacerts -Djavax.net.ssl.trustAnchors=/etc/ssl/certs/java/cacerts"

View File

@ -0,0 +1,18 @@
[Unit]
Description=Jitsi conference Focus
After=network.target
[Service]
Restart=always
EnvironmentFile=/etc/jitsi/jicofo.%i/config
Environment=LOGFILE=/var/log/jitsi/jicofo-%i.log
User=jicofo
RuntimeDirectory=jicofo
RuntimeDirectoryMode=0750
PIDFile=/var/run/jicofo/jicofo-%i.pid
WorkingDirectory=/usr/share/jicofo
ExecStart=/bin/bash -c "/usr/share/jicofo/jicofo.sh --host=${JICOFO_HOST} --domain=${JICOFO_HOSTNAME} --port=${JICOFO_PORT} --secret=${JICOFO_SECRET} --user_domain=${JICOFO_AUTH_DOMAIN} --user_password=${JICOFO_AUTH_PASSWORD} < /dev/null >> ${LOGFILE} 2>&1"
ExecStartPost=/bin/bash -c "echo $MAINPID > /var/run/jicofo/jicofo-%i.pid"
[Install]
WantedBy=multi-user.target

View File

@ -1,14 +1,18 @@
[Unit] [Unit]
Description=Jitsi conference Focus Description=Jitsi conference Focus
After=local-fs.target remote-fs.target After=network.target
Conflicts=shutdown.target
[Service] [Service]
Restart=always Restart=always
EnvironmentFile=/etc/jitsi/jicofo/config EnvironmentFile=/etc/jitsi/jicofo/config
Environment=LOGFILE=/var/log/jitsi/jicofo.log
User=jicofo User=jicofo
RuntimeDirectory=jicofo
RuntimeDirectoryMode=0750
PIDFile=/var/run/jicofo/jicofo.pid
WorkingDirectory=/usr/share/jicofo WorkingDirectory=/usr/share/jicofo
ExecStart=/usr/share/jicofo/jicofo.sh --host=${JICOFO_HOST} --domain=${JICOFO_HOSTNAME} --port=${JICOFO_PORT} --secret=${JICOFO_SECRET} --user_domain=${JICOFO_AUTH_DOMAIN} --user_password=${JICOFO_AUTH_PASSWORD} ExecStart=/bin/bash -c "/usr/share/jicofo/jicofo.sh --host=${JICOFO_HOST} --domain=${JICOFO_HOSTNAME} --port=${JICOFO_PORT} --secret=${JICOFO_SECRET} --user_domain=${JICOFO_AUTH_DOMAIN} --user_password=${JICOFO_AUTH_PASSWORD} < /dev/null >> ${LOGFILE} 2>&1"
ExecStartPost=/bin/bash -c "echo $MAINPID > /var/run/jicofo/jicofo.pid"
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target

View File

@ -0,0 +1,63 @@
# Copyright 1999-2020 Unitas Network GmbH
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
inherit eutils systemd unpacker user
MY_PN=${PN/-bin/}
MY_PV=$(ver_rs 2 '-')
DESCRIPTION="JItsi Meet COnference FOcus: a conference focus for Jitsi Meet application"
HOMEPAGE="https://jitsi.org/"
SRC_URI_BASE="https://download.jitsi.org/stable"
SRC_URI=${SRC_URI_BASE}/${MY_PN}_${MY_PV}-1_all.deb
RESTRICT="mirror strip"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND=""
RDEPEND="virtual/jre"
S=${WORKDIR}
##QA_PREBUILT="*"
pkg_setup() {
enewgroup jitsi
enewuser jicofo -1 /bin/bash /usr/share/jicofo jitsi
}
src_install() {
insinto /etc/jitsi/jicofo/
doins ${FILESDIR}/config.example
echo "org.jitsi.jicofo.BRIDGE_MUC=JvbRoom@conference.example.com" > etc/jitsi/jicofo/sip-communicator.properties.example
dodoc usr/share/doc/jicofo/README.Debian
rm -rf usr/share/doc
rm -rf etc/init.d
insinto /
doins -r etc usr
keepdir /var/log/jitsi
fowners root:jitsi /var/log/jitsi
fperms 775 /var/log/jitsi
fowners -R jicofo:jitsi /usr/share/jicofo
fperms 755 /usr/share/jicofo/collect-dump-logs.sh
fperms 755 /usr/share/jicofo/jicofo.sh
fowners -R jicofo:jitsi /etc/jitsi/jicofo
fperms 750 /etc/jitsi/jicofo
fperms 600 /etc/jitsi/jicofo/sip-communicator.properties.example
newinitd "${FILESDIR}/${MY_PN}-init.d" "${MY_PN}"
systemd_dounit "${FILESDIR}"/${MY_PN}.service
systemd_newunit "${FILESDIR}"/${MY_PN}-i.service ${MY_PN}@.service
}

View File

@ -1,3 +1,5 @@
AUX meet.example.com-config.js 16323 BLAKE2B 81c31b47b96ab3d3459c8e3641fc9df430d11e26541886e48dd562df390fc2210581a75f32d40e83fd656a392d6a163b4171dfff0c3231533875f17b47abe7a0 SHA512 e9cf14279b5f9298dfa1bd4cae62c9e77b23a9dd6ba7cc850564baf4d2f403e55dbd5f9cc37528bb2b39650af2d19d22139246d88349419d3a9df271789e315c AUX meet.example.com-config.js 18088 BLAKE2B d0e31ef99699629df54d171e34c91368c8245aa017d86c5d9e9e179d0e73872221313624178c63286c59a108ab815f83dbd49ce0aee7ffafc9496571b6cd43c7 SHA512 2aa9e40790bb837f430cd1030d5907ad458de9e944f79346c349802a8a091060b7b2607308ea4e5b8454c911a67da9bd7266fbf998558c8d679fca18ee6cbef8
DIST jitsi-meet-web_1.0.3729-1_all.deb 5453166 BLAKE2B a6904b398fd1dd1b403aed4205934f430b0c83207b59c1a1f6ea0b2108379d325c5d18ac5ab21edade2ad59e5561045d68cd96320cc678f192df73348350f863 SHA512 74e1279cfe25f9c196ce80341ea03711ced90219e9e149ace48e9a1c5b2505a6f329d8b15bb67f56399b08dc61fd723e4640a9097cefaa674dca1fe37d191f76 DIST jitsi-meet-web_1.0.3729-1_all.deb 5453166 BLAKE2B a6904b398fd1dd1b403aed4205934f430b0c83207b59c1a1f6ea0b2108379d325c5d18ac5ab21edade2ad59e5561045d68cd96320cc678f192df73348350f863 SHA512 74e1279cfe25f9c196ce80341ea03711ced90219e9e149ace48e9a1c5b2505a6f329d8b15bb67f56399b08dc61fd723e4640a9097cefaa674dca1fe37d191f76
DIST jitsi-meet-web_1.0.3928-1_all.deb 5748940 BLAKE2B e3d62b8b50212c9a50240adae7246b7540c8e5bf21e8d0b4374020364325d55593a091623c1e423bf31c9a0c2cbf60957f66db85dbd45a23ded05ab3928cb8e8 SHA512 b4a7bf704077859a87d1d020bb6fc0a97e72f1a980c4dfa4bbfa5c821acde63a7c7ca0a16a774c8f0ee2859a3b73861bc2289c67e00509d4c461b19c7c5b2edb
EBUILD jitsi-meet-web-bin-1.0.3729.ebuild 845 BLAKE2B b613b006dd65169877bbe47b9c6199443f1217ac867f6f203d0fcfd9716e57bd57824c31273583fced205058e8f7d3e439b0814e70f1c2579c03cc29f3032c41 SHA512 42bc6c9bad900c70d90308da087c4638c4427894b9552b8dc24606925deb2e2a2d1659fa63923606a1da303e0c5f79693f8ad10764ae86279d25ba3e9d22f6b7 EBUILD jitsi-meet-web-bin-1.0.3729.ebuild 845 BLAKE2B b613b006dd65169877bbe47b9c6199443f1217ac867f6f203d0fcfd9716e57bd57824c31273583fced205058e8f7d3e439b0814e70f1c2579c03cc29f3032c41 SHA512 42bc6c9bad900c70d90308da087c4638c4427894b9552b8dc24606925deb2e2a2d1659fa63923606a1da303e0c5f79693f8ad10764ae86279d25ba3e9d22f6b7
EBUILD jitsi-meet-web-bin-1.0.3928.ebuild 837 BLAKE2B aa31d17455f1a9ba3b607dda4e38257d4403b78e59f3a9caa2ff367d477c07e421faf23b0868db5ef022e3bf53e36fecb0b0f880c7e045d45823a1a3aeb3f769 SHA512 756d88ef8a2d9b3a49e3a380e9eb748ed181d1e4a4f845c3217377ea125772466639ca48ab3d8953aeea5e05df1a55e35275cb63067fe5b4fef2b38e922642a7

View File

@ -6,35 +6,38 @@ var config = {
hosts: { hosts: {
// XMPP domain. // XMPP domain.
domain: 'meet.example.com', domain: 'jitsi-meet.example.com',
// When using authentication, domain for guest users. // When using authentication, domain for guest users.
// anonymousdomain: 'guest.example.com', // anonymousdomain: 'guest.example.com',
// Domain for authenticated users. Defaults to <domain>. // Domain for authenticated users. Defaults to <domain>.
// authdomain: 'meet.example.com', // authdomain: 'jitsi-meet.example.com',
// Jirecon recording component domain. // Jirecon recording component domain.
// jirecon: 'jirecon.meet.example.com', // jirecon: 'jirecon.jitsi-meet.example.com',
// Call control component (Jigasi). // Call control component (Jigasi).
// call_control: 'callcontrol.meet.example.com', // call_control: 'callcontrol.jitsi-meet.example.com',
// Focus component domain. Defaults to focus.<domain>. // Focus component domain. Defaults to focus.<domain>.
// focus: 'focus.meet.example.com', // focus: 'focus.jitsi-meet.example.com',
// XMPP MUC domain. FIXME: use XEP-0030 to discover it. // XMPP MUC domain. FIXME: use XEP-0030 to discover it.
muc: 'conference.meet.example.com' muc: 'conference.jitsi-meet.example.com'
}, },
// BOSH URL. FIXME: use XEP-0156 to discover it. // BOSH URL. FIXME: use XEP-0156 to discover it.
bosh: '//meet.example.com/http-bind', bosh: '//jitsi-meet.example.com/http-bind',
// Websocket URL
// websocket: 'wss://jitsi-meet.example.com/xmpp-websocket',
// The name of client node advertised in XEP-0115 'c' stanza // The name of client node advertised in XEP-0115 'c' stanza
clientNode: 'http://jitsi.org/jitsimeet', clientNode: 'http://jitsi.org/jitsimeet',
// The real JID of focus participant - can be overridden here // The real JID of focus participant - can be overridden here
// focusUserJid: 'focus@auth.meet.example.com', // focusUserJid: 'focus@auth.jitsi-meet.example.com',
// Testing / experimental features. // Testing / experimental features.
@ -72,6 +75,18 @@ var config = {
// Disable measuring of audio levels. // Disable measuring of audio levels.
// disableAudioLevels: false, // disableAudioLevels: false,
// audioLevelsInterval: 200,
// Enabling this will run the lib-jitsi-meet no audio detection module which
// will notify the user if the current selected microphone has no audio
// input and will suggest another valid device if one is present.
enableNoAudioDetection: true,
// Enabling this will run the lib-jitsi-meet noise detection module which will
// notify the user if there is noise, other than voice, coming from the current
// selected microphone. The purpose it to let the user know that the input could
// be potentially unpleasant for other meeting participants.
enableNoisyMicDetection: true,
// Start the conference in audio only mode (no video is being received nor // Start the conference in audio only mode (no video is being received nor
// sent). // sent).
@ -95,7 +110,7 @@ var config = {
// w3c spec-compliant video constraints to use for video capture. Currently // w3c spec-compliant video constraints to use for video capture. Currently
// used by browsers that return true from lib-jitsi-meet's // used by browsers that return true from lib-jitsi-meet's
// util#browser#usesNewGumFlow. The constraints are independency from // util#browser#usesNewGumFlow. The constraints are independent from
// this config's resolution value. Defaults to requesting an ideal aspect // this config's resolution value. Defaults to requesting an ideal aspect
// ratio of 16:9 with an ideal resolution of 720. // ratio of 16:9 with an ideal resolution of 720.
// constraints: { // constraints: {
@ -170,9 +185,9 @@ var config = {
// appKey: '<APP_KEY>' // Specify your app key here. // appKey: '<APP_KEY>' // Specify your app key here.
// // A URL to redirect the user to, after authenticating // // A URL to redirect the user to, after authenticating
// // by default uses: // // by default uses:
// // 'https://meet.example.com/static/oauth.html' // // 'https://jitsi-meet.example.com/static/oauth.html'
// redirectURI: // redirectURI:
// 'https://meet.example.com/subfolder/static/oauth.html' // 'https://jitsi-meet.example.com/subfolder/static/oauth.html'
// }, // },
// When integrations like dropbox are enabled only that will be shown, // When integrations like dropbox are enabled only that will be shown,
// by enabling fileRecordingsServiceEnabled, we show both the integrations // by enabling fileRecordingsServiceEnabled, we show both the integrations
@ -253,7 +268,7 @@ var config = {
// disable1On1Mode: false, // disable1On1Mode: false,
// Default language for the user interface. // Default language for the user interface.
defaultLanguage: 'de', // defaultLanguage: 'en',
// If true all users without a token will be considered guests and all users // If true all users without a token will be considered guests and all users
// with token will be considered non-guests. Only guests will be allowed to // with token will be considered non-guests. Only guests will be allowed to
@ -287,16 +302,19 @@ var config = {
// estimation tests. // estimation tests.
// gatherStats: false, // gatherStats: false,
// The interval at which PeerConnection.getStats() is called. Defaults to 10000
// pcStatsInterval: 10000,
// To enable sending statistics to callstats.io you must provide the // To enable sending statistics to callstats.io you must provide the
// Application ID and Secret. // Application ID and Secret.
// callStatsID: '', // callStatsID: '',
// callStatsSecret: '', // callStatsSecret: '',
// enables sending participants display name to callstats // enables sending participants display name to callstats
// enableDisplayNameInStats: false // enableDisplayNameInStats: false,
// enables sending participants email if available to callstats and other analytics // enables sending participants email if available to callstats and other analytics
// enableEmailInStats: false // enableEmailInStats: false,
// Privacy // Privacy
// //
@ -324,6 +342,8 @@ var config = {
// The STUN servers that will be used in the peer to peer connections // The STUN servers that will be used in the peer to peer connections
stunServers: [ stunServers: [
// { urls: 'stun:jitsi-meet.example.com:443' },
{ urls: 'stun:stun.l.google.com:19302' }, { urls: 'stun:stun.l.google.com:19302' },
{ urls: 'stun:stun1.l.google.com:19302' }, { urls: 'stun:stun1.l.google.com:19302' },
{ urls: 'stun:stun2.l.google.com:19302' } { urls: 'stun:stun2.l.google.com:19302' }
@ -370,7 +390,21 @@ var config = {
// shard: "shard1", // shard: "shard1",
// region: "europe", // region: "europe",
// userRegion: "asia" // userRegion: "asia"
} },
// Information for the chrome extension banner
// chromeExtensionBanner: {
// // The chrome extension to be installed address
// url: 'https://chrome.google.com/webstore/detail/jitsi-meetings/kglhbbefdnlheedjiejgomgmfplipfeb',
// // Extensions info which allows checking if they are installed or not
// chromeExtensionsInfo: [
// {
// id: 'kglhbbefdnlheedjiejgomgmfplipfeb',
// path: 'jitsi-logo-48x48.png'
// }
// ]
// },
// Local Recording // Local Recording
// //
@ -388,7 +422,7 @@ var config = {
// format: 'flac' // format: 'flac'
// //
// } // },
// Options related to end-to-end (participant to participant) ping. // Options related to end-to-end (participant to participant) ping.
// e2eping: { // e2eping: {
@ -400,22 +434,22 @@ var config = {
// // with the measured RTT will be sent. Defaults to 60000, set // // with the measured RTT will be sent. Defaults to 60000, set
// // to <= 0 to disable. // // to <= 0 to disable.
// analyticsInterval: 60000, // analyticsInterval: 60000,
// } // },
// If set, will attempt to use the provided video input device label when // If set, will attempt to use the provided video input device label when
// triggering a screenshare, instead of proceeding through the normal flow // triggering a screenshare, instead of proceeding through the normal flow
// for obtaining a desktop stream. // for obtaining a desktop stream.
// NOTE: This option is experimental and is currently intended for internal // NOTE: This option is experimental and is currently intended for internal
// use only. // use only.
// _desktopSharingSourceDevice: 'sample-id-or-label' // _desktopSharingSourceDevice: 'sample-id-or-label',
// If true, any checks to handoff to another application will be prevented // If true, any checks to handoff to another application will be prevented
// and instead the app will continue to display in the current browser. // and instead the app will continue to display in the current browser.
// disableDeepLinking: false // disableDeepLinking: false,
// A property to disable the right click context menu for localVideo // A property to disable the right click context menu for localVideo
// the menu has option to flip the locally seen video for local presentations // the menu has option to flip the locally seen video for local presentations
// disableLocalVideoFlip: false // disableLocalVideoFlip: false,
// Deployment specific URLs. // Deployment specific URLs.
// deploymentUrls: { // deploymentUrls: {
@ -425,7 +459,7 @@ var config = {
// // If specified a 'Download our apps' button will be displayed in the overflow menu with a link // // If specified a 'Download our apps' button will be displayed in the overflow menu with a link
// // to the specified URL for an app download page. // // to the specified URL for an app download page.
// downloadAppsUrl: 'https://docs.example.com/our-apps.html' // downloadAppsUrl: 'https://docs.example.com/our-apps.html'
// } // },
// List of undocumented settings used in jitsi-meet // List of undocumented settings used in jitsi-meet
/** /**
@ -477,6 +511,12 @@ var config = {
startBitrate startBitrate
*/ */
// Allow all above example options to include a trailing comma and
// prevent fear when commenting out the last value.
makeJsonParserHappy: 'even if last key had a trailing comma'
// no configuration value should follow this line.
}; };
/* eslint-enable no-unused-vars, no-var */ /* eslint-enable no-unused-vars, no-var */

View File

@ -0,0 +1,39 @@
# Copyright 1999-2020 Unitas Network GmbH
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
inherit eutils unpacker
MY_PN=${PN/-bin/}
DESCRIPTION="Jitsi Meet is a WebRTC JavaScript application that uses Jitsi Videobridge to provide high quality, scalable video conferences."
HOMEPAGE="https://jitsi.org/"
SRC_URI_BASE="https://download.jitsi.org/stable"
SRC_URI="${SRC_URI_BASE}/${MY_PN}_${PV}-1_all.deb"
RESTRICT="mirror"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND=""
RDEPEND=""
S=${WORKDIR}
src_install() {
insinto /etc/jitsi/meet/
doins ${FILESDIR}/meet.example.com-config.js
gunzip usr/share/doc/jitsi-meet-web/README.md.gz
dodoc usr/share/doc/jitsi-meet-web/README.md
dodoc usr/share/doc/jitsi-meet-web/README.Debian
rm -rf usr/share/doc
insinto /
doins -r usr
}

View File

@ -1,5 +1,8 @@
AUX config.example 767 BLAKE2B 7b0bc9c01c699bc19393302188935635dee08666967b1f1a67e4b7c843c3f6a7ddd38bb89c038bbce633d8c0c296cd763d3c5198de61dd86265b0bb9acb434fb SHA512 2abfecf990a0f90d0baa8bb459c721580b10e383990816ca53c08076f1483866de683ae10267ce9a24d588860a13a7ece974ab58f747e078efbaa08226ff7773 AUX config.example 891 BLAKE2B e9437bbe3c337ff3bf6dc09414f8a5bece4bf8a066c87effb34a2c04d049193bd83107af1c6b9acb2766ebeba3721d143fa9e64cc3ac948a52c883c5cc5732a6 SHA512 9ab25d19493cf1e3e128eb820fc2498a56ecff1444e81f1b72eb3538e63d0092f357ccb78c6b2fdcb4d6dc459437201eba8d16ee63c8118205523fff12466f01
AUX jitsi-videobridge-init.d 1078 BLAKE2B 5f04bd6f54c3002ebb1ec8d4df9614942de2d6ee22ca531332ae83ed0a3558f33de3673a13e6c0528f6382c895f781300e7b39f32829645cfe48aea2536dbdaa SHA512 9300b363e578bd31967ef895fa33d919ad15ec9dd273367d342867999342e683d6e8f3694cf5d5b35bde6d36579f341bcab0e041b7117d6b425b8e8994596fdb AUX jitsi-videobridge-init.d 1078 BLAKE2B 5f04bd6f54c3002ebb1ec8d4df9614942de2d6ee22ca531332ae83ed0a3558f33de3673a13e6c0528f6382c895f781300e7b39f32829645cfe48aea2536dbdaa SHA512 9300b363e578bd31967ef895fa33d919ad15ec9dd273367d342867999342e683d6e8f3694cf5d5b35bde6d36579f341bcab0e041b7117d6b425b8e8994596fdb
AUX sip-communicator.properties.example 2581 BLAKE2B 64d388456d728d06edf1e334d43a8714ad27b3d5c2304967d313a3184394217225e2768200eef183dc6ab369c00841b0f122ae327a2f0031309f5eaa3d9efbd3 SHA512 cebf06de61827432930832e3ca94678a6556a8798abbc4e0cf42925e54c3afa456d9a3f9c3027d4ac448d7361e7f0507e2b84fd61b0880a693dc7048b226f355
DIST jitsi-videobridge2_2.1-157-g389b69ff-1_all.deb 31372664 BLAKE2B 8089f5c4189d82cd0a6643b516ea19cbf21a5bdd1a98cfef7cfad078b4569c29f845df89071b92686272c4643a361a614a13a7355f8be2ef71f44e51f6f8e7b8 SHA512 93d34725227d1418af4c6c9f580e8b57bc79487ca35038eec0444d651b59fe3e86d7be5201ba0862c1f818275afc3fce4f6517449916ffb5728520d22be182b1
DIST jitsi-videobridge_1126-1_amd64.deb 30440800 BLAKE2B 0b75094f59ba0178d42f9f3906df9f79729a5debcbc7a11c424bdf705c0599516e53763ff4bd0e973ca4027f77ca038432d5911d8a48c67a2f333ae5fec0b5b5 SHA512 cf01785929f5b408678163984f345d322695c7ec2ce2286735213e69941698258cb32d87e38eac609c098bf3bc79205e5e81da6d32e1d25c95d51da5d9cd782e DIST jitsi-videobridge_1126-1_amd64.deb 30440800 BLAKE2B 0b75094f59ba0178d42f9f3906df9f79729a5debcbc7a11c424bdf705c0599516e53763ff4bd0e973ca4027f77ca038432d5911d8a48c67a2f333ae5fec0b5b5 SHA512 cf01785929f5b408678163984f345d322695c7ec2ce2286735213e69941698258cb32d87e38eac609c098bf3bc79205e5e81da6d32e1d25c95d51da5d9cd782e
DIST jitsi-videobridge_1126-1_i386.deb 30434904 BLAKE2B 882ba4b1f35baf5b39cdc0e7552341db2f37a3670439ec05166e2cf9fa7f8c38f64f65a9d5240950336f65633610ba61414f294cb913d690ec62cf003216ab2c SHA512 2112264da31aa019196188fe6e9dc659463decd872c61c4ad640f4ebd895419c0da836422535098a5460328b6a76a03272d4d8344795089070524e446769370e DIST jitsi-videobridge_1126-1_i386.deb 30434904 BLAKE2B 882ba4b1f35baf5b39cdc0e7552341db2f37a3670439ec05166e2cf9fa7f8c38f64f65a9d5240950336f65633610ba61414f294cb913d690ec62cf003216ab2c SHA512 2112264da31aa019196188fe6e9dc659463decd872c61c4ad640f4ebd895419c0da836422535098a5460328b6a76a03272d4d8344795089070524e446769370e
EBUILD jitsi-videobridge-bin-1126.ebuild 1599 BLAKE2B c10060a68a845d777a1b2b46d272138851e2a51105374bcd249ab9d25a7bda8bd8e92c992668a5baf6f4b8a47c7189fc4a830cc3abefc9e08aac56dd62e5e35b SHA512 9ecd1f1b462f8ef82c20b82d1ed21d6ca6bd90abdedb6341404ebef5ec143fa7ef5c7a07b8675e9b21bdd14f8d0316978901c74a1930592d654aebb38c9dc9e2 EBUILD jitsi-videobridge-bin-1126.ebuild 1599 BLAKE2B c10060a68a845d777a1b2b46d272138851e2a51105374bcd249ab9d25a7bda8bd8e92c992668a5baf6f4b8a47c7189fc4a830cc3abefc9e08aac56dd62e5e35b SHA512 9ecd1f1b462f8ef82c20b82d1ed21d6ca6bd90abdedb6341404ebef5ec143fa7ef5c7a07b8675e9b21bdd14f8d0316978901c74a1930592d654aebb38c9dc9e2
EBUILD jitsi-videobridge-bin-2.1.157.ebuild 1504 BLAKE2B dcaeaf7f82d97f7cc9170858477c41e45773afedb94d1291224a35917f4115ec490204e3c592f5bae21e5750582241b3e2f284133cd1276133445803b99ae3ee SHA512 9e00f5136a7b6f45fc49bbe3ade82e6e6ad67d50e8c9be16a13baeb2eb3e28dd652bdb825125bd741d06a06fb1b2a3d8805e45bac76f3ae38ab0c4c1f5109071

View File

@ -13,7 +13,7 @@ JVB_PORT=5347
JVB_SECRET=secret JVB_SECRET=secret
# extra options to pass to the JVB daemon # extra options to pass to the JVB daemon
JVB_OPTS="" JVB_OPTS="--apis=xmpp,"
# adds java system props that are passed to jvb (default are for home and logging config file) # adds java system props that are passed to jvb (default are for home and logging config file)
JAVA_SYS_PROPS="-Dnet.java.sip.communicator.SC_HOME_DIR_LOCATION=/etc/jitsi -Dnet.java.sip.communicator.SC_HOME_DIR_NAME=videobridge -Dnet.java.sip.communicator.SC_LOG_DIR_LOCATION=/var/log/jitsi -Djava.util.logging.config.file=/etc/jitsi/videobridge/logging.properties" JAVA_SYS_PROPS="-Dnet.java.sip.communicator.SC_HOME_DIR_LOCATION=/etc/jitsi -Dnet.java.sip.communicator.SC_HOME_DIR_NAME=videobridge -Dnet.java.sip.communicator.SC_LOG_DIR_LOCATION=/var/log/jitsi -Djava.util.logging.config.file=/etc/jitsi/videobridge/logging.properties -Djavax.net.ssl.trustStore=/etc/ssl/certs/java/cacerts -Djavax.net.ssl.trustAnchors=/etc/ssl/certs/java/cacerts"

View File

@ -0,0 +1,41 @@
# Enable broadcasting stats/presence in a MUC
org.jitsi.videobridge.ENABLE_STATISTICS=true
org.jitsi.videobridge.STATISTICS_TRANSPORT=muc
# Connect to the bitquell.de XMPP server
org.jitsi.videobridge.xmpp.user.example.HOSTNAME=meet.example.com
org.jitsi.videobridge.xmpp.user.example.DOMAIN=meet.example.com
org.jitsi.videobridge.xmpp.user.example.USERNAME=jvb
org.jitsi.videobridge.xmpp.user.example.PASSWORD=jvbpasswd
org.jitsi.videobridge.xmpp.user.example.MUC_JIDS=jvbroom@conference.example.com
org.jitsi.videobridge.xmpp.user.example.MUC_NICKNAME=jvb1
#org.jitsi.videobridge.xmpp.user.example.DISABLE_CERTIFICATE_VERIFICATION=true
# APIs (in /etc/jitsi/videobridge/config bei JAVA_SYS_PROPS with e.g. "apis=rest,xmpp" enablen)
# private API
##org.jitsi.videobridge.rest.private.jetty.port=8080
##org.jitsi.videobridge.rest.private.jetty.tls.port=8443
##org.jitsi.videobridge.rest.private.jetty.sslContextFactory.keyStorePath=
##org.jitsi.videobridge.rest.private.jetty.sslContextFactory.keyStorePassword=
##org.jitsi.videobridge.rest.private.jetty.sslContextFactory.needClientAuth=false
##org.jitsi.videobridge.rest.private.jetty.host=
# public api
##org.jitsi.videobridge.rest.jetty.port=-1
##org.jitsi.videobridge.rest.jetty.tls.port=-1
##org.jitsi.videobridge.rest.jetty.sslContextFactory.keyStorePath=
##org.jitsi.videobridge.rest.jetty.sslContextFactory.keyStorePassword=
##org.jitsi.videobridge.rest.jetty.sslContextFactory.needClientAuth=false
##org.jitsi.videobridge.rest.jetty.host=
##org.jitsi.videobridge.clearport.redirect.jetty.port=80
# public api proxy settings
##org.jitsi.videobridge.rest.jetty.ProxyServlet.hostHeader=example.com
##org.jitsi.videobridge.rest.jetty.ProxyServlet.pathSpec=/http-bind
##org.jitsi.videobridge.rest.jetty.ProxyServlet.proxyTo=http://localhost:5280/http-bind
# Configure serving of static content (tuned for jitsi-meet)
##org.jitsi.videobridge.rest.jetty.ResourceHandler.resourceBase=/usr/share/jitsi-meet
##org.jitsi.videobridge.rest.jetty.ResourceHandler.alias./config.js=/etc/jitsi/meet/example.com-config.js
##org.jitsi.videobridge.rest.jetty.ResourceHandler.alias./interface_config.js=/usr/share/jitsi-meet/interface_config.js
##org.jitsi.videobridge.rest.jetty.ResourceHandler.alias./logging_config.js=/usr/share/jitsi-meet/logging_config.js
##org.jitsi.videobridge.rest.jetty.RewriteHandler.regex=^/([a-zA-Z0-9]+)$
##org.jitsi.videobridge.rest.jetty.RewriteHandler.replacement=/
##org.jitsi.videobridge.rest.jetty.SSIResourceHandler.paths=/

View File

@ -0,0 +1,61 @@
# Copyright 1999-2020 Unitas Network GmbH
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
inherit eutils systemd unpacker user
MY_PN=${PN/-bin/}
MY_PV=$(ver_rs 2 '-')
DESCRIPTION="Jitsi Videobridge is a WebRTC compatible Selective Forwarding Unit"
HOMEPAGE="https://jitsi.org/"
SRC_URI_BASE="https://download.jitsi.org/stable"
SRC_URI=${SRC_URI_BASE}/${MY_PN}2_${MY_PV}-g389b69ff-1_all.deb
RESTRICT="mirror strip"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND=""
RDEPEND="virtual/jre"
S=${WORKDIR}
pkg_setup() {
enewgroup jitsi
enewuser jvb -1 /bin/bash /usr/share/jitsi-videobridge jitsi
}
src_install() {
insinto /etc/jitsi/videobridge/
doins ${FILESDIR}/config.example
doins ${FILESDIR}/sip-communicator.properties.example
dodoc usr/share/doc/jitsi-videobridge2/README.Debian
rm -rf usr/share/doc
rm -rf etc/init.d
insinto /
doins -r etc usr
keepdir /var/log/jitsi
fowners root:jitsi /var/log/jitsi
fperms 775 /var/log/jitsi
fowners -R jvb:jitsi /usr/share/jitsi-videobridge
fperms 755 /usr/share/jitsi-videobridge/collect-dump-logs.sh
fperms 755 /usr/share/jitsi-videobridge/jvb.sh
fperms 755 /usr/share/jitsi-videobridge/graceful_shutdown.sh
fowners -R jvb:jitsi /etc/jitsi/videobridge
fperms 750 /etc/jitsi/videobridge
fperms 600 /etc/jitsi/videobridge/sip-communicator.properties.example
newinitd "${FILESDIR}/${MY_PN}-init.d" "${MY_PN}"
systemd_newunit lib/systemd/system/${MY_PN}2.service ${MY_PN}.service
}