Przeglądaj źródła

Make no-tcp-relay Coturn configuration property configurable

pull/2423/head
Slavi Pantaleev 3 lat temu
rodzic
commit
773cb7d37e
2 zmienionych plików z 6 dodań i 0 usunięć
  1. +3
    -0
      roles/custom/matrix-coturn/defaults/main.yml
  2. +3
    -0
      roles/custom/matrix-coturn/templates/turnserver.conf.j2

+ 3
- 0
roles/custom/matrix-coturn/defaults/main.yml Wyświetl plik

@@ -73,6 +73,9 @@ matrix_coturn_denied_peer_ips: []
matrix_coturn_user_quota: null matrix_coturn_user_quota: null
matrix_coturn_total_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 # Controls whether `no-multicast-peers` is added to the configuration
matrix_coturn_no_multicast_peers_enabled: true matrix_coturn_no_multicast_peers_enabled: true




+ 3
- 0
roles/custom/matrix-coturn/templates/turnserver.conf.j2 Wyświetl plik

@@ -30,7 +30,10 @@ no-dtls
{% endif %} {% endif %}


prod prod

{% if matrix_coturn_no_tcp_relay_enabled %}
no-tcp-relay no-tcp-relay
{% endif %}


{% if matrix_coturn_user_quota != None %} {% if matrix_coturn_user_quota != None %}
user-quota={{ matrix_coturn_user_quota }} user-quota={{ matrix_coturn_user_quota }}


Ładowanie…
Anuluj
Zapisz