Merge pull request #3514 from matrix-org/dbkr/turn_dont_add_defaults

Comment dummy TURN parameters in default config
pull/14/head
David Baker 6 years ago committed by GitHub
commit c91a44572e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      changelog.d/3514.bugfix
  2. 4
      synapse/config/voip.py

@ -0,0 +1 @@
Don't generate TURN credentials if no TURN config options are set

@ -30,10 +30,10 @@ class VoipConfig(Config):
## Turn ##
# The public URIs of the TURN server to give to clients
turn_uris: []
#turn_uris: []
# The shared secret used to compute passwords for the TURN server
turn_shared_secret: "YOUR_SHARED_SECRET"
#turn_shared_secret: "YOUR_SHARED_SECRET"
# The Username and password if the TURN server needs them and
# does not use a token

Loading…
Cancel
Save