aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2022-08-05 13:16:54 +0100
committerNeil Alexander <neilalexander@users.noreply.github.com>2022-08-05 13:16:54 +0100
commit3efc646f2567ced52a3e9980490c463866691414 (patch)
tree065e9eb08c0c1f0a68cd2f799452aaef1f10662f
parentcecd11be9a44ff93bd846fdd4b40a4dcd41f9f70 (diff)
Update TURN config in sample config files
-rw-r--r--dendrite-sample.monolith.yaml9
-rw-r--r--dendrite-sample.polylith.yaml9
2 files changed, 12 insertions, 6 deletions
diff --git a/dendrite-sample.monolith.yaml b/dendrite-sample.monolith.yaml
index 816c4cae..f753c3d9 100644
--- a/dendrite-sample.monolith.yaml
+++ b/dendrite-sample.monolith.yaml
@@ -178,13 +178,16 @@ client_api:
# TURN server information that this homeserver should send to clients.
turn:
- turn_user_lifetime: ""
+ turn_user_lifetime: "5m"
turn_uris:
# - turn:turn.server.org?transport=udp
# - turn:turn.server.org?transport=tcp
turn_shared_secret: ""
- turn_username: ""
- turn_password: ""
+ # If your TURN server requires static credentials, then you will need to enter
+ # them here instead of supplying a shared secret. Note that these credentials
+ # will be visible to clients!
+ # turn_username: ""
+ # turn_password: ""
# Settings for rate-limited endpoints. Rate limiting kicks in after the threshold
# number of "slots" have been taken by requests from a specific host. Each "slot"
diff --git a/dendrite-sample.polylith.yaml b/dendrite-sample.polylith.yaml
index 4784dbaf..856b4ab2 100644
--- a/dendrite-sample.polylith.yaml
+++ b/dendrite-sample.polylith.yaml
@@ -181,13 +181,16 @@ client_api:
# TURN server information that this homeserver should send to clients.
turn:
- turn_user_lifetime: ""
+ turn_user_lifetime: "5m"
turn_uris:
# - turn:turn.server.org?transport=udp
# - turn:turn.server.org?transport=tcp
turn_shared_secret: ""
- turn_username: ""
- turn_password: ""
+ # If your TURN server requires static credentials, then you will need to enter
+ # them here instead of supplying a shared secret. Note that these credentials
+ # will be visible to clients!
+ # turn_username: ""
+ # turn_password: ""
# Settings for rate-limited endpoints. Rate limiting kicks in after the threshold
# number of "slots" have been taken by requests from a specific host. Each "slot"