Why run your own Jitsi server for Element calls
If your organization runs its own Matrix homeserver but sends group calls to a public Jitsi instance, you can point Element at a Jitsi Meet server you operate. The main reason to do this is control: with your own deployment, the media, signaling and authentication for calls stay inside infrastructure your team governs, rather than on a service you do not run. Jitsi Meet is open source under the Apache 2.0 license, and the Jitsi name is a trademark of 8x8, Inc., so self-hosting the software is permitted but the branding belongs to 8x8. The public meet.jit.si instance is a free service operated by 8x8's team, and you have no say over its retention, logging, capacity or availability.
Jitsi is a stack, not a single program. A self-hosted Jitsi Meet deployment combines a web server serving the web app, the Prosody XMPP server, Jicofo (the conference focus) and one or more Jitsi Videobridge media routers. Each of these runs on machines and networks you choose, which is what gives you the data and network control. Ask yourself who must be able to see call metadata, which regions and networks your users join from, and whether calls must stay off the public internet. If the answers point to strict boundaries, a self-hosted server is the natural fit. If the answer is that guests from outside the organization join most calls, plan for how they authenticate and reach the server before you commit.
Before you start, confirm with your security and network teams which ports they will open for media, since a Jitsi deployment needs UDP reachability as well as HTTPS, and confirm that you can issue a certificate from a domain you control, because the Jitsi handbook says self-signed certificates cause problems for audio and video, especially on mobile. These decisions shape the cost and effort of the project more than the software does, so settle them in your written scope before anyone installs anything.
How an Element call reaches your Jitsi stack
The call starts in the Element client, which loads the Jitsi widget from your own domain rather than meet.element.io. Your web server serves the web app, and the call signalling passes through Prosody and Jicofo, which set up the conference. Media then flows to Jitsi Videobridge over 443/TCP for fallback and 10000/UDP for the main path, so both ports must be reachable from users. Check that every hop stays inside your trust boundary and that the certificate on your domain is valid, since the handbook says self-signed certificates cause problems.
Element loads Jitsi from your domain, with media reaching the videobridge on 10000/UDP.
How Jitsi calls run as widgets inside Element
Element does not run Jitsi calls natively. When a user starts a Jitsi call from a Matrix room, Element loads the Jitsi Meet web app as a widget inside the room view, and the widget points at a Jitsi domain that Element has been configured to use. The Matrix room holds the conversation, the membership list and a state event that describes the widget (its URL, its type and who added it). The Jitsi server holds the live media session: the conference room, the participants in it and the audio and video streams. Element is the container that displays the widget and passes it the user's display name and related parameters, so the call itself lives entirely on the Jitsi side. Before you change anything, confirm with the current Element documentation for your version which configuration key sets the default Jitsi domain, the file it lives in and whether it applies to Element Web, desktop or mobile builds, because this has changed across releases and is not something to assume from older guides.
Every client must be able to reach the Jitsi domain directly. The widget is loaded by each participant's browser or app, not proxied through your Matrix homeserver, so a user on a laptop, a phone or a network outside your office must resolve the Jitsi hostname, reach it over HTTPS and open the media ports that Jitsi negotiates. The Jitsi handbook states that HTTPS with a valid certificate for the domain is necessary for working audio and video, and that self-signed certificates cause problems, particularly with mobile clients. Plan this as an external or cross-network service even if your Matrix server is internal, and test from the networks your users actually use, including remote and mobile connections. Also confirm how your Jitsi authentication mode treats room creation, since a user who can open the widget still needs a valid session on the Jitsi side.
Check the widget path before you announce the feature. Place a test call from two Element clients on different networks, one of them on mobile, and confirm that the widget loads, the room name matches the Matrix room, and both participants see and hear each other. If the widget opens but media fails, the Jitsi media path is the likely cause, so review the ports listed in the Jitsi quick start rather than changing Element settings. Record the Element version, the configured domain and the test results, because when you later upgrade Element or move to a different calling model, these records show what was working and which configuration must be carried forward.
Jitsi authentication and hosting options and when each fits
This table compares the Jitsi authentication modes in the Docker guide, the deprecated secure domain method, and the hosted alternatives. Read each row against who needs to create rooms and what identity system you already run. The main takeaway is that JWT with a separate anonymous domain is the handbook's recommended pattern, while the other modes fit narrower cases.
| Option | Who can create rooms | What it needs from identity systems | When it fits |
|---|---|---|---|
| Internal XMPP accounts | Accounts created by an administrator in Prosody | Nothing external; accounts live on your server | Small closed groups where you accept managing a separate user list |
| JWT token authentication | Users whose signed token carries the moderator claim | An application that issues short-lived tokens signed with a shared secret | Your own portal or intranet launches meetings and controls who joins |
| LDAP | Directory users who authenticate against the configured directory | A reachable LDAP directory and a service account for lookups | Organizations that already manage staff identities in a directory |
| Matrix user verification | Users whose Matrix account the server can verify | A Matrix homeserver that Jitsi can query to confirm identity | Teams already running Element and Synapse who want one account for both |
| Hybrid Matrix plus JWT | Matrix-verified users and JWT-holding callers | Both a Matrix homeserver and a token issuer | Mixed audiences where Matrix members and portal users join the same calls |
| Secure domain (deprecated) | Users who type a username and password to create a room | Internal accounts on the secure domain | Not recommended for new installations; the handbook marks it deprecated |
| Anonymous domain for guests | Guests who join without an account once a room exists | A separate guest domain configured alongside the authenticated one | Paired with JWT so external participants can join without credentials |
| JaaS or meet.jit.si | Depends on the hosted service's settings | No infrastructure, but meetings run on a service you do not operate | Low-sensitivity meetings where hosting control is not a requirement |
Setting up Jitsi and connecting it to Element
This sequence takes a Jitsi Meet server from supported operating system to a verified call between two people on separate networks, with Element pointed at your own domain instead of meet.element.io. Each step ends with a check so you know whether to continue.
Confirm operating system and DNS prerequisites
Your infrastructure or platform team confirms the host runs Debian 12 (Bookworm) or newer, or Ubuntu 24.04 or newer, which are the releases the Jitsi Debian/Ubuntu quick start supports. Pick the public hostname for the meeting server now, such as meet.example.com (illustrative), and create its DNS record pointing at the host. Check that the name resolves from outside your network before continuing, because certificate issuance and browser access both depend on it.
Install OpenJDK 17 on the host
The system administrator installs OpenJDK 17, which the quick start requires, using the operating system's package manager. Confirm the Java runtime is version 17 before installing any Jitsi packages, since a different default Java version can cause the Jitsi components to fail at startup. Done when the Java version command reports 17 on the host.
Open the required firewall ports
The network team opens 80/TCP and 443/TCP for the web app and certificate validation, and 10000/UDP for media traffic from the videobridge. Port 5349/TCP (TCP fallback for media) and 3478/UDP (STUN) are optional, but open them if clients behind restrictive firewalls need them. Confirm from a machine outside your network that 443/TCP and 10000/UDP reach the host, since a blocked media port usually shows up as calls that connect but carry no audio or video.
Obtain a valid certificate for the domain
The administrator issues a certificate trusted by browsers and mobile clients for the meeting hostname, usually through the certificate tooling your organization already uses. The Jitsi handbook states that HTTPS with a proper domain certificate is necessary for working audio and video, and that self-signed certificates cause problems, especially on mobile. Done when opening the hostname in a browser shows a valid padlock with no warnings and the chain is complete.
Choose the package or Docker deployment and set authentication
Choose the Debian/Ubuntu package install for a single host managed with system packages, or the official Docker setup, which runs web, prosody, jicofo, jvb, jigasi and jibri as separate containers configured through a .env file. Decide authentication before anyone joins: the handbook marks the older secure domain method as deprecated for new installations and recommends JWT tokens, with a separate anonymous domain for guests. Record the chosen method and the JWT settings. Done when the server responds on the meeting hostname and the authentication mode is written down.
Point Element at your Jitsi domain
An administrator or the Element Web configuration owner sets the widget or Jitsi domain in Element's configuration so new calls use your server rather than meet.element.io. Confirm the exact configuration key in the Element documentation for your Element version, since the option names can change between releases. Check that a call started from Element opens a Jitsi room on your hostname, not on the public instance.
Verify with two clients on separate networks
Two testers start a call from Element on different networks, for example one on the office network and one on a mobile connection (illustrative). Both should see and hear each other, and the browser should show a secure connection to your hostname. Test one participant on a restrictive network to confirm the TCP fallback and optional ports work. Done when audio and video flow in both directions and the results are recorded with the client versions used.
Sizing and scaling the Jitsi bridge tier
The Jitsi project publishes starting sizes for the central server and each videobridge, and a default install is already set up to add bridges later. These figures are upstream suggestions, not guarantees for your meeting volume, so each tier needs to be validated with load testing before it is sized for production.
Central server sizing
The upstream scalable setup guide suggests a machine with 4 CPUs and 8 GB of RAM for the central server, which runs Prosody and Jicofo alongside the web app. This host handles signaling and room coordination rather than media, so it is sized differently from the bridges. Confirm with a load test that signaling stays responsive as the number of concurrent rooms grows, and record the sizing you validated.
- Suggested central server
- 4 CPU, 8 GB
Videobridge sizing
Each videobridge routes the audio and video media for conferences, so it carries most of the CPU and bandwidth load. The upstream guide suggests 4 or 8 CPUs with 8 GB of RAM per bridge. Choose the size from measured participant counts and simulcast behavior in your own meetings, and check that one bridge does not become the single point where quality drops.
Horizontal scaling by adding bridges
The upstream guide notes that the default install is already configured for horizontal scaling, so capacity grows by adding videobridges rather than enlarging one host. Plan how new bridges register with the central server, how conferences are distributed among them, and how a bridge is drained before maintenance. Test a bridge addition and removal in staging so the procedure is known before peak use.
Bandwidth and UDP reachability
Media flows over UDP, and the Debian/Ubuntu quick start expects 10000/UDP to be open, with 5349/TCP available as a TCP fallback. Each bridge needs enough upstream and downstream bandwidth for the participant counts you expect, and the firewall or load balancer in front of it must not block the media path. Ask your network team to confirm the port plan and measure bandwidth during testing, since per-participant bandwidth depends on video quality settings.
Recording with Jibri
Recording and live streaming run through Jibri, a separate component that the Docker setup runs in its own container. Jibri consumes substantial CPU and needs a browser and audio/video capture environment, so it should be sized and scheduled apart from the bridges. Decide whether recordings are needed at all, and if they are, plan storage, retention and the consent process before enabling it.
Jibri repositoryValidating the sizing
The upstream figures are starting points, so run a load test that simulates your expected concurrent meetings, participant counts and video settings against the full chain of central server and bridges. Measure CPU, memory, bandwidth and call quality, then set the bridge count with headroom for failure of one bridge. Repeat the test after upgrades or changes to meeting patterns.
When to move from Jitsi widgets to Element Call
The decision is between two calling paths, not a single switch. Jitsi widgets suit a team that wants a separately operated conferencing service, already running and linked from Matrix rooms as a widget, with its own web app, Prosody, Jicofo and Videobridge. Your Synapse server only has to host the widget link and the room context, so the homeserver changes stay small. Element Call, by contrast, runs group calling through MatrixRTC with LiveKit as the media service and a MatrixRTC authorization service that issues access to it. That path needs Synapse prepared for it, including the experimental features and rate limit settings covered in the sibling topics on Element Call, and it adds components your team must run and monitor.
Weigh the trade-offs in plain terms. A Jitsi deployment is a second product with its own certificates, ports, authentication model (for example JWT tokens, as the Jitsi handbook recommends), capacity planning and upgrades, so the people who run it must be the same people who run your Matrix server or a clearly named team. Element Call keeps calls inside the Matrix stack and its identity model, which reduces the number of separate logins and trust boundaries, but it moves the critical path into Synapse configuration and the LiveKit and authorization services. Before you commit, confirm with your Element and Jitsi documentation which features your clients actually use (screen sharing, recording, guest access, dial-in) and test each path with real users on the networks they will use.
Plan migration as a staged choice. Keep Jitsi widgets running for rooms that depend on them while you prepare Element Call in a test environment, then decide per group or per room type which path becomes the default. Note that the Element Call setup, including TURN, LiveKit and lk-jwt-service, is covered in the sibling topics, so this page does not repeat those steps. Record the decision, the owner of each service and the retirement date for the path you stop offering so users are not left with dead links.
Questions teams ask before running Jitsi with Element
What does running a self-hosted Jitsi server for Element cost?
The cost is mostly people and infrastructure, and it splits into one-time work and recurring work. One-time work covers scoping, building the Jitsi stack, configuring Element to point at your domain, identity integration and testing. Recurring work covers servers and bandwidth for the videobridges, certificates, monitoring, and applying Jitsi release updates. Costs rise with the number of concurrent meetings, the authentication model you choose (JWT and LDAP take more design than internal accounts) and the number of environments you test. Jitsi Meet is Apache 2.0 licensed, so there is no license fee for the software itself. Ask any partner for a quote built from a written scope that lists each of these components separately, with the hosting costs shown as your own cloud or data center charges.
How long does a Jitsi and Element setup take?
Duration depends on how much of the environment is new. A basic single-server install on a supported Linux release, with Element pointed at it, is the smallest case. Timelines grow when you add a dedicated domain and certificate process, JWT or LDAP authentication, multiple videobridges, a separate anonymous domain for guests, or testing across browsers and mobile clients. Network approvals and change windows often set the pace more than the build itself. No duration is stated here because none was supplied for this work. Ask for a timeline in the quote that is tied to named milestones, such as infrastructure ready, authentication tested and pilot users onboarded.
What does our team need to provide for a Jitsi deployment?
Plan for four groups of input before the build starts. DNS: a hostname for the Jitsi web app and, if you use one, a separate domain for guests. Certificates: a valid certificate for that hostname, because the Jitsi handbook says HTTPS with a proper domain certificate is necessary for working audio and video and warns that self-signed certificates cause problems, especially on mobile. Firewall: ports 80/TCP, 443/TCP and 10000/UDP open, with 5349/TCP for TCP fallback and 3478/UDP for STUN as optional items, as listed in the Debian and Ubuntu quick start. Identity: admins who can supply your LDAP, JWT signing or Matrix verification details if you use those options. Confirm each port requirement against the current quick start before you open anything.
Can our own team deploy Jitsi for Element without a partner?
Yes, if your team has Linux server administration skills, experience with reverse proxies and certificates, and someone who can own the identity integration. The official quick start and Docker guide cover the basic install, and the Jitsi handbook documents the authentication options. The work that teams most often underestimate is ongoing: tracking releases, patching the hosts, watching bridge capacity and keeping the JWT or LDAP settings correct as identity systems change. A partner is most useful when you need a fixed scope, a tested authentication design, or a handover document your team can run. Decide which parts you will own after go-live before choosing between doing it yourself and buying a scoped engagement.
Which Jitsi authentication option should we pick for Element users?
The Jitsi handbook marks the older secure domain method, where users create rooms with a username and password, as deprecated for new installations and recommends JWT token authentication with a separate anonymous domain for guests. The Docker guide also lists internal XMPP accounts, LDAP, Matrix user verification and a hybrid Matrix plus JWT mode, configured in the .env file. Pick based on where your users already sign in, who issues the tokens and how you revoke access when someone leaves. Confirm the choice against the current Jitsi handbook before you commit, because the options and their settings can change between releases.
Should we replace Jitsi with Element Call instead?
It depends on what you need from calls. Jitsi widgets keep the conference in a Jitsi Meet instance you run, which suits teams that already operate Jitsi or need its existing features. Element Call is the group calling option built around LiveKit and a MatrixRTC authorization service, and it needs its own prerequisites on the Synapse side, so it is a separate project rather than a setting change. Compare the two on group call behavior in your clients, the services you would have to run, and how your identity and security reviews treat each one. Consider Element Call as the move if you plan to standardize on Matrix-native calling, and keep Jitsi while that evaluation runs.
What ongoing upgrades and testing should we budget for?
Jitsi Meet releases are tagged by build number, for example stable/jitsi-meet_11248, so you will apply updates on a regular schedule. Each update can change the web app, Prosody, Jicofo and the bridges, and the Docker setup changes container behavior between releases, such as the move to rootless, read-only containers in stable-11146. Recurring work therefore includes release review, staging tests with Element clients, certificate renewal, host patching and capacity checks as user counts grow. Ask any partner whether the quote includes these tasks, how many releases it covers and whether retesting is included after each update.
Official Jitsi and Element documentation to read first
Before you change any Element setting, read the Jitsi handbook pages that cover the parts you will own: the Debian/Ubuntu quick start for a single-host install, the Docker guide for containerized deployments, the scalable setup guide for adding videobridges, the secure domain page, and the token authentication page. Read them in that order if you are building from scratch, because the quick start defines the components (web server, Prosody, Jicofo and Videobridge) that every later page refers to. The secure domain page is marked deprecated for new installations, so use it to understand older deployments you may inherit, not as a design basis. The jitsi-meet repository on GitHub is the place to check the current stable release tag before you pin a version, since the handbook pages can lag behind the code.
Treat the handbook as the source for Jitsi behavior and Element's own documentation as the source for how the client connects to it. The handbook's warning that self-signed certificates break audio and video, especially on mobile, should shape your certificate plan before any client test. Confirm with your platform team which authentication mode you will run (JWT tokens, the Docker .env options, or internal accounts) and whether guests need a separate anonymous domain, because those choices change the Element configuration you write later. Note that the handbook and the Docker guide are separate documents covering overlapping ground, so check that the version you follow matches the release you deploy.
How DeployOpen scopes and delivers a Jitsi deployment for Element
DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside your own infrastructure, including the Jitsi Meet server behind Element calls. We start from your Matrix server, network and identity setup, then agree the Jitsi scope in writing before any work begins.
How we scope
- Confirm which Element clients and Matrix accounts will place Jitsi calls, and whether guests join without an account.
- Record the Jitsi host name, certificate plan, network paths and the authentication method chosen for the deployment.
- Agree the written scope, deliverables and timeline with you before work starts, since most engagements are fixed-scope.
How we build
- Install Jitsi Meet with its web, Prosody, Jicofo and videobridge components on servers or containers you control.
- Configure the Element widget and Matrix user verification or token authentication so calls match your access model.
- Test audio and video from browsers and mobile clients, including firewall rules for UDP and TCP media fallback.
How we hand over
- Document the Jitsi configuration, certificate renewal steps, port requirements and the Element widget settings.
- Walk your platform and security teams through the architecture, access controls and the decision points for moving to Element Call later.
- Provide runbooks for common call failures so your team can diagnose issues without an outside engineer.
How we support
- Offer ongoing upgrades, monitoring follow-up and fixes as a retainer after handover, if your team wants continued support.
- Run continuous security testing of the Jitsi and Element setup when a retainer covers it, and retest after fixes.
- Ask any partner you evaluate to confirm how upgrades, certificate renewals and incident response are covered in writing.

