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