diff --git a/HOW_TO_SETUP_LIVEKIT_SERVER.md b/HOW_TO_SETUP_LIVEKIT_SERVER.md index c8c6dd23..a5762a13 100644 --- a/HOW_TO_SETUP_LIVEKIT_SERVER.md +++ b/HOW_TO_SETUP_LIVEKIT_SERVER.md @@ -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 \ @@ -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 diff --git a/livekit/livekit.yaml b/livekit/livekit.yaml index e199bbf0..b6243f2c 100644 --- a/livekit/livekit.yaml +++ b/livekit/livekit.yaml @@ -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 \ No newline at end of file