1
0
Fork 0
mirror of https://gitlab.com/famedly/conduit.git synced 2025-08-06 17:40:59 +00:00
conduit/docs/turn.md
2024-09-12 17:37:34 +02:00

989 B

Setting up TURN/STUN

General instructions

Edit/Add a few settings to your existing conduit.toml

# Refer to your Coturn settings.
# `your.turn.url` has to match the REALM setting of your Coturn as well as `transport`.
turn_uris = ["turn:your.turn.url?transport=udp", "turn:your.turn.url?transport=tcp"]

# static-auth-secret of your turnserver
turn_secret = "ADD SECRET HERE"

# alternatively: read turn credentials from a file.
# turn_secret overrides turn_secret_file if both are set.
turn_secret_file = "/path/to/the/secret"

# If you have your TURN server configured to use a username and password
# you can provide these information too. In this case comment out `turn_secret above`!
#turn_username = ""
#turn_password = ""

Apply settings

Restart Conduit.