Files
DiscordClone/livekit.yaml
Bryan1029384756 e407a2d1a5
Some checks failed
Build and Release / build-and-release (push) Failing after 19m13s
android apk
2026-02-18 16:18:40 -06:00

33 lines
1023 B
YAML

# LiveKit Server Configuration (local development)
#
# Usage:
# livekit-server --config livekit.yaml
#
# Or with Docker:
# docker run --rm -p 7880:7880 -p 50000-60000:50000-60000/udp \
# -v $(pwd)/livekit.yaml:/etc/livekit.yaml \
# livekit/livekit-server --config /etc/livekit.yaml
# Ports
port: 7880 # WebSocket/HTTP (matches VITE_LIVEKIT_URL=ws://localhost:7880)
rtc:
port_range_start: 50000
port_range_end: 50100
use_external_ip: false # false for local dev; set true for production
node_ip: 72.26.56.3 # advertise LAN IP so Android/other-network clients can reach
tcp_port: 7881 # ICE-over-TCP fallback (Android emulator blocks UDP high ports)
# API credentials (must match LIVEKIT_API_KEY / LIVEKIT_API_SECRET env vars)
keys:
devkey: oEygk6X4iSnDLr4HbjIY21ewcvLH492qtj
prod_key: oEygk6X4iSnDLr4HbjIY21ewcvLH492qtj
# Logging
logging:
level: info
# Room defaults
room:
empty_timeout: 60 # seconds before empty room is destroyed
max_participants: 50