0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-06-20 11:38:20 +02:00

Just use a yaml list for turn servers

This commit is contained in:
David Baker 2014-09-25 19:18:32 +02:00
parent f1c9ab4e4f
commit ec5fb77a66
2 changed files with 3 additions and 3 deletions

View file

@ -62,8 +62,8 @@ synapse Setup
Your home server configuration file needs the following extra keys:
1. "turn_uris": This needs to be a comma-separated
list of public-facing URIs for your TURN server to be given out
1. "turn_uris": This needs to be a yaml list
of public-facing URIs for your TURN server to be given out
to your clients. Add separate entries for each transport your
TURN server supports.

View file

@ -19,7 +19,7 @@ class VoipConfig(Config):
def __init__(self, args):
super(VoipConfig, self).__init__(args)
self.turn_uris = args.turn_uris.split(",") if args.turn_uris else None
self.turn_uris = args.turn_uris
self.turn_shared_secret = args.turn_shared_secret
self.turn_user_lifetime = args.turn_user_lifetime