Skip to content

Commit

Permalink
fix: assign livekit node ip (#570)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bloomingg authored Sep 29, 2024
1 parent d4dcc6f commit 200c392
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion HOW_TO_SETUP_LIVEKIT_SERVER.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ OpenIM Chat uses the LiveKit server as the media server to support video calls a
## Quick Start

To self-host LiveKit, start the server with the following Docker command:
> replace `your-server-ip` with your server IP address
```bash
docker run -d \
Expand All @@ -18,7 +19,8 @@ docker run -d \
-v $PWD/livekit/livekit.yaml:/livekit.yaml \
livekit/livekit-server \
--config /livekit.yaml \
--bind 0.0.0.0
--bind 0.0.0.0 \
--node-ip=your-server-ip
```

## Viewing Logs
Expand Down
2 changes: 1 addition & 1 deletion livekit/livekit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ rtc:
tcp_port: 7881
port_range_start: 50000
port_range_end: 60000
use_external_ip: true
use_external_ip: false
enable_loopback_candidate: false
keys:
APIGPW3gnFTzqHH: 23ztfSqsfQ8hKkHzHTl3Z4bvaxro0snjk5jwbp5p6Q3

0 comments on commit 200c392

Please sign in to comment.