Commit Graph

2 Commits

Author SHA1 Message Date
hailin ec17c085b2 fix: setup voice before recv_loop, drain responses, check ws state
Root cause: recv_loop started before open_voice completed, bridge
connection died during UI transition. Now setup completes first.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 05:13:54 -07:00
hailin 216f2fe6a0 feat: add voice relay (Plan B) - ESP32 audio passthrough to Antaf
- voice_bridge_v7.js: audio injection support (type=3 frames)
- relay.py: WebSocket↔TCP bridge with Opus↔PCM + resampling
- test_inject.py: injection verification script
- Injection verified: 1454 frames stable, no crash

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 05:05:24 -07:00