Make no-tcp-relay Coturn configuration property configurable

This commit is contained in:
Slavi Pantaleev 2023-01-26 17:08:05 +02:00
parent bf23d63f82
commit 773cb7d37e
2 changed files with 6 additions and 0 deletions

View File

@ -73,6 +73,9 @@ matrix_coturn_denied_peer_ips: []
matrix_coturn_user_quota: null
matrix_coturn_total_quota: null
# Controls whether `no-tcp-relay` is added to the configuration
matrix_coturn_no_tcp_relay_enabled: true
# Controls whether `no-multicast-peers` is added to the configuration
matrix_coturn_no_multicast_peers_enabled: true

View File

@ -30,7 +30,10 @@ no-dtls
{% endif %}
prod
{% if matrix_coturn_no_tcp_relay_enabled %}
no-tcp-relay
{% endif %}
{% if matrix_coturn_user_quota != None %}
user-quota={{ matrix_coturn_user_quota }}