Juan Navarro 345dc5327d
Use "port_range_start/end" instead of udp_port for ICE range
mediasoup is not compatible with the UDP port multiplexing that LiveKit
uses when the `udp_port` setting is enabled, so it won't work anyways
and it's better to bt consistent between both Pion and mediasoup
engines.

Also extend the port range to 100 ports, given that now the multiplexing
feature won't be in use. 100 seems like a big enough range for local
development.
2024-07-08 18:20:47 +02:00

73 lines
2.2 KiB
YAML

# OpenVidu configuration
openvidu:
analytics:
enabled: true
interval: 10s
expiration: 768h # 32 days
mongo_url: mongodb://mongoadmin:mongoadmin@mongo:27017
rtc:
# WebRTC engine selection
# Values: pion, mediasoup
engine: pion
mediasoup:
# Global toggle to enable debugging logs from mediasoup.
# In most debugging cases, using just an asterisk ("*") here is enough,
# but this can be fine-tuned for specific log levels.
# More info: https://mediasoup.org/documentation/v3/mediasoup/debugging/
# Default: "" (empty).
# Overridden by the `DEBUG` env var, if it is set.
debug: ""
# Logging level for logs generated by mediasoup.
# More info: https://mediasoup.org/documentation/v3/mediasoup/debugging/
# Values: debug, warn, error, none.
# Default: error.
log_level: error
# Comma-separated list of log tag names, for debugging.
# More info: https://mediasoup.org/documentation/v3/mediasoup/debugging/
# Values: info, ice, dtls, rtp, srtp, rtcp, rtx, bwe, score, simulcast, svc, sctp, message.
# Default: [info, ice, rtp, rtcp, message].
log_tags: [info, ice, rtp, rtcp, message]
# LiveKit configuration
port: 7880
bind_addresses:
- ""
rtc:
tcp_port: 7881
port_range_start: 7900
port_range_end: 7999
redis:
address: redis:6379
username: ""
password: redispassword
db: 0
use_tls: false
turn:
enabled: true
udp_port: 3478
relay_range_start: 40000
relay_range_end: 50000
keys:
devkey: secret
webhook:
api_key: devkey
urls:
- http://host.docker.internal:4443/livekit/webhook # For OpenVidu 2 compatibility
- http://host.docker.internal:6080/livekit/webhook
- http://default-app:6080/livekit/webhook
ingress:
rtmp_base_url: rtmp://localhost:1935/rtmp
whip_base_url: http://localhost:8085/whip
logging:
# Logging level for the LiveKit server.
# Values: debug, info, warn, error.
# Default: info.
level: info
# Logging level for the Pion WebRTC engine.
# Values: trace, debug, info, warn, error.
# Default: error.
pion_level: warn