From 5c77cdd34c4010ef6ee49b5905de6fdfbc28002d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakobus=20Sch=C3=BCrz=20=28admin=29?= Date: Mon, 24 Apr 2023 23:28:49 +0200 Subject: [PATCH] change domains, ports and ip-addresses --- rtc_config_example-coturn.json | 4 ++-- turnserver_example.conf | 9 +++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/rtc_config_example-coturn.json b/rtc_config_example-coturn.json index c64ba92..02ffc1a 100644 --- a/rtc_config_example-coturn.json +++ b/rtc_config_example-coturn.json @@ -2,10 +2,10 @@ "sdpSemantics": "unified-plan", "iceServers": [ { - "urls": "stuns::443" + "urls": "stuns::5349" }, { - "urls": "turns::443", + "urls": "turns::5349", "username": "user", "credential": "password" } diff --git a/turnserver_example.conf b/turnserver_example.conf index fea03e8..8e63eb4 100644 --- a/turnserver_example.conf +++ b/turnserver_example.conf @@ -7,17 +7,18 @@ server-name=pairdrop listening-ip=0.0.0.0 # External IP-Address of the TURN server -external-ip= +# only needed, if coturn is behind a NAT +#external-ip= # relay-ip is needed for tls turns connections -relay-ip= +# it can be set multiple times. A local IP is sufficient (not 127.0.0.1!!) +relay-ip= # Main listening port listening-port=3478 # 443 for TURN over TLS, which can bypass firewalls -# the standard-port is 5349 -tls-listening-port=443 +tls-listening-port=5349 # Further ports that are open for communication min-port=10000