mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
docs: replace personal links and small fixes in docs for Livekit TURN
This commit is contained in:
@@ -200,7 +200,7 @@ ports:
|
|||||||
|
|
||||||
### Integration with an external TURN server
|
### Integration with an external TURN server
|
||||||
|
|
||||||
If you've already set up coturn, there may be a port clash between the two services. To fix this, make sure the `min-port` and `max-port` for coturn so it doesn't overlap with LiveKit's range:
|
If you've already set up coturn, there may be a port clash between the two services. To fix this, make sure coturn's `min-port` and `max-port` do not overlap with LiveKit's range:
|
||||||
|
|
||||||
```ini
|
```ini
|
||||||
min-port=50201
|
min-port=50201
|
||||||
@@ -211,21 +211,21 @@ To improve LiveKit's reliability, you can configure it to use your coturn server
|
|||||||
|
|
||||||
Generate a long random secret for LiveKit, and add it to your coturn config under the `static-auth-secret` option. You can add as many secrets as you want - so set a different one for each thing using your TURN server.
|
Generate a long random secret for LiveKit, and add it to your coturn config under the `static-auth-secret` option. You can add as many secrets as you want - so set a different one for each thing using your TURN server.
|
||||||
|
|
||||||
Then configure livekit, making sure to replace `COTURN_SECRET`:
|
Then configure livekit, making sure to replace `COTURN_SECRET` with the ones you generated:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# livekit.yaml
|
# livekit.yaml
|
||||||
rtc:
|
rtc:
|
||||||
turn_servers:
|
turn_servers:
|
||||||
- host: coturn.ellis.link
|
- host: coturn.example.com
|
||||||
port: 3478
|
port: 3478
|
||||||
protocol: tcp
|
protocol: tcp
|
||||||
secret: "COTURN_SECRET"
|
secret: "COTURN_SECRET"
|
||||||
- host: coturn.ellis.link
|
- host: coturn.example.com
|
||||||
port: 5349
|
port: 5349
|
||||||
protocol: tls # Only if you've set up TLS in your coturn
|
protocol: tls # Only if you've set up TLS in your coturn
|
||||||
secret: "COTURN_SECRET"
|
secret: "COTURN_SECRET"
|
||||||
- host: coturn.ellis.link
|
- host: coturn.example.com
|
||||||
port: 3478
|
port: 3478
|
||||||
protocol: udp
|
protocol: udp
|
||||||
secret: "COTURN_SECRET"
|
secret: "COTURN_SECRET"
|
||||||
|
|||||||
Reference in New Issue
Block a user