forked from Fediversity/Fediversity
Updated bit of TURN documentation.
This commit is contained in:
parent
4c6b1830bf
commit
d22af803b2
|
@ -11,6 +11,10 @@ to use TURN over IPv6, we'll stick to a strict IPv4-only configuration.
|
||||||
|
|
||||||
Also, because VoIP traffic is only UDP, we won't do TCP.
|
Also, because VoIP traffic is only UDP, we won't do TCP.
|
||||||
|
|
||||||
|
IMPORTANT! TURN can also be offered by [LiveKit](../element-call#livekit), in
|
||||||
|
which case you should not run coturn (unless you don't use LiveKit's built-in
|
||||||
|
TURN server).
|
||||||
|
|
||||||
|
|
||||||
# Installation
|
# Installation
|
||||||
|
|
||||||
|
@ -148,7 +152,11 @@ each certificate renewal:
|
||||||
cd /etc/coturn/ssl
|
cd /etc/coturn/ssl
|
||||||
cp /etc/letsencrypt/live/turn.matrixdev.example.com/{fullchain,privkey}.pem .
|
cp /etc/letsencrypt/live/turn.matrixdev.example.com/{fullchain,privkey}.pem .
|
||||||
chown turnserver:turnserver *.pem
|
chown turnserver:turnserver *.pem
|
||||||
|
|
||||||
|
# We should restart either coturn or LiveKit, they cannot run both!
|
||||||
systemctl restart coturn
|
systemctl restart coturn
|
||||||
|
#systemctl restart livekit-server
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Run this automatically after every renewal by adding this line to
|
Run this automatically after every renewal by adding this line to
|
||||||
|
|
|
@ -196,6 +196,9 @@ lk-jwt-service, so it shouldn't be reachable from the outside world.
|
||||||
|
|
||||||
The `xxx: xxxx` is the key and secret as generated before.
|
The `xxx: xxxx` is the key and secret as generated before.
|
||||||
|
|
||||||
|
See [LiveKit's config documentation](https://github.com/livekit/livekit/blob/master/config-sample.yaml)
|
||||||
|
for more options.
|
||||||
|
|
||||||
Now define a systemd servicefile, like this:
|
Now define a systemd servicefile, like this:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue