docs: use a real generated secret in coturn example

Replace placeholder YOUR_RANDOM_SECRET with an actual openssl rand -hex 32
output, with a note to generate a fresh one. Keeps the example copy-pasteable.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Fredrik Johansson
2026-06-25 21:16:48 +02:00
parent ea1eb767f1
commit 02eb83b63a

View File

@@ -104,12 +104,18 @@ apt install coturn
listening-port=3478 listening-port=3478
fingerprint fingerprint
use-auth-secret use-auth-secret
static-auth-secret=YOUR_RANDOM_SECRET static-auth-secret=b06c504fd091d23c1ae3699337259d7883a0af1c72fe782044de19f314a267aa
realm=your-domain.com realm=your-domain.com
no-tcp-relay no-tcp-relay
``` ```
Replace `YOUR_RANDOM_SECRET` with any random string (e.g. `openssl rand -hex 32`). Enable and start: Generate your own secret (do not reuse the example above):
```bash
openssl rand -hex 32
```
Enable and start:
```bash ```bash
systemctl enable coturn systemctl enable coturn
@@ -122,7 +128,7 @@ systemctl start coturn
window.WASTE_CONFIG = { window.WASTE_CONFIG = {
signalURL: 'wss://your-domain.com/ws', signalURL: 'wss://your-domain.com/ws',
turnURL: 'turn:your-domain.com:3478', turnURL: 'turn:your-domain.com:3478',
turnSecret: 'YOUR_RANDOM_SECRET', turnSecret: 'b06c504fd091d23c1ae3699337259d7883a0af1c72fe782044de19f314a267aa',
} }
``` ```