diff --git a/net-misc/jicofo-bin/Manifest b/net-misc/jicofo-bin/Manifest index 9a2ec9e..f931159 100644 --- a/net-misc/jicofo-bin/Manifest +++ b/net-misc/jicofo-bin/Manifest @@ -1,11 +1,7 @@ -AUX config.example 1111 BLAKE2B f2de357aa2e6654fce68d92159fb900018e9d619c6ad1d165458c662a333030fc32f0b26ba24d767774dbd3472c26d014142229b285ce8aa92e6acf2ab9f8662 SHA512 dd6717f41c1c40f93ced79277275ef497949b1b0078a0fd5d903719547f709ce7bd119f1f77a26baf49c7be51f6983c395833339bfe8f1a1c9d8e0a993ea38c3 +AUX config.example 1155 BLAKE2B cd6df035d4794dafad63695b6b6e8359646c06dbac7ca1c2919e2bebfeeb61b7d74b120bacccf5346c39ceca995e2350926d4770515b38b364a63d2a607d10d1 SHA512 16db498c90bd4375ad7630f1f5d07bacc42cb3b3c7b0b0ed01e3b89c1111e5cd9afcd8f6a39b8b1745ae46ab588051c055316e1151acb3e1210826720896c30d AUX jicofo-i.service 688 BLAKE2B 20fcf15d7db8a42783f9800ba480babc73521daf14d314c69047155d00ea7f463287a6c2d0a8373ad0ffca006d80f89922a3167acdab5b6a38e8ec068b4b96ce SHA512 44710ac556ea1d203824e72964fb6bcbaf3959d6145491772e93d14ff13a784dfbc83fdf225a6a5363e88bbff939c1511b7b267c57159b168332fc1242688633 AUX jicofo-init.d 1058 BLAKE2B 32467d7085786efb52eedc16c59b7ab560d3bbbb122bc9fd7306368432f901e5da18f07df7c4f91157231e3c07fa9479065ea87a005e629d5aeeb80cc3f95441 SHA512 90bf80dd87eed14d2421ee5ce886768103ee09ae8940ff0f1e10d4020cda54d0080d6527fd5988014c8a1a4f869439c5d8e2305389a84f97bff43b810205cca8 +AUX jicofo.conf.example 142 BLAKE2B 40578c19110b466df3b97dcfab05e77836e708d35ac009ff1a48c493ac7e9b49b22105e4b2da5f8db61e56ff2bd93bbaead23e68f413b88393a80adeed00a2cf SHA512 d984c78e9ea7b9bf0b6531db3b24dca1d9dcf0693732b9807e6921084a763ab4c9d98c5b40eb058e588b2ca9b5600fcb534f53e4102731a7adc243cdaf60e39f 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_i386.deb 32846864 BLAKE2B 809850e072c8886e8fce990df75ff10ed33dc2e04a327135709ee775acb30f116bed3c6dccdfbc07d17e5c1cfe3c183bebaada1f58647aec85b47601b885a82c SHA512 1c9adcd14cd1a14f725157df171f2604f27b77a7fe8e707a82a8e61f6d8672fdfac5a57f284ae95b4e62beeb2a1f6108bd39b5b412fc445fa987b918aeda5f43 -DIST jicofo_1.0-539-1_all.deb 32603232 BLAKE2B 8eb773df6bf83702a82603e9d0a39f63a74bf00506715416516666c154d340f58fa0f9f303a33c2f3a6d4ffec52bdbe06da6b8db40d27fc58ded40a18567c612 SHA512 dc4372b982a139b199056da5a47228a9ad3ae5363a5125a122d3abeac0d75f531a9e81db010cf5185b13e079625659b506890ae565c35956c6bd677aa1f54ab1 -DIST jicofo_1.0-567-1_all.deb 49637540 BLAKE2B 0dc9b0a078358960639eebf7ed185c945ae63ba77016fbca193cb0d6d23e3d41248cb865af0c61de58eb5c41f6e1b19cdc8fcfd286c52953871c9b17702c9910 SHA512 75b9bf4936090bfc8dbb160d773bcf3ea012f50f938a86c95e2bd904ae974f4c7532528cc81a834d38d891fd4e6eb2ca40facd41391e8877618227e36035ac58 -EBUILD jicofo-bin-1.0.508.ebuild 1429 BLAKE2B 909f4e39ad9ea149b2578fa7391e47a4821c956b54b679f6192dee43184b71e9846ee46dd57553c9855a92239f9c8b03e199cd8b572aabd856f2b3919ace2381 SHA512 6900af10a394f29830dd180ba68e8f735022569a53c47bf92f58c7f03b0e910b8d0bb4caed2445cf98301c4113d22b6d0d1dcf28e2e23b1db9d9872383c8ff6b -EBUILD jicofo-bin-1.0.539.ebuild 1505 BLAKE2B af086e15ee1bf2f1f714be8ac68537b5dd553ec95538066edb6a57f7366c792995cd9928de1bf230fab1adb7e20a4d889afb049d43456dc58d30b930df178849 SHA512 134fdc0ed89924071ddf9e6b622958a4bca192c108657d9cf4e1cd713ab1dde0a414a9a9aae0307b9a3b609e5a6dad6f530a3f931fb52247cd9001b66946c0f5 -EBUILD jicofo-bin-1.0.567.ebuild 1505 BLAKE2B af086e15ee1bf2f1f714be8ac68537b5dd553ec95538066edb6a57f7366c792995cd9928de1bf230fab1adb7e20a4d889afb049d43456dc58d30b930df178849 SHA512 134fdc0ed89924071ddf9e6b622958a4bca192c108657d9cf4e1cd713ab1dde0a414a9a9aae0307b9a3b609e5a6dad6f530a3f931fb52247cd9001b66946c0f5 +DIST jicofo_1.0-644-1_all.deb 38471940 BLAKE2B cf93692b888022546871ac55cc4c782d40c743c2dd062724d30d2f4134e7a01ed76bc62f189a252450609d4a9569c574e6f52cd3474af3e8365e25932574187d SHA512 f476e60f948acb4f7e34d6529e989a4d8acd3552107f9fa11d18847505c0257d4a38cd5c8d0b33eff50c8cd7af9fc42a6aca105a9bd712b666066cf8ade97940 +EBUILD jicofo-bin-1.0.644.ebuild 1544 BLAKE2B 7db7ddc02334689b5ebfe131316e352af7d9b349058014058b5d45d8e5c607d42a363b7d36da2e5a7ae878152db5a6338e0dc443bdbd8c360fa272ce02720535 SHA512 b2e6c618e5f8945bcf2b7a5cdff7ca5fc075ae2c666bf2f72e20fd73df658f41799316b2ecf42f0d20c52afaca1ef3aae9645c050d018a0f747c5266395a3cca diff --git a/net-misc/jicofo-bin/files/config.example b/net-misc/jicofo-bin/files/config.example index 28ccf78..e0c72dc 100644 --- a/net-misc/jicofo-bin/files/config.example +++ b/net-misc/jicofo-bin/files/config.example @@ -24,4 +24,4 @@ JICOFO_AUTH_PASSWORD=secretfocus JICOFO_OPTS="" # 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 -Djavax.net.ssl.trustStore=/etc/ssl/certs/java/cacerts -Djavax.net.ssl.trustAnchors=/etc/ssl/certs/java/cacerts" +JAVA_SYS_PROPS="-Dconfig.file=/etc/jitsi/jicofo/jicofo.conf -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" diff --git a/net-misc/jicofo-bin/files/jicofo.conf.example b/net-misc/jicofo-bin/files/jicofo.conf.example new file mode 100644 index 0000000..28f54b8 --- /dev/null +++ b/net-misc/jicofo-bin/files/jicofo.conf.example @@ -0,0 +1,4 @@ +# Jicofo HOCON configuration. See /usr/share/jicofo/jicofo.jar/reference.conf for +# available options, syntax, and default values. +jicofo { +} diff --git a/net-misc/jicofo-bin/jicofo-bin-1.0.508.ebuild b/net-misc/jicofo-bin/jicofo-bin-1.0.508.ebuild deleted file mode 100644 index 9da4412..0000000 --- a/net-misc/jicofo-bin/jicofo-bin-1.0.508.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# 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="x86? ( ${SRC_URI_BASE}/${MY_PN}_${MY_PV}-1_i386.deb ) - amd64? ( ${SRC_URI_BASE}/${MY_PN}_${MY_PV}-1_amd64.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 - touch etc/jitsi/jicofo/sip-communicator.properties - - 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 - - newinitd "${FILESDIR}/${MY_PN}-init.d" "${MY_PN}" - - systemd_dounit "${FILESDIR}"/${MY_PN}.service -} diff --git a/net-misc/jicofo-bin/jicofo-bin-1.0.567.ebuild b/net-misc/jicofo-bin/jicofo-bin-1.0.567.ebuild deleted file mode 100644 index 84be3eb..0000000 --- a/net-misc/jicofo-bin/jicofo-bin-1.0.567.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# 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 -} diff --git a/net-misc/jicofo-bin/jicofo-bin-1.0.539.ebuild b/net-misc/jicofo-bin/jicofo-bin-1.0.644.ebuild similarity index 97% rename from net-misc/jicofo-bin/jicofo-bin-1.0.539.ebuild rename to net-misc/jicofo-bin/jicofo-bin-1.0.644.ebuild index 84be3eb..4b1cf7c 100644 --- a/net-misc/jicofo-bin/jicofo-bin-1.0.539.ebuild +++ b/net-misc/jicofo-bin/jicofo-bin-1.0.644.ebuild @@ -36,6 +36,7 @@ pkg_setup() { src_install() { insinto /etc/jitsi/jicofo/ doins ${FILESDIR}/config.example + doins ${FILESDIR}/jicofo.conf.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 diff --git a/net-misc/jitsi-meet-web-bin/Manifest b/net-misc/jitsi-meet-web-bin/Manifest index 790dcd5..39d635e 100644 --- a/net-misc/jitsi-meet-web-bin/Manifest +++ b/net-misc/jitsi-meet-web-bin/Manifest @@ -1,7 +1,4 @@ -AUX meet.example.com-config.js 18513 BLAKE2B 041a5a36b8a369874a2fa1b4688c69a5e5a2c720379edbb29a65c0dae80acc6de1054f5e3d8c4c9ca08ddb4a739453bb97fa64db5444f173c328b5e0204b49ff SHA512 1040e56323d68d16b0734572c91703f846bf9b3e00f628c726b6d540663f4db773b8ce33df4e5d13e5cac7f534f5e70e318791dc0499a728602a76415075b153 -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 -DIST jitsi-meet-web_1.0.4074-1_all.deb 5969872 BLAKE2B f44024e9cc026a68208e35b1550be86ec32f5938aad8d07e8e19025cf15fa328853b2f77e76c2914c867f8a2f33d3337ee2fb22817c8594fdfae3997a18b33a2 SHA512 3282e4658cfeedfa81a2fa2308dc5883c1c68a12ec9041e9d97a78418472515a78299f6bc9b082ad7487a7f1d6aaff3c51e88b1adbf97da5e982e4ba46097866 -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 -EBUILD jitsi-meet-web-bin-1.0.4074.ebuild 837 BLAKE2B aa31d17455f1a9ba3b607dda4e38257d4403b78e59f3a9caa2ff367d477c07e421faf23b0868db5ef022e3bf53e36fecb0b0f880c7e045d45823a1a3aeb3f769 SHA512 756d88ef8a2d9b3a49e3a380e9eb748ed181d1e4a4f845c3217377ea125772466639ca48ab3d8953aeea5e05df1a55e35275cb63067fe5b4fef2b38e922642a7 +AUX meet.example.com-config.js 27299 BLAKE2B 2f66750b918497960b415236e5a6e1f45c07725a7b2c0512e5ee0dfc672b610b8892eb4c2f124f51bd074d3a05d89e8e16f31fbb0c4558fbcb6c5db55efe4014 SHA512 c32776448cddfb3dccbbfaa61b6789cbed5f0a081d2df65197163b1c600907526b87536ec8486d9d06c2bc74f91806e0000fd524ff63984cf9e447d775c3db1f +AUX nginx-jitsi-meet.example 4080 BLAKE2B 07bd9f0bb00bfadfd0672fe0daa4b22f3bcaf0c0d81344a921963231e2de542c0d6afd1d7294badfa5f704eecd885df86a724b6e2127a1e36646bb1d9cc48983 SHA512 5f71c6bda56779ceb6848ba22a95949ef3e941fdd6ea66f6f25e0a016c5c7f21ce0fcad96a31931751a893c260b6335ceab77a5cbb5c3c46d7c0e21db310271e +DIST jitsi-meet-web_1.0.4466-1_all.deb 7166032 BLAKE2B beb10469bfa3156227e3306b8c8a29a07f3ac0acd4e317430b3b831b6a1da47a263bdaa4c6f9ae577e65a3df5aa9ced23e1effefc4c633ae0028e7fec2268dea SHA512 b7101095b7fabfb9c6feb3eccd293930872382357fe81b1aa8c98752ae44318fa69aed364735e1c5be12b52debddc1762e7cf0db307a650b6fd031b9561cc80d +EBUILD jitsi-meet-web-bin-1.0.4466.ebuild 881 BLAKE2B a6b44c581229df30c450abe377a5274cb860e5237781d9b7a0780cd813e27bf8a579bb40228728f3f16b95ff7d96f80a43de43a242d32fdb421757bbdc0a62c7 SHA512 08ea5cc3bcd4d33c4d220c87be37b8f236ace5c4ae2bd964804069c8ed99ea0cd2ba3de0b37d5c7d1e507ac283134cba4d69455420b74fce07a8051515dffe0f diff --git a/net-misc/jitsi-meet-web-bin/files/meet.example.com-config.js b/net-misc/jitsi-meet-web-bin/files/meet.example.com-config.js index 9a297bc..6555e16 100644 --- a/net-misc/jitsi-meet-web-bin/files/meet.example.com-config.js +++ b/net-misc/jitsi-meet-web-bin/files/meet.example.com-config.js @@ -14,9 +14,6 @@ var config = { // Domain for authenticated users. Defaults to . // authdomain: 'jitsi-meet.example.com', - // Jirecon recording component domain. - // jirecon: 'jirecon.jitsi-meet.example.com', - // Call control component (Jigasi). // call_control: 'callcontrol.jitsi-meet.example.com', @@ -37,6 +34,8 @@ var config = { clientNode: 'http://jitsi.org/jitsimeet', // The real JID of focus participant - can be overridden here + // Do not change username - FIXME: Make focus username configurable + // https://github.com/jitsi/jitsi-meet/issues/7376 // focusUserJid: 'focus@auth.jitsi-meet.example.com', @@ -44,6 +43,10 @@ var config = { // testing: { + // Disables the End to End Encryption feature. Useful for debugging + // issues related to insertable streams. + // disableE2EE: false, + // P2P test mode disables automatic switching to P2P when there are 2 // participants in the conference. p2pTestMode: false @@ -54,6 +57,18 @@ var config = { // Disables the auto-play behavior of *all* newly created video element. // This is useful when the client runs on a host with limited resources. // noAutoPlayVideo: false + + // Enable / disable 500 Kbps bitrate cap on desktop tracks. When enabled, + // simulcast is turned off for the desktop share. If presenter is turned + // on while screensharing is in progress, the max bitrate is automatically + // adjusted to 2.5 Mbps. This takes a value between 0 and 1 which determines + // the probability for this to be enabled. + // capScreenshareBitrate: 1 // 0 to disable + + // Enable callstats only for a percentage of users. + // This takes a value between 0 and 100 which determines the probability for + // the callstats to be enabled. + // callStatsThreshold: 5 // enable callstats for 5% of the users. }, // Disables ICE/UDP by filtering out local and remote UDP candidates in @@ -100,11 +115,23 @@ var config = { // participants and to enable it back a reload is needed. // startSilent: false + // Sets the preferred target bitrate for the Opus audio codec by setting its + // 'maxaveragebitrate' parameter. Currently not available in p2p mode. + // Valid values are in the range 6000 to 510000 + // opusMaxAverageBitrate: 20000, + + // Enables redundancy for Opus + // enableOpusRed: false + // Video // Sets the preferred resolution (height) for local video. Defaults to 720. // resolution: 720, + // How many participants while in the tile view mode, before the receiving video quality is reduced from HD to SD. + // Use -1 to disable. + // maxFullResolutionParticipants: 2, + // w3c spec-compliant video constraints to use for video capture. Currently // used by browsers that return true from lib-jitsi-meet's // util#browser#usesNewGumFlow. The constraints are independent from @@ -139,6 +166,7 @@ var config = { // Note that it's not recommended to do this because simulcast is not // supported when using H.264. For 1-to-1 calls this setting is enabled by // default and can be toggled in the p2p section. + // This option has been deprecated, use preferredCodec under videoQuality section instead. // preferH264: true, // If set to true, disable H.264 video codec by stripping it out of the @@ -147,22 +175,6 @@ var config = { // Desktop sharing - // The ID of the jidesha extension for Chrome. - desktopSharingChromeExtId: null, - - // Whether desktop sharing should be disabled on Chrome. - // desktopSharingChromeDisabled: false, - - // The media sources to use when using screen sharing with the Chrome - // extension. - desktopSharingChromeSources: [ 'screen', 'window', 'tab' ], - - // Required version of Chrome extension - desktopSharingChromeMinExtVersion: '0.1', - - // Whether desktop sharing should be disabled on Firefox. - // desktopSharingFirefoxDisabled: false, - // Optional desktop sharing frame rate options. Default value: min:5, max:5. // desktopSharingFrameRate: { // min: 5, @@ -210,6 +222,79 @@ var config = { // Default value for the channel "last N" attribute. -1 for unlimited. channelLastN: -1, + // Provides a way to use different "last N" values based on the number of participants in the conference. + // The keys in an Object represent number of participants and the values are "last N" to be used when number of + // participants gets to or above the number. + // + // For the given example mapping, "last N" will be set to 20 as long as there are at least 5, but less than + // 29 participants in the call and it will be lowered to 15 when the 30th participant joins. The 'channelLastN' + // will be used as default until the first threshold is reached. + // + // lastNLimits: { + // 5: 20, + // 30: 15, + // 50: 10, + // 70: 5, + // 90: 2 + // }, + + // Specify the settings for video quality optimizations on the client. + // videoQuality: { + // // Provides a way to prevent a video codec from being negotiated on the JVB connection. The codec specified + // // here will be removed from the list of codecs present in the SDP answer generated by the client. If the + // // same codec is specified for both the disabled and preferred option, the disable settings will prevail. + // // Note that 'VP8' cannot be disabled since it's a mandatory codec, the setting will be ignored in this case. + // disabledCodec: 'H264', + // + // // Provides a way to set a preferred video codec for the JVB connection. If 'H264' is specified here, + // // simulcast will be automatically disabled since JVB doesn't support H264 simulcast yet. This will only + // // rearrange the the preference order of the codecs in the SDP answer generated by the browser only if the + // // preferred codec specified here is present. Please ensure that the JVB offers the specified codec for this + // // to take effect. + // preferredCodec: 'VP8', + // + // // Provides a way to configure the maximum bitrates that will be enforced on the simulcast streams for + // // video tracks. The keys in the object represent the type of the stream (LD, SD or HD) and the values + // // are the max.bitrates to be set on that particular type of stream. The actual send may vary based on + // // the available bandwidth calculated by the browser, but it will be capped by the values specified here. + // // This is currently not implemented on app based clients on mobile. + // maxBitratesVideo: { + // low: 200000, + // standard: 500000, + // high: 1500000 + // }, + // + // // The options can be used to override default thresholds of video thumbnail heights corresponding to + // // the video quality levels used in the application. At the time of this writing the allowed levels are: + // // 'low' - for the low quality level (180p at the time of this writing) + // // 'standard' - for the medium quality level (360p) + // // 'high' - for the high quality level (720p) + // // The keys should be positive numbers which represent the minimal thumbnail height for the quality level. + // // + // // With the default config value below the application will use 'low' quality until the thumbnails are + // // at least 360 pixels tall. If the thumbnail height reaches 720 pixels then the application will switch to + // // the high quality. + // minHeightForQualityLvl: { + // 360: 'standard, + // 720: 'high' + // } + // }, + + // // Options for the recording limit notification. + // recordingLimit: { + // + // // The recording limit in minutes. Note: This number appears in the notification text + // // but doesn't enforce the actual recording time limit. This should be configured in + // // jibri! + // limit: 60, + // + // // The name of the app with unlimited recordings. + // appName: 'Unlimited recordings APP', + // + // // The URL of the app with unlimited recordings. + // appURL: 'https://unlimited.recordings.app.com/' + // }, + // Disables or enables RTX (RFC 4588) (defaults to false). // disableRtx: false, @@ -226,28 +311,36 @@ var config = { // disabled, then bandwidth estimations are disabled. // enableRemb: false, + // Enables ICE restart logic in LJM and displays the page reload overlay on + // ICE failure. Current disabled by default because it's causing issues with + // signaling when Octo is enabled. Also when we do an "ICE restart"(which is + // not a real ICE restart), the client maintains the TCC sequence number + // counter, but the bridge resets it. The bridge sends media packets with + // TCC sequence numbers starting from 0. + // enableIceRestart: false, + // Defines the minimum number of participants to start a call (the default // is set in Jicofo and set to 2). // minParticipants: 2, - // Use XEP-0215 to fetch STUN and TURN servers. - // useStunTurn: true, - - // Enable IPv6 support. - // useIPv6: true, + // Use TURN/UDP servers for the jitsi-videobridge connection (by default + // we filter out TURN/UDP because it is usually not needed since the + // bridge itself is reachable via UDP) + // useTurnUdp: false // Enables / disables a data communication channel with the Videobridge. // Values can be 'datachannel', 'websocket', true (treat it as // 'datachannel'), undefined (treat it as 'datachannel') and false (don't // open any channel). // openBridgeChannel: true, + openBridgeChannel: 'websocket', // UI // - // Use display name as XMPP nickname. - // useNicks: false, + // Hides lobby button + // hideLobbyButton: false, // Require users to always specify a display name. // requireDisplayName: true, @@ -289,6 +382,18 @@ var config = { // and microsoftApiApplicationClientID // enableCalendarIntegration: false, + // When 'true', it shows an intermediate page before joining, where the user can configure their devices. + // prejoinPageEnabled: false, + + // If true, shows the unsafe room name warning label when a room name is + // deemed unsafe (due to the simplicity in the name) and a password is not + // set or the lobby is not enabled. + // enableInsecureRoomNameWarning: false, + + // Whether to automatically copy invitation URL after creating a room. + // Document should be focused for this option to work + // enableAutomaticUrlCopy: false, + // Stats // @@ -306,10 +411,10 @@ var config = { // callStatsID: '', // callStatsSecret: '', - // enables sending participants display name to callstats + // Enables sending participants' display names to callstats // enableDisplayNameInStats: false, - // enables sending participants email if available to callstats and other analytics + // Enables sending participants' emails (if available) to callstats and other analytics // enableEmailInStats: false, // Privacy @@ -333,15 +438,12 @@ var config = { // connection. enabled: true, - // Use XEP-0215 to fetch STUN and TURN servers. - // useStunTurn: true, - // The STUN servers that will be used in the peer to peer connections stunServers: [ - // { urls: 'stun:jitsi-meet.example.com:4446' }, + // { urls: 'stun:jitsi-meet.example.com:3478' }, { urls: 'stun:meet-jit-si-turnrelay.jitsi.net:443' } - ], + ] // Sets the ICE transport policy for the p2p connection. At the time // of this writing the list of possible values are 'all' and 'relay', @@ -352,13 +454,20 @@ var config = { // iceTransportPolicy: 'all', // If set to true, it will prefer to use H.264 for P2P calls (if H.264 - // is supported). - preferH264: true + // is supported). This setting is deprecated, use preferredCodec instead. + // preferH264: true + + // Provides a way to set the video codec preference on the p2p connection. Acceptable + // codec values are 'VP8', 'VP9' and 'H264'. + // preferredCodec: 'H264', // If set to true, disable H.264 video codec by stripping it out of the - // SDP. + // SDP. This setting is deprecated, use disabledCodec instead. // disableH264: false, + // Provides a way to prevent a video codec from being negotiated on the p2p connection. + // disabledCodec: '', + // How long we're going to wait, before going back to P2P after the 3rd // participant has left the conference (to filter out page reload). // backToP2PDelay: 5 @@ -368,9 +477,28 @@ var config = { // The Google Analytics Tracking ID: // googleAnalyticsTrackingId: 'your-tracking-id-UA-123456-1' + // Matomo configuration: + // matomoEndpoint: 'https://your-matomo-endpoint/', + // matomoSiteID: '42', + // The Amplitude APP Key: // amplitudeAPPKey: '' + // Configuration for the rtcstats server: + // By enabling rtcstats server every time a conference is joined the rtcstats + // module connects to the provided rtcstatsEndpoint and sends statistics regarding + // PeerConnection states along with getStats metrics polled at the specified + // interval. + // rtcstatsEnabled: true, + + // In order to enable rtcstats one needs to provide a endpoint url. + // rtcstatsEndpoint: wss://rtcstats-server-pilot.jitsi.net/, + + // The interval at which rtcstats will poll getStats, defaults to 1000ms. + // If the value is set to 0 getStats won't be polled and the rtcstats client + // will only send data related to RTCPeerConnection events. + // rtcstatsPolIInterval: 1000 + // Array of script URLs to load as lib-jitsi-meet "analytics handlers". // scriptURLs: [ // "libs/analytics-ga.min.js", // google-analytics @@ -378,6 +506,9 @@ var config = { // ], }, + // Logs that should go be passed through the 'log' event if a handler is defined for it + // apiLogLevels: ['warn', 'log', 'error', 'info', 'debug'], + // Information about the jitsi-meet instance we are connecting to, including // the user region as seen by the server. deploymentInfo: { @@ -475,11 +606,31 @@ var config = { // If set to true all muting operations of remote participants will be disabled. // disableRemoteMute: true, + /** + External API url used to receive branding specific information. + If there is no url set or there are missing fields, the defaults are applied. + None of the fields are mandatory and the response must have the shape: + { + // The hex value for the colour used as background + backgroundColor: '#fff', + // The url for the image used as background + backgroundImageUrl: 'https://example.com/background-img.png', + // The anchor url used when clicking the logo image + logoClickUrl: 'https://example-company.org', + // The url used for the image used as logo + logoImageUrl: 'https://example.com/logo-img.png' + } + */ + // brandingDataUrl: '', + + // The URL of the moderated rooms microservice, if available. If it + // is present, a link to the service will be rendered on the welcome page, + // otherwise the app doesn't render it. + // moderatedRoomServiceUrl: 'https://moderated.jitsi-meet.example.com', + // List of undocumented settings used in jitsi-meet /** _immediateReloadThreshold - autoRecord - autoRecordToken debug debugAudioLevels deploymentInfo @@ -502,6 +653,13 @@ var config = { tokenAuthUrl */ + /** + * This property can be used to alter the generated meeting invite links (in combination with a branding domain + * which is retrieved internally by jitsi meet) (e.g. https://meet.jit.si/someMeeting + * can become https://brandedDomain/roomAlias) + */ + // brandingRoomAlias: null, + // List of undocumented settings used in lib-jitsi-meet /** _peerConnStatusOutOfLastNTimeout diff --git a/net-misc/jitsi-meet-web-bin/files/nginx-jitsi-meet.example b/net-misc/jitsi-meet-web-bin/files/nginx-jitsi-meet.example new file mode 100644 index 0000000..8c1ba5e --- /dev/null +++ b/net-misc/jitsi-meet-web-bin/files/nginx-jitsi-meet.example @@ -0,0 +1,139 @@ +server_names_hash_bucket_size 64; + +server { + listen 80; + listen [::]:80; + server_name jitsi-meet.example.com; + + location ^~ /.well-known/acme-challenge/ { + default_type "text/plain"; + root /usr/share/jitsi-meet; + } + location = /.well-known/acme-challenge/ { + return 404; + } + location / { + return 301 https://$host$request_uri; + } +} +server { + listen 443 ssl; + listen [::]:443 ssl; + server_name jitsi-meet.example.com; + +# Mozilla Guideline v5.4, nginx 1.17.7, OpenSSL 1.1.1d, intermediate configuration + ssl_protocols TLSv1.2 TLSv1.3; + ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384; + ssl_prefer_server_ciphers off; + + ssl_session_timeout 1d; + ssl_session_cache shared:SSL:10m; # about 40000 sessions + ssl_session_tickets off; + + add_header Strict-Transport-Security "max-age=63072000" always; + + ssl_certificate /etc/jitsi/meet/jitsi-meet.example.com.crt; + ssl_certificate_key /etc/jitsi/meet/jitsi-meet.example.com.key; + + root /usr/share/jitsi-meet; + + # ssi on with javascript for multidomain variables in config.js + ssi on; + ssi_types application/x-javascript application/javascript; + + index index.html index.htm; + error_page 404 /static/404.html; + + gzip on; + gzip_types text/plain text/css application/javascript application/json image/x-icon application/octet-stream application/wasm; + gzip_vary on; + gzip_proxied no-cache no-store private expired auth; + gzip_min_length 512; + + location = /config.js { + alias /etc/jitsi/meet/jitsi-meet.example.com-config.js; + } + + location = /external_api.js { + alias /usr/share/jitsi-meet/libs/external_api.min.js; + } + + #ensure all static content can always be found first + location ~ ^/(libs|css|static|images|fonts|lang|sounds|connection_optimization|.well-known)/(.*)$ + { + add_header 'Access-Control-Allow-Origin' '*'; + alias /usr/share/jitsi-meet/$1/$2; + + # cache all versioned files + if ($arg_v) { + expires 1y; + } + } + + # BOSH + location = /http-bind { + proxy_pass http://localhost:5280/http-bind; + proxy_set_header X-Forwarded-For $remote_addr; + proxy_set_header Host $http_host; + } + + # xmpp websockets + location = /xmpp-websocket { + proxy_pass http://127.0.0.1:5280/xmpp-websocket?prefix=$prefix&$args; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; + proxy_set_header Host $http_host; + tcp_nodelay on; + } + + # colibri (JVB) websockets for jvb1 + location ~ ^/colibri-ws/default-id/(.*) { + proxy_pass http://127.0.0.1:9090/colibri-ws/default-id/$1$is_args$args; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; + tcp_nodelay on; + } + + location ~ ^/([^/?&:'"]+)$ { + try_files $uri @root_path; + } + + location @root_path { + rewrite ^/(.*)$ / break; + } + + location ~ ^/([^/?&:'"]+)/config.js$ + { + set $subdomain "$1."; + set $subdir "$1/"; + + alias /etc/jitsi/meet/jitsi-meet.example.com-config.js; + } + + #Anything that didn't match above, and isn't a real file, assume it's a room name and redirect to / + location ~ ^/([^/?&:'"]+)/(.*)$ { + set $subdomain "$1."; + set $subdir "$1/"; + rewrite ^/([^/?&:'"]+)/(.*)$ /$2; + } + + # BOSH for subdomains + location ~ ^/([^/?&:'"]+)/http-bind { + set $subdomain "$1."; + set $subdir "$1/"; + set $prefix "$1"; + + rewrite ^/(.*)$ /http-bind; + } + + # websockets for subdomains + location ~ ^/([^/?&:'"]+)/xmpp-websocket { + set $subdomain "$1."; + set $subdir "$1/"; + set $prefix "$1"; + + rewrite ^/(.*)$ /xmpp-websocket; + } +} diff --git a/net-misc/jitsi-meet-web-bin/jitsi-meet-web-bin-1.0.3729.ebuild b/net-misc/jitsi-meet-web-bin/jitsi-meet-web-bin-1.0.3729.ebuild deleted file mode 100644 index 57736a5..0000000 --- a/net-misc/jitsi-meet-web-bin/jitsi-meet-web-bin-1.0.3729.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# 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 strip" - -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 -} diff --git a/net-misc/jitsi-meet-web-bin/jitsi-meet-web-bin-1.0.4074.ebuild b/net-misc/jitsi-meet-web-bin/jitsi-meet-web-bin-1.0.4074.ebuild deleted file mode 100644 index 874aebf..0000000 --- a/net-misc/jitsi-meet-web-bin/jitsi-meet-web-bin-1.0.4074.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# 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 -} diff --git a/net-misc/jitsi-meet-web-bin/jitsi-meet-web-bin-1.0.3928.ebuild b/net-misc/jitsi-meet-web-bin/jitsi-meet-web-bin-1.0.4466.ebuild similarity index 95% rename from net-misc/jitsi-meet-web-bin/jitsi-meet-web-bin-1.0.3928.ebuild rename to net-misc/jitsi-meet-web-bin/jitsi-meet-web-bin-1.0.4466.ebuild index 874aebf..e732cae 100644 --- a/net-misc/jitsi-meet-web-bin/jitsi-meet-web-bin-1.0.3928.ebuild +++ b/net-misc/jitsi-meet-web-bin/jitsi-meet-web-bin-1.0.4466.ebuild @@ -32,6 +32,7 @@ src_install() { 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 + dodoc ${FILESDIR}/nginx-jitsi-meet.example rm -rf usr/share/doc insinto / diff --git a/net-misc/jitsi-videobridge-bin/Manifest b/net-misc/jitsi-videobridge-bin/Manifest index 90764fe..c229959 100644 --- a/net-misc/jitsi-videobridge-bin/Manifest +++ b/net-misc/jitsi-videobridge-bin/Manifest @@ -1,10 +1,6 @@ -AUX config.example 891 BLAKE2B e9437bbe3c337ff3bf6dc09414f8a5bece4bf8a066c87effb34a2c04d049193bd83107af1c6b9acb2766ebeba3721d143fa9e64cc3ac948a52c883c5cc5732a6 SHA512 9ab25d19493cf1e3e128eb820fc2498a56ecff1444e81f1b72eb3538e63d0092f357ccb78c6b2fdcb4d6dc459437201eba8d16ee63c8118205523fff12466f01 +AUX config.example 937 BLAKE2B 580435de59ba5f55307426e60b4ecc1efaca4b10dac39476c74f00daf986e1d2ac375824a9ed93eb8309bb6133d2a1728054ee14f5e36d1d5658913f4132e35c SHA512 b5f2b7f04179601656b2ea6fe602304c60812f469249830748abcbccfd28e19c7285e7446039587df8432c1322173a600e6702c2783321a9945759ee7f88aa50 AUX jitsi-videobridge-init.d 1078 BLAKE2B 5f04bd6f54c3002ebb1ec8d4df9614942de2d6ee22ca531332ae83ed0a3558f33de3673a13e6c0528f6382c895f781300e7b39f32829645cfe48aea2536dbdaa SHA512 9300b363e578bd31967ef895fa33d919ad15ec9dd273367d342867999342e683d6e8f3694cf5d5b35bde6d36579f341bcab0e041b7117d6b425b8e8994596fdb -AUX sip-communicator.properties.example 2816 BLAKE2B af96f81aecf1fb59b3fe58cdebbb9368e3d015c94bcebb9c46fd6f5000de91aecdb6a7b050596d625fe348410df46c18c481389339613b1e5e9f4363da7d01bd SHA512 aa721a740b4bc32e21d48282abad1e17ee439fa3b287d2fb07aaf3f24c14a915133625c74f43868f0b16266949e9533ad3a07483acc45c8f2f18b1ce94ddc747 -DIST jitsi-videobridge2_2.1-157-g389b69ff-1_all.deb 31372664 BLAKE2B 8089f5c4189d82cd0a6643b516ea19cbf21a5bdd1a98cfef7cfad078b4569c29f845df89071b92686272c4643a361a614a13a7355f8be2ef71f44e51f6f8e7b8 SHA512 93d34725227d1418af4c6c9f580e8b57bc79487ca35038eec0444d651b59fe3e86d7be5201ba0862c1f818275afc3fce4f6517449916ffb5728520d22be182b1 -DIST jitsi-videobridge2_2.1-197-g38256192-1_all.deb 33271896 BLAKE2B 3ec750ebb1f9db3f5e86d8d038873897dbdef85fd365db51850b7b7f69020f813891eb12a429f24bb72dc8b1e5369ca54282d00b70b7d1a8fe294a4163cc0ced SHA512 df1829c56ac41a5111ffd8e6013a93bab14e7f0bb4a7e2be76cb9e6f6dbdd9c5604180b3697e1e6b868230c5fcaa337b0d7c963a3ccad6374723d6b8b55e112e -DIST jitsi-videobridge_1126-1_amd64.deb 30440800 BLAKE2B 0b75094f59ba0178d42f9f3906df9f79729a5debcbc7a11c424bdf705c0599516e53763ff4bd0e973ca4027f77ca038432d5911d8a48c67a2f333ae5fec0b5b5 SHA512 cf01785929f5b408678163984f345d322695c7ec2ce2286735213e69941698258cb32d87e38eac609c098bf3bc79205e5e81da6d32e1d25c95d51da5d9cd782e -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-2.1.157.ebuild 1504 BLAKE2B dcaeaf7f82d97f7cc9170858477c41e45773afedb94d1291224a35917f4115ec490204e3c592f5bae21e5750582241b3e2f284133cd1276133445803b99ae3ee SHA512 9e00f5136a7b6f45fc49bbe3ade82e6e6ad67d50e8c9be16a13baeb2eb3e28dd652bdb825125bd741d06a06fb1b2a3d8805e45bac76f3ae38ab0c4c1f5109071 -EBUILD jitsi-videobridge-bin-2.1.197.ebuild 1504 BLAKE2B 70fe8456375651d1949dbc0c05f6a220669b948e4a9ef3f029bd7ed7daf9e476dc5e7b9d519a8c46923fd8e418d611793e43d0fdd99d9d383eaf531b6d932747 SHA512 0d076ecc1c377eed4bde33d385402e25efad1011c253e7f86e21a7dee6e11d53785eece2c08d2ba87953f37185c42f670085e2f4034cbfcb9e926c9563e858ab +AUX jvb.conf.example 195 BLAKE2B f10400f2d4cb5bb40eef213357d5d9fdbd829e25475757c617cc60a033ced6e7312603248c8223f9cec068e989fd29c69d97ddb33fce2c50bbb2781ba40c966e SHA512 90b4c7301b2bde83c7a823cb4934dc0268dfe13230591c535dee0d6c784bb4824d1fc775ba9b45bc8ef844abb00278761d316e1845d08f7e8a91fa5e6e7154ed +AUX sip-communicator.properties.example 2816 BLAKE2B 6ffa5c9e01f1a71c666470aa841e5ad406486ccabd94aa87f5e292330dc2cb532f1df6961f0b29e94129992196602c9e68cae89cb1b5af3836ba2121b00f6519 SHA512 288aa842ae03d96ae0a4b56c9099683da719fb168b12cc962415a0bdbedaafbda069ca0e10383b230e38214e1ec1ba5b3d12d7e6a474222b67362cf880292323 +DIST jitsi-videobridge2_2.1-376-g9f12bfe2-1_all.deb 33757760 BLAKE2B 9df4fa0e834e9a40d34cf048e7c50eaecef8ba853c3aba5378e6f2557baa02d62ea05db3fc355c75cd300cc9387dcbc81720c154bceb842da838c79e1ac9a855 SHA512 03e7fda31c4b5d699313a9c2d0d691a903d4e70939165532fb14e5f4bdd783626dc1da3f160046a348a7aca13001d9974587a465c8de64b1765a90fe07e87a8b +EBUILD jitsi-videobridge-bin-2.1.376.ebuild 1540 BLAKE2B ea2cc30ccc191cc77834c91424fe9728c167ecf3d0d219dd955401c9259be5cc6291a18a6f2b0501e6b50d58c39f6c62ab135a1074fc5886f3f1e818fc71450e SHA512 d0a6bbd05e11ac775ef97aceb8b2469a2718133e4d99fdda6f7fd913e2b7f9c708c3f228c5739b5c0feb5abfe4800ce0115a876c706ef8246aa2efce60ebd638 diff --git a/net-misc/jitsi-videobridge-bin/files/config.example b/net-misc/jitsi-videobridge-bin/files/config.example index c297295..0092c16 100644 --- a/net-misc/jitsi-videobridge-bin/files/config.example +++ b/net-misc/jitsi-videobridge-bin/files/config.example @@ -16,4 +16,4 @@ JVB_SECRET=secret JVB_OPTS="--apis=xmpp," # 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 -Djavax.net.ssl.trustStore=/etc/ssl/certs/java/cacerts -Djavax.net.ssl.trustAnchors=/etc/ssl/certs/java/cacerts" +JAVA_SYS_PROPS="-Dconfig.file=/etc/jitsi/videobridge/jvb.conf -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" diff --git a/net-misc/jitsi-videobridge-bin/files/jvb.conf.example b/net-misc/jitsi-videobridge-bin/files/jvb.conf.example new file mode 100644 index 0000000..4d514b5 --- /dev/null +++ b/net-misc/jitsi-videobridge-bin/files/jvb.conf.example @@ -0,0 +1,12 @@ +videobridge { + http-servers { + public { + port = 9090 + } + } + websockets { + enabled = true + domain = meet.example.com:443" + tls = true + } +} \ No newline at end of file diff --git a/net-misc/jitsi-videobridge-bin/files/sip-communicator.properties.example b/net-misc/jitsi-videobridge-bin/files/sip-communicator.properties.example index b0427eb..75b407c 100644 --- a/net-misc/jitsi-videobridge-bin/files/sip-communicator.properties.example +++ b/net-misc/jitsi-videobridge-bin/files/sip-communicator.properties.example @@ -7,7 +7,7 @@ org.ice4j.ice.harvest.STUN_MAPPING_HARVESTER_ADDRESSES=meet-jit-si-turnrelay.jit org.jitsi.videobridge.ENABLE_STATISTICS=true org.jitsi.videobridge.STATISTICS_TRANSPORT=muc -# Connect to the bitquell.de XMPP server +# Connect to the example.com 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 diff --git a/net-misc/jitsi-videobridge-bin/jitsi-videobridge-bin-1126.ebuild b/net-misc/jitsi-videobridge-bin/jitsi-videobridge-bin-1126.ebuild deleted file mode 100644 index 323e993..0000000 --- a/net-misc/jitsi-videobridge-bin/jitsi-videobridge-bin-1126.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# 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/} - -DESCRIPTION="Jitsi Videobridge is a WebRTC compatible Selective Forwarding Unit" -HOMEPAGE="https://jitsi.org/" - -SRC_URI_BASE="https://download.jitsi.org/stable" -SRC_URI="x86? ( ${SRC_URI_BASE}/${MY_PN}_${PV}-1_i386.deb ) - amd64? ( ${SRC_URI_BASE}/${MY_PN}_${PV}-1_amd64.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 - echo "org.jitsi.videobridge.AUTHORIZED_SOURCE_REGEXP=focus@auth.meet.example.com/.*" > etc/jitsi/videobridge/sip-communicator.properties - - dodoc usr/share/doc/jitsi-videobridge/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 - - newinitd "${FILESDIR}/${MY_PN}-init.d" "${MY_PN}" - - systemd_dounit lib/systemd/system/jitsi-videobridge.service -} diff --git a/net-misc/jitsi-videobridge-bin/jitsi-videobridge-bin-2.1.197.ebuild b/net-misc/jitsi-videobridge-bin/jitsi-videobridge-bin-2.1.197.ebuild deleted file mode 100644 index b9080ce..0000000 --- a/net-misc/jitsi-videobridge-bin/jitsi-videobridge-bin-2.1.197.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# 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}-g38256192-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 -} diff --git a/net-misc/jitsi-videobridge-bin/jitsi-videobridge-bin-2.1.157.ebuild b/net-misc/jitsi-videobridge-bin/jitsi-videobridge-bin-2.1.376.ebuild similarity index 93% rename from net-misc/jitsi-videobridge-bin/jitsi-videobridge-bin-2.1.157.ebuild rename to net-misc/jitsi-videobridge-bin/jitsi-videobridge-bin-2.1.376.ebuild index 5bc3386..0e50957 100644 --- a/net-misc/jitsi-videobridge-bin/jitsi-videobridge-bin-2.1.157.ebuild +++ b/net-misc/jitsi-videobridge-bin/jitsi-videobridge-bin-2.1.376.ebuild @@ -12,7 +12,7 @@ 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 +SRC_URI=${SRC_URI_BASE}/${MY_PN}2_${MY_PV}-g9f12bfe2-1_all.deb RESTRICT="mirror strip" @@ -34,6 +34,7 @@ pkg_setup() { src_install() { insinto /etc/jitsi/videobridge/ doins ${FILESDIR}/config.example + doins ${FILESDIR}/jvb.conf.example doins ${FILESDIR}/sip-communicator.properties.example dodoc usr/share/doc/jitsi-videobridge2/README.Debian