fix coturn url

This commit is contained in:
Lars Hahn 2023-08-26 21:16:54 +02:00
parent 14b70537a7
commit b95e10ccf3
2 changed files with 6 additions and 3 deletions

View File

@ -4,7 +4,10 @@ cloud_storage: /opt/storage
cloud_stage: prod cloud_stage: prod
cloud_update: false cloud_update: false
coturn_domain: my_domain.tld ncloud_domain:
- my.domain.tld
coturn_domain: "{{ ncloud_domain[0] }}"
coturn_pass: SomeRandomString coturn_pass: SomeRandomString
coturn_port: 5349 coturn_port: 5349
@ -48,7 +51,7 @@ signaling_janus_host: "{{ signaling_listen_host }}"
signaling_janus_port: 8188 signaling_janus_port: 8188
signaling_janus_configs: signaling_janus_configs:
- 'stun_server = "{{ ncloud_domain[0] }}"' - 'stun_server = "{{ coturn_domain }}"'
- 'stun_port = {{ coturn_port }}' - 'stun_port = {{ coturn_port }}'
- 'full_trickle = true' - 'full_trickle = true'
- 'turn_rest_api_key = "{{ signaling_janus_api_key }}"' - 'turn_rest_api_key = "{{ signaling_janus_api_key }}"'

View File

@ -191,7 +191,7 @@ secret = {{ coturn_pass }}
# A comma-separated list of TURN servers to use. Leave empty to disable the # A comma-separated list of TURN servers to use. Leave empty to disable the
# TURN REST API. # TURN REST API.
servers = turn:{{ ncloud_domain[0] }}:{{ coturn_port }}?transport=udp,turn:{{ ncloud_domain[0] }}:{{ coturn_port }}?transport=tcp servers = turn:{{ coturn_domain }}:{{ coturn_port }}?transport=udp,turn:{{ coturn_domain }}:{{ coturn_port }}?transport=tcp
[geoip] [geoip]
# License key to use when downloading the MaxMind GeoIP database. You can # License key to use when downloading the MaxMind GeoIP database. You can