Forward speech proxy text messages as strings

- Convert non-binary upstream Xunfei WebSocket messages to UTF-8 strings before forwarding them to browser clients.

- Export and test raw WebSocket data to text conversion for speech proxy forwarding.

- Log unparseable speech responses in the report editor instead of silently swallowing them.

- Update report editor, progress, and testing documentation for text-message forwarding.
This commit is contained in:
2026-05-02 06:39:23 +08:00
parent 13d8853532
commit 6bdb12678a
7 changed files with 17 additions and 9 deletions

View File

@@ -95,3 +95,4 @@
| 2026-05-02 | 调整抽帧百分比为两位小数保序保存;自动截图按时间顺序执行,自动插入按配置顺序执行。 |
| 2026-05-02 | 加固报告编辑器语音采集,保留 Web Audio 节点引用、显式恢复 AudioContext并在无识别文本时给出提示。 |
| 2026-05-02 | 对齐讯飞 IAT 音频帧协议,前端按实际采样率重采样到 16k PCM、按小帧发送并使用标准结束帧。 |
| 2026-05-02 | 修复讯飞代理返回方向的消息类型,确保上游 TextMessage 以字符串转发到浏览器,避免前端静默解析失败。 |