This document describes the configuration options found in RTCPilot/RTCPilot/config.yaml. Restart the service after making changes.
log_level: Log level. One ofdebug,info,warn,error. Usedebugfor development troubleshooting.log_path: File path for log output, e.g.server0.log.- (Note:
log_consolewas previously available to enable console logging; it may be omitted depending on your configuration.)
listen_ip: IP address to bind to (e.g.0.0.0.0to listen on all interfaces).port: Port for WebSocket (for example7443).
candidates is a list of network endpoints used for RTP/UDP traffic. Each entry contains:
nettype: Network type (e.g.udp).candidate_ip: The IP presented to peers (often a public IP or NAT mapping).listen_ip: Local binding IP (the server's actual bind address, often0.0.0.0or a private address).port: Port number for the candidate (RTP/UDP port).
Use case: set candidate_ip to your public IP when the server is behind NAT, and listen_ip to the local bind address.
cert_path: Path to TLS/SSL certificate file (used for secure WebSocket and DTLS).key_path: Path to the private key file. Keep the key secure and with proper filesystem permissions.
downlink_discard_percent: Percentage of downlink packets to drop (for testing), default0.uplink_discard_percent: Percentage of uplink packets to drop (for testing), default0.
enable: Enable communication with thepilot_centerservice (true/false).host:pilot_centerhostname or IP.port:pilot_centerport.subpath: Path prefix used when registering/reporting (e.g./pilot/center).
When enabled, the SFU registers to pilot_center for discovery and information forwarding. Ensure pilot_center is reachable and started according to pilot_center/requirements.txt.
relay_server_ip: Relay server IP for RTP relay scenarios.relay_udp_start/relay_udp_end: UDP port range used by the relay for forwarding.send_discard_percent/recv_discard_percent: Packet drop percentages for relay send/receive (for testing).
enable: Enable voice agent functionality (true/false).agent_ip: IP address the VoiceAgent service binds to.agent_port: Port number for VoiceAgent service.subpath: Path prefix for VoiceAgent service registration (e.g./voiceagent).
The open source repository for voice_agent service: https://github.com/runner365/VoiceAgent