24 lines
916 B
YAML
24 lines
916 B
YAML
---
|
|
# TURN / RTC configuration
|
|
synapse_config_turn_uris: []
|
|
synapse_config_turn_shared_secret: ~
|
|
synapse_config_turn_username: ~
|
|
synapse_config_turn_password: ~
|
|
synapse_config_turn_user_lifetime: "2h"
|
|
synapse_config_turn_allow_guests: false
|
|
|
|
synapse_turn_config_base:
|
|
turn_uris: "{{ synapse_config_turn_uris }}"
|
|
turn_user_lifetime: "{{ synapse_config_turn_user_lifetime }}"
|
|
turn_allow_guests: "{{ synapse_config_turn_allow_guests }}"
|
|
synapse_turn_config: >-2
|
|
{{
|
|
synapse_turn_config_base
|
|
| combine(({ turn_shared_secret: synapse_config_turn_shared_secret })
|
|
if synapse_config_turn_shared_secret | default(false, true) else {})
|
|
| combine(({ turn_username: synapse_config_turn_username })
|
|
if synapse_config_username | default(false, true) else {})
|
|
| combine(({ turn_password: synapse_config_turn_password })
|
|
if synapse_config_turn_password | default(false, true) else {})
|
|
}}
|