Added configuration bit for TURN in Synapse.

This commit is contained in:
Hans van Zijst 2024-11-15 23:19:14 +01:00 committed by Valentin Gagarin
parent 163a2d2f4f
commit e871bc4fdb

View file

@ -403,3 +403,22 @@ able to set these, of course. But when you use LDAP, which provides these
values, you don't want users to change those. values, you don't want users to change those.
See for more options [Synapse's documentation](https://element-hq.github.io/synapse/latest/usage/configuration/config_documentation.html#registration). See for more options [Synapse's documentation](https://element-hq.github.io/synapse/latest/usage/configuration/config_documentation.html#registration).
# TURN
Check for more information about [how to configure the TURN
server](../coturn). Once you've set up your TURN server, configure it in
Synapse, in `conf.d/turn.yaml`:
```
turn_shared_secret: "<long random string>"
turn_uris:
- "turn:turn.matrixdev.example.com?transport=udp"
- "turn:turn.matrixdev.example.com?transport=tcp"
turn_user_lifetime: 86400000
turn_allow_guests: true
```
Restart Synapse to activate this bit.