port: 7890 rtc: udp_port: 17892 tcp_port: ...
# ask-ai
a
port: 7890 rtc: udp_port: 17892 tcp_port: 17891 use_external_ip: false turn_servers: - host: 192.168.84.45 port: 3479 protocol: udp username: turnuser credential: secret2024配置如上所示,livekit服务端会去连接这个coturn服务发现吗?还是仅给客户端使用coturn
t
Thanks for reaching out, 徐旭. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
The LiveKit server does not directly connect to the coturn server for its own operations. Instead, the TURN server (like coturn) is configured for client use. Clients will connect to the specified TURN server when direct peer-to-peer connections fail, typically due to network restrictions. If you need assistance configuring LiveKit to use an external TURN server like coturn, let me know, and I can provide further guidance. Sources: config-sample.yaml | Firewall Tips