JItsi COnference FOcus is a server side focus component used in Jitsi Meet conferences.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
bgrozev 6301519a19
fix: Fix missing properties in response to conference request. (#1262)
3 weeks ago
.github Update github action versions (#1215) 8 months ago
debian feat: Update jicofo start script to check for config. (#1176) 1 year ago
doc Add pointer to Shibboleth replacement 3 years ago
jicofo fix: Fix missing properties in response to conference request. (#1262) 3 weeks ago
jicofo-common fix: Fix ChatRoomImpl log level. (#1259) 1 month ago
jicofo-selector fix: Use type Transcriber for transcribers. (#1261) 3 weeks ago
lib Remove OSGi, jitsi-desktop, libjitsi. (#683) 5 years ago
resources feat: Update jicofo start script to check for config. (#1176) 1 year ago
script Bump Smack version to 4.4.3; make API changes accordingly. (#802) 4 years ago
.editorconfig Update for ktlint 1.0.0 (ktlint-maven-plugin 3.0.0). (#1116) 2 years ago
.gitattributes Add .gitattributes to prevent future EOL problems 10 years ago
.gitignore Split a jicofo-selector maven artefact. (#956) 3 years ago
LICENSE Update LICENSE 11 years ago
README.md Clean up README some more. (#1030) 3 years ago
SECURITY.md Add hackerone link to SECURITY.md. (#1164) 1 year ago
checkstyle.xml style: Fix left curly checkstyle. (#975) 3 years ago
pom.xml fix: Fix log level (update jitsi-utils). (#1255) 2 months ago

README.md

Jicofo

JItsi COnference FOcus is a signaling server, one of the backend components in the Jitsi Meet stack.

Overview

Jitsi Meet conferences are associated with an XMPP Multi-User Chat (MUC) room. The MUC functionality is provided by the XMPP server (prosody).

Jicofo joins the conference MUC and is then responsible for initiating a Jingle session with each participant (in this sense it is the "focus" of the conference, which is where its name comes from). While Jicofo manages and terminates Jingle sessions, it does not process any of the media (audio/video). Instead, it uses one or more Jitsi Videobridge instances.

Jicofo is responsible for selecting a Jitsi Videobridge for each participant, and manages the set of videobridges for the conference with the COLIBRI protocol (colibri version 2 is now used, the format in XEP-0340 is now deprecated).

In general the conference participants and videobridge instances are accessed through different XMPP connections -- the configured Client and Service connections, respectively, though they may coincide.

Connection between Jicofo and the other components in the Jitsi Meet stack.

Configuration

Jicofo takes its configuration from a hocon config file, usually installed in /etc/jitsi/jicofo/jicofo.conf. See the reference.conf file for the available options.

Installation

Debian

The recommended way to install Jicofo and Jitsi Meet is to follow the Quick Install Guide for debian-based systems.

Binaries

You can download Debian/Ubuntu binaries here:

Docker

Jicofo is available as a docker image as part of docker-jitsi-meet.

Manual

This section is only required for a manual setup, not necessary when using Quick Install or other methods.

Prosody configuration

Jicofo needs privileges to create Multi-User Chat rooms. To grant these privileges we create an account for it and add it to the global admins list. We create a new virtual host, because the one used by clients only supports anonymous authentication. We add this to Prosody's config file (/etc/prosody/prosody.cfg.lua by default):

admins = { focus@auth.jitsi.example.com }
VirtualHost "auth.jitsi.example.com"
    authentication = "internal_hashed"

Then restart Prosody and create the user account:

sudo prosodyctl restart
sudo prosodyctl register focus auth.jitsi.example.com focuspassword

Building Jicofo

Build using maven with:

mvn install

This will create a package in jicofo/target/jicofo-1.1-SNAPSHOT-archive.zip

Running Jicofo

Extract the distribution package and run with jicofo.sh.

Certificates

Jicofo uses an XMPP user connection (on port 5222 by default), and since the upgrade to smack4 it verifies the server's certificate. In a default installation the debian installation scripts take care of generating a self-signed certificate and adding it to the keystore.

For situations in which the certificate is not trusted you can add it to the store by:

On Linux

sudo cp cert.pem /usr/local/share/ca-certificates/ 
sudo update-ca-certificates

On MacOS X

On Mac java uses its own keystore, so adding the certificate to the system one does not work. Add it to the java keystore with:

sudo keytool -importcert -file cert.pem -keystore /Library/Java//JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/security/cacerts

Note that if the XMPP server you are connecting to is a prosody instance configured with the jitsi-meet scripts, then you can find the certificate in:

/var/lib/prosody/$JICOFO_AUTH_DOMAIN.crt