42 lines
1.2 KiB
YAML
42 lines
1.2 KiB
YAML
# LiveKit Server Configuration for Development
|
|
# https://docs.livekit.io/deploy/configuration/
|
|
|
|
port: 7880
|
|
# Admin/API port (HTTP for rooms/egress APIs)
|
|
# The default admin port is 7880 for WebSocket and HTTP admin API
|
|
# Some builds use separate ports; adjust if needed
|
|
|
|
# API Keys for authentication (secret must be 32+ characters)
|
|
keys:
|
|
devkey: secretsecretsecretsecretsecretsecret
|
|
|
|
# Redis configuration (required for egress, ingress, and multi-node deployments)
|
|
redis:
|
|
address: 192.168.1.19:6379
|
|
password: redispassword
|
|
db: 0
|
|
|
|
# Enable egress service (recording/streaming)
|
|
# Egress requires Redis to coordinate recording jobs
|
|
# If you see "egress not connected (redis required)", ensure Redis config is correct above
|
|
|
|
# Development mode settings
|
|
log_level: debug
|
|
|
|
# RTC configuration
|
|
rtc:
|
|
# Use ephemeral ports for UDP
|
|
port_range_start: 50000
|
|
port_range_end: 60000
|
|
# Allow connection from network (not just localhost)
|
|
use_external_ip: true
|
|
|
|
# Room settings
|
|
room:
|
|
# Auto-create rooms when participants join
|
|
auto_create: true
|
|
# Max participants per room (0 = unlimited)
|
|
max_participants: 0
|
|
# Empty room timeout (in seconds, 0 = no timeout)
|
|
empty_timeout: 300
|