Browse Source

Update LiveKit JWT service path prefix (`/lk-jwt-service` -> `/livekit-jwt-service`)

element-call-integration
Slavi Pantaleev 11 months ago
parent
commit
0d1112638d
4 changed files with 7 additions and 7 deletions
  1. +2
    -2
      docs/configuring-playbook-element-call.md
  2. +2
    -2
      docs/configuring-playbook-jwt-service.md
  3. +1
    -1
      group_vars/matrix_servers
  4. +2
    -2
      roles/custom/matrix-livekit-jwt-service/defaults/main.yml

+ 2
- 2
docs/configuring-playbook-element-call.md View File

@@ -46,9 +46,9 @@ After configuring the playbook and potentially [adjusting your DNS records](#adj


## Usage ## Usage


Once installed, Element Call integrates seamlessly with Matrix clients like [Element Web](configuring-playbook-client-element-web.md). When the Element Call service is installed, the `/.well-known/matrix/client` file is also updated. A new `org.matrix.msc4143.rtc_foci` section is added to point to your LiveKit JWT service URL (e.g., `https://matrix.example.com/lk-jwt-service`).
Once installed, Element Call integrates seamlessly with Matrix clients like [Element Web](configuring-playbook-client-element-web.md). When the Element Call service is installed, the `/.well-known/matrix/client` file is also updated. A new `org.matrix.msc4143.rtc_foci` section is added to point to your LiveKit JWT service URL (e.g., `https://matrix.example.com/livekit-jwt-service`).


Additionally, the `/.well-known/element/element.json` file is created to help Element clients discover the Element Call URL (e.g., `https://call.example.com`).
Additionally, the `/.well-known/element/element.json` file is created to help Element clients discover the Element Call URL (e.g., `https://call.element.example.com`).


## Required Firewall and Port Forwarding Rules ## Required Firewall and Port Forwarding Rules




+ 2
- 2
docs/configuring-playbook-jwt-service.md View File

@@ -18,7 +18,7 @@ See the project's [documentation](https://github.com/element-hq/lk-jwt-service/)
By default, JWT Service is configured to be served: By default, JWT Service is configured to be served:


- on the Matrix domain (`matrix.example.com`), configurable via `matrix_livekit_jwt_service_hostname` - on the Matrix domain (`matrix.example.com`), configurable via `matrix_livekit_jwt_service_hostname`
- under a `/lk-jwt-service` path prefix, configurable via `matrix_livekit_jwt_service_path_prefix`
- under a `/livekit-jwt-service` path prefix, configurable via `matrix_livekit_jwt_service_path_prefix`


This makes it easy to set it up, **without** having to adjust your DNS records manually. This makes it easy to set it up, **without** having to adjust your DNS records manually.


@@ -40,7 +40,7 @@ After configuring the playbook and potentially [adjusting your DNS records](#adj


## Usage ## Usage


Once installed, a new `org.matrix.msc4143.rtc_foci` section is added to the Element Web client to point to your JWT service URL (e.g., `https://matrix.example.com/lk-jwt-service`).
Once installed, a new `org.matrix.msc4143.rtc_foci` section is added to the Element Web client to point to your JWT service URL (e.g., `https://matrix.example.com/livekit-jwt-service`).


## Additional Information ## Additional Information




+ 1
- 1
group_vars/matrix_servers View File

@@ -6330,7 +6330,7 @@ matrix_livekit_jwt_service_enabled: "{{ matrix_element_call_enabled and livekit_
matrix_livekit_jwt_service_scheme: "{{ 'https' if matrix_playbook_ssl_enabled else 'http' }}" matrix_livekit_jwt_service_scheme: "{{ 'https' if matrix_playbook_ssl_enabled else 'http' }}"


matrix_livekit_jwt_service_hostname: "{{ matrix_server_fqn_matrix }}" matrix_livekit_jwt_service_hostname: "{{ matrix_server_fqn_matrix }}"
matrix_livekit_jwt_service_path_prefix: "/lk-jwt-service"
matrix_livekit_jwt_service_path_prefix: "/livekit-jwt-service"


matrix_livekit_jwt_service_container_image_self_build: "{{ matrix_architecture not in ['amd64', 'arm64'] }}" matrix_livekit_jwt_service_container_image_self_build: "{{ matrix_architecture not in ['amd64', 'arm64'] }}"




+ 2
- 2
roles/custom/matrix-livekit-jwt-service/defaults/main.yml View File

@@ -12,7 +12,7 @@ matrix_livekit_jwt_service_enabled: false


matrix_livekit_jwt_service_scheme: https matrix_livekit_jwt_service_scheme: https
matrix_livekit_jwt_service_hostname: "" matrix_livekit_jwt_service_hostname: ""
matrix_livekit_jwt_service_path_prefix: "/lk-jwt-service"
matrix_livekit_jwt_service_path_prefix: "/livekit-jwt-service"


matrix_livekit_jwt_service_base_path: "{{ matrix_base_data_path }}/livekit-jwt-service" matrix_livekit_jwt_service_base_path: "{{ matrix_base_data_path }}/livekit-jwt-service"


@@ -42,7 +42,7 @@ matrix_livekit_jwt_service_container_image_force_pull: "{{ matrix_livekit_jwt_se
matrix_livekit_jwt_service_container_labels_traefik_enabled: true matrix_livekit_jwt_service_container_labels_traefik_enabled: true
matrix_livekit_jwt_service_container_labels_traefik_docker_network: "{{ matrix_livekit_jwt_service_container_network }}" matrix_livekit_jwt_service_container_labels_traefik_docker_network: "{{ matrix_livekit_jwt_service_container_network }}"
matrix_livekit_jwt_service_container_labels_traefik_hostname: "{{ matrix_livekit_jwt_service_hostname }}" matrix_livekit_jwt_service_container_labels_traefik_hostname: "{{ matrix_livekit_jwt_service_hostname }}"
# The path prefix must either be `/` or not end with a slash (e.g. `/lk-jwt-service`).
# The path prefix must either be `/` or not end with a slash (e.g. `/livekit-jwt-service`).
matrix_livekit_jwt_service_container_labels_traefik_path_prefix: "{{ matrix_livekit_jwt_service_path_prefix }}" matrix_livekit_jwt_service_container_labels_traefik_path_prefix: "{{ matrix_livekit_jwt_service_path_prefix }}"
matrix_livekit_jwt_service_container_labels_traefik_rule: "Host(`{{ matrix_livekit_jwt_service_container_labels_traefik_hostname }}`){% if matrix_livekit_jwt_service_container_labels_traefik_path_prefix != '/' %} && PathPrefix(`{{ matrix_livekit_jwt_service_container_labels_traefik_path_prefix }}`){% endif %}" matrix_livekit_jwt_service_container_labels_traefik_rule: "Host(`{{ matrix_livekit_jwt_service_container_labels_traefik_hostname }}`){% if matrix_livekit_jwt_service_container_labels_traefik_path_prefix != '/' %} && PathPrefix(`{{ matrix_livekit_jwt_service_container_labels_traefik_path_prefix }}`){% endif %}"
matrix_livekit_jwt_service_container_labels_traefik_priority: 0 matrix_livekit_jwt_service_container_labels_traefik_priority: 0


Loading…
Cancel
Save