feat: 添加 s2s 实时语音 WebSocket 地址支持,并更新相关配置

This commit is contained in:
Pine
2026-08-18 07:47:25 +08:00
parent d70d9d5fbd
commit 566656aab9
6 changed files with 27 additions and 7 deletions
+3 -1
View File
@@ -10,7 +10,8 @@
"api_base": "http://192.168.1.9:10085",
"mqtt_url": "ws://192.168.1.3:8083/mqtt",
"mqtt_username": "dpm",
"mqtt_password": "123456"
"mqtt_password": "123456",
"voice_url": "ws://192.168.1.3:8765/v1/realtime"
}
```
@@ -29,6 +30,7 @@
DPM_MQTT_HOST=192.168.1.3
DPM_MQTT_PORT=1883
DPM_MQTT_WS=ws://192.168.1.3:8083/mqtt # 展播端可访问的 WebSocket 地址
DPM_VOICE_WS=ws://192.168.1.3:8765/v1/realtime # s2s 语音 WS(可选,默认按主机推导)
MQTT_USERNAME=dpmserver
MQTT_PASSWORD=你的密码
```