Files
web-client/.env.example

19 lines
655 B
Plaintext
Raw Normal View History

2026-03-03 22:16:16 +08:00
# 作者: sue
# 日期: 2026-02-19
# 说明: WebRTC 可选配置,不填时自动使用默认 STUN 与 15s 超时。
# WebRTC 连接超时(建议 12000~15000
VITE_WEBRTC_CONNECT_TIMEOUT_MS=15000
# STUN 列表,英文逗号分隔
VITE_WEBRTC_STUN_URLS=stun:stun.l.google.com:19302,stun:stun1.l.google.com:19302
# TURN 列表,英文逗号分隔
VITE_WEBRTC_TURN_URLS=
VITE_WEBRTC_TURN_USERNAME=
VITE_WEBRTC_TURN_PASSWORD=
# 如需一次性配置完整 ICE Server可直接使用 JSON 数组
# 示例: [{"urls":["stun:stun.l.google.com:19302"]},{"urls":["turn:turn.example.com:3478"],"username":"u","credential":"p"}]
VITE_WEBRTC_ICE_SERVERS=