
MythEclipseandClaude Opus 4.8
314d2baec4
feat(voice): implement full voice transmit (Browser → Discord)
Frontend (useAudioTransmit.ts):
- Capture microphone via getUserMedia
- Convert Float32 to Int16 PCM at 24kHz mono
- Base64 encode and send as JSON via WebSocket
- Send voice:transmit:start/stop commands on start/stop
Backend (ws/server.ts):
- Handle voice_transmit messages from browser
- Forward PCM data to Redis channel backend:voice:transmit
- Handle voice_command messages and forward to backend:command
- discord-gateway VoiceTransmitter receives and plays to voice channel
Flow:
Browser Mic → getUserMedia → ScriptProcessor → Int16 PCM → base64 →
WebSocket JSON → Backend → Redis → VoiceTransmitter → Discord Voice Channel
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-08 21:29:41 +07:00
..
2026-06-08 21:29:41 +07:00
2026-06-08 21:04:57 +07:00
2026-06-08 21:29:41 +07:00