updated config files for voice

This commit is contained in:
boxswapper
2026-03-21 18:03:35 -06:00
parent e5a5f71ac7
commit 59595adf70
4 changed files with 24 additions and 24 deletions

View File

@@ -11,13 +11,14 @@ listeners:
type: http
x_forwarded: true
turn:
uris:
- "turn:{{ matrix_domain1 }}:{{ turn_listen_port }}?transport=udp"
- "turn:{{ matrix_domain1 }}:{{ turn_tls_port }}?transport=tcp"
- "turns:{{ matrix_domain1 }}:{{ turn_tls_port }}?transport=tcp"
turn_shared_secret: "{{ turn_secret }}"
turn_user_lifetime: "86400000" # 1 day in ms (optional)
turn_uris:
- "turn:"{{ matrix_container_name }}":"{{ turn_listen_port }}"?transport=udp"
- "turn:"{{ matrix_container_name }}":"{{ turn_tls_port }}"?transport=tcp"
- "turns:"{{ matrix_container_name }}":"{{ turn_tls_port }}"?transport=tcp"
- "turns:{{ matrix_container_name }}":"{{ turn_listen_port }}"?transport=udp"
turn_shared_secret: "{{ turn_secret }}"
turn_user_lifetime: "1h"
media_store_path: /data/media_store

View File

@@ -1,18 +1,14 @@
listening-port={{ turn_listen_port }}
tls-listening-port={{ turn_tls_port }}
syslog
realm={{ matrix_domain1 }}
static-auth-secret={{ turn_secret }}
lt-cred-mech
use-auth-secret
static-auth-secret="{{ turn_static_secret }}"
realm="{{ matrix_domain1 }}"
# If your host sits behind NAT and you need to force the public IP, uncomment:
# external-ip={{ public_ipv4 }}
# cert=/etc/letsencrypt/live/turn.example.org/fullchain.pem
# pkey=/etc/letsencrypt/live/turn.example.org/privkey.pem
allowed-peer-ip=0.0.0.0/0
listening-ip=0.0.0.0
listening-ip=::0
log-file=/var/log/turnserver.log
verbose
shared-secret="{{ turn_secret }}"
no-udp
external-ip="{{ public_ipv4 }}"
min-port=64000
max-port=65535