Juan Navarro d4fc070e4d
livekit.yaml: pion_level initially set to warn instead of error
While default LiveKit's value is error if nothing is provided, warn is a
better value for this option, because it allows seeing issues that
otherwise might happen and be invisible, such as:

WARN  openvidu.transport.pion.pc  webrtc/peerconnection.go:1280  RTPReceiver Receive failed: WebRtcTransport.Produce(): ssrc already exists in RTP listener [ssrc:3696700572] [method:transport.produce]  {..., "transport": "PUBLISHER"}
2024-06-14 13:56:37 +02:00

72 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
udp_port: 7882-7892
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/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