Skip to content

Commit

Permalink
Just use a yaml list for turn servers
Browse files Browse the repository at this point in the history
  • Loading branch information
dbkr committed Sep 25, 2014
1 parent f1c9ab4 commit ec5fb77
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/turn-howto.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion synapse/config/voip.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ec5fb77

Please sign in to comment.