f7f0b0c45b84520b3ffd5a586a5b176eaa3352c0
Three bugs prevented voice input from working: 1. ResampleTo16000() treated NumFrames as total samples, dividing by channel count again — losing half the audio data with stereo input. The corrupted audio was unrecognizable to ElevenLabs VAD/STT. 2. Sent nonexistent "client_vad" turn mode in session init. The API has no turn.mode field; replaced with turn_timeout parameter. 3. Sent user_activity with every audio chunk, which resets the turn timeout timer and prevents the server from taking its turn. Also: send audio chunks as compact JSON, add message type debug logging, send conversation_initiation_client_data on connect. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Description
Eleven Labs Integration for Unreal Engine 5.5
Languages
C++
90.8%
Python
4.3%
HTML
3.8%
Batchfile
0.5%
C#
0.4%
Other
0.2%