5b3a11a733dbae4f8437b5e2eff537971e7f3767
Sending Opus over Unreliable multicast caused missing words and crackling: Opus is a stateful inter-frame codec, so a dropped or reordered packet desyncs the decoder and corrupts all following frames until the stream resets. Unreliable was originally adopted only to stop a reliable-buffer overflow — but that overflow came from 32-152KB raw-PCM RPCs (pre-Opus). With Opus + sub-chunking each RPC is ~2KB (2-3 partial bunches) at ~1.25 RPC/s, so the 512-bunch reliable buffer stays in single digits and cannot overflow. Reliable restores ordered, lossless delivery. - MulticastReceiveAgentAudio: Unreliable -> Reliable. - Keep the 40-frame (0.8s, ~2KB) sub-chunking — it is what keeps packets small enough for Reliable to be safe. - Harden the raw-PCM fallback (only reached if Opus init fails): hard-cap one message at 320KB and drop the tail so it can never overflow the reliable buffer, and warn on every fallback (config bug: [Voice]). Co-Authored-By: Claude Opus 4.8 <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%