Add config options to turnserver.conf

This commit is contained in:
Stuart Mumford 2019-03-18 11:18:30 +00:00
parent 221703f257
commit c0dc56324a
No known key found for this signature in database
GPG Key ID: 60BC5C03E6276769

View File

@ -11,3 +11,20 @@ no-cli
no-tls no-tls
no-dtls no-dtls
prod prod
no-tcp-relay
{% if matrix_coturn_user_quota is defined %}
user-quota={{ matrix_coturn_user_quota }}
{% endif %}
{% if matrix_coturn_total_quota is defined %}
total-quota={{ matrix_coturn_total_quota }}
{% endif %}
{% if matrix_coturn_denied_peer_ips is defined %}
{% for ip_range in matrix_coturn_denied_peer_ips %}
denied-peer-ip={{ ip_range }}
{% endfor %}
{% endif %}
{% if matrix_coturn_allowed_peer_ips is defined %}
{% for ip_range in matrix_coturn_allowed_peer_ips %}
allowed-peer-ip={{ ip_range }}
{% endfor %}
{% endif %}