diff --git a/matrix/coturn/README.md b/matrix/coturn/README.md index 98bd94f..1d54163 100644 --- a/matrix/coturn/README.md +++ b/matrix/coturn/README.md @@ -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. +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 @@ -148,7 +152,11 @@ each certificate renewal: cd /etc/coturn/ssl cp /etc/letsencrypt/live/turn.matrixdev.example.com/{fullchain,privkey}.pem . chown turnserver:turnserver *.pem + +# We should restart either coturn or LiveKit, they cannot run both! systemctl restart coturn +#systemctl restart livekit-server + ``` Run this automatically after every renewal by adding this line to diff --git a/matrix/element-call/README.md b/matrix/element-call/README.md index f1de568..a46018e 100644 --- a/matrix/element-call/README.md +++ b/matrix/element-call/README.md @@ -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. +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: ```