Skip to content
Snippets Groups Projects
Commit ec5fb77a authored by David Baker's avatar David Baker
Browse files

Just use a yaml list for turn servers

parent f1c9ab4e
No related branches found
No related tags found
No related merge requests found
...@@ -62,8 +62,8 @@ synapse Setup ...@@ -62,8 +62,8 @@ synapse Setup
Your home server configuration file needs the following extra keys: Your home server configuration file needs the following extra keys:
1. "turn_uris": This needs to be a comma-separated 1. "turn_uris": This needs to be a yaml list
list of public-facing URIs for your TURN server to be given out of public-facing URIs for your TURN server to be given out
to your clients. Add separate entries for each transport your to your clients. Add separate entries for each transport your
TURN server supports. TURN server supports.
......
...@@ -19,7 +19,7 @@ class VoipConfig(Config): ...@@ -19,7 +19,7 @@ class VoipConfig(Config):
def __init__(self, args): def __init__(self, args):
super(VoipConfig, self).__init__(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_shared_secret = args.turn_shared_secret
self.turn_user_lifetime = args.turn_user_lifetime self.turn_user_lifetime = args.turn_user_lifetime
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment