Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
synapse
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Maunium
synapse
Commits
ec5fb77a
Commit
ec5fb77a
authored
10 years ago
by
David Baker
Browse files
Options
Downloads
Patches
Plain Diff
Just use a yaml list for turn servers
parent
f1c9ab4e
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/turn-howto.rst
+2
-2
2 additions, 2 deletions
docs/turn-howto.rst
synapse/config/voip.py
+1
-1
1 addition, 1 deletion
synapse/config/voip.py
with
3 additions
and
3 deletions
docs/turn-howto.rst
+
2
−
2
View file @
ec5fb77a
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
synapse/config/voip.py
+
1
−
1
View file @
ec5fb77a
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment