
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-03 20:34:06 +07:00
2026-06-05 16:09:23 +07:00
2026-06-08 21:29:41 +07:00
2026-06-03 20:09:45 +07:00
2026-06-08 21:22:00 +07:00
2026-06-02 12:17:51 +07:00
2026-06-03 03:02:00 +07:00