Files
DiscordClone/livekit.yaml

31 lines
841 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
# 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