The playbook can install and configure Element Call for you.
Element Call is a native Matrix video conferencing application developed by Element, designed for secure, scalable, privacy-respecting, and decentralized video and voice calls over the Matrix protocol. Built on MatrixRTC (MSC4143), it utilizes MSC4195 with LiveKit Server as its backend.
See the project’s documentation to learn more.
[!WARNING] Because Element Call requires a few experimental features in the Matrix protocol, it’s very likely that it only works with the Synapse homeserver.
By default, Element Call is configured to be served on the call.element.example.com domain.
If you’d like to run Element Call on another hostname, see the Adjusting the Element Call URL section below.
By default, this playbook installs Element Call on the call.element. subdomain (call.element.example.com) and requires you to create a CNAME record for call.element, which targets matrix.example.com.
When setting these values, replace example.com with your own.
All dependency services for Element Call (LiveKit Server and Livekit JWT Service) are installed and configured automatically by the playbook. By default, these services are installed on a subpath on the matrix. domain, so no DNS record adjustments are required for them.
In addition to the HTTP/HTTPS ports (which you’ve already exposed as per the prerequisites document), you’ll also need to open ports required by LiveKit Server as described in its own Adjusting firewall rules section.
Add the following configuration to your inventory/host_vars/matrix.example.com/vars.yml file:
matrix_element_call_enabled: true
By tweaking the matrix_element_call_hostname variable, you can easily make the service available at a different hostname than the default one.
Example additional configuration for your vars.yml file:
matrix_element_call_hostname: "element-call.example.com"
[!WARNING] A
matrix_element_call_path_prefixvariable is also available and mean to let you configure a path prefix for the Element Call service, but Element Call does not support running under a sub-path yet.
After configuring the playbook and potentially adjusting your DNS records and adjusting firewall rules, run the installation command: just install-all or just setup-all
Once installed, Element Call integrates seamlessly with Matrix clients like Element Web and Element X on mobile (iOS and Android).