24 lines
1.3 KiB
YAML
24 lines
1.3 KiB
YAML
# HEL-913 统一体验运行包 · voice 配置模板(脱敏)
|
||
#
|
||
# 用法:复制到 <实例>/etc/voice.yaml,把 <...> 占位替换成服务器本地真实值。
|
||
# livekit_url 是 POST /api/voice/session 发给**浏览器**的接入地址:统一实例
|
||
# 页面走 HTTPS(8361),HTTPS 页面连 ws:// 明文会被混合内容策略阻断,因此
|
||
# 语音可用的前提是 wss TLS 桥(deploy/voice/wss_bridge.example.py 在新端口
|
||
# 终结 TLS、回环转发 7880,与 8361 同一张自签证书)——livekit_url 必须填
|
||
# 桥的 wss:// 地址,不是可选件(桥的启停见 README §5)。服务器内部
|
||
# (开房/删房/worker 注册)仍走 livekit_internal 的本机明文 7880。
|
||
# TTS/面板地址在语音窗口获批启动后指向本机 9880/8090;registry/worker_state
|
||
# 落实例数据目录,与产品库同空间,随实例备份。
|
||
livekit_url: wss://192.168.200.12:8363
|
||
livekit_internal: http://127.0.0.1:7880
|
||
api_key: <LiveKit api key,服务器本地>
|
||
api_secret: <LiveKit api secret,服务器本地>
|
||
agent_name: cybergril-voice-agent
|
||
tts_health_url: http://127.0.0.1:9880/health
|
||
panel_url: https://127.0.0.1:8090
|
||
tts_url: http://127.0.0.1:9880
|
||
registry_file: /opt/cybergril-hel913/data/voices.json
|
||
worker_state_file: /opt/cybergril-hel913/data/voice_state_cybergril.json
|
||
token_ttl_seconds: 300
|
||
session_ttl_seconds: 600
|