| @@ -137,3 +137,12 @@ matrix_element_call_hsts_preload_enabled: false | |||||
| # Enable or disable metrics collection | # Enable or disable metrics collection | ||||
| matrix_element_call_metrics_enabled: false | matrix_element_call_metrics_enabled: false | ||||
| matrix_element_call_metrics_port: 2112 | matrix_element_call_metrics_port: 2112 | ||||
| # Controls the default_server_config/m.homeserver/base_url property in the config.json file. | |||||
| matrix_element_call_config_default_server_config_m_homeserver_base_url: "{{ matrix_homeserver_url }}" | |||||
| # Controls the default_server_config/m.homeserver/server_name property in the config.json file. | |||||
| matrix_element_call_config_default_server_config_m_homeserver_server_name: "{{ matrix_domain }}" | |||||
| # Controls the livekit/livekit_service_url property in the config.json file. | |||||
| matrix_element_call_config_livekit_livekit_service_url: "{{ matrix_livekit_jwt_service_public_url }}" | |||||
| @@ -1,11 +1,11 @@ | |||||
| { | { | ||||
| "default_server_config": { | "default_server_config": { | ||||
| "m.homeserver": { | "m.homeserver": { | ||||
| "base_url": "{{ matrix_homeserver_url }}", | |||||
| "server_name": "{{ matrix_domain }}" | |||||
| "base_url": {{ matrix_element_call_config_default_server_config_m_homeserver_base_url | to_json }}, | |||||
| "server_name": {{ matrix_element_call_config_default_server_config_m_homeserver_server_name | to_json}} | |||||
| } | } | ||||
| }, | }, | ||||
| "livekit": { | "livekit": { | ||||
| "livekit_service_url": "{{ matrix_livekit_jwt_service_public_url }}" | |||||
| "livekit_service_url": {{ matrix_element_call_config_livekit_livekit_service_url | to_json }} | |||||
| } | } | ||||
| } | } | ||||
| @@ -1,5 +1,5 @@ | |||||
| SPDX-FileCopyrightText: 2022 MDAD project contributors | SPDX-FileCopyrightText: 2022 MDAD project contributors | ||||
| SPDX-FileCopyrightText: 2024 wjbeckett | SPDX-FileCopyrightText: 2024 wjbeckett | ||||
| SPDX-FileCopyrightText: 2024 Slavi Pantaleev | |||||
| SPDX-FileCopyrightText: 2024 - 2025 Slavi Pantaleev | |||||
| SPDX-License-Identifier: AGPL-3.0-or-later | SPDX-License-Identifier: AGPL-3.0-or-later | ||||