turn_servers: - host: <政务外网TURN服务器IP> ...
# ask-ai
a
turn_servers: - host: <政务外网TURN服务器IP> port: 3478 protocol: udp username: turnuser credential: secret2024 livekit配置的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 coturn service is not limited to client use; it actively establishes and manages TURN connections. It functions as a server component to handle relayed media when direct peer-to-peer connections are not possible, such as in restricted network environments. The service listens on configured ports for TLS and UDP connections, authenticates clients, and manages relay addresses to ensure reliable communication. Sources: Deploying LiveKit | LiveKit Docs | Ports and Firewall | LiveKit Docs | pkg/service/turn.go