ConvAgent: enable Voice module so the Opus codec initializes
The project had no [Voice] section, so the engine default bEnabled=false left FVoiceModule::CreateVoiceEncoder() returning null (Encoder/Decoder NULL). Networked agent audio then fell back to raw PCM in large reliable multicast RPCs, overflowing the reliable buffer and dropping VR client connections the moment the avatar spoke. Enabling Voice lets Opus compress (~13-20x), keeping RPCs small. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -166,6 +166,14 @@ DefaultPlatformService=Null
|
||||
[OnlineSubsystemNull]
|
||||
bEnabled=true
|
||||
|
||||
[Voice]
|
||||
; Enable the Voice module so FVoiceModule::CreateVoiceEncoder() returns a valid
|
||||
; Opus encoder/decoder. The engine default is bEnabled=false, which leaves the
|
||||
; encoder NULL and makes networked agent audio fall back to raw PCM in large
|
||||
; reliable multicast RPCs — these overflow the reliable buffer and drop VR
|
||||
; client connections the moment the avatar speaks. With Opus, chunks are ~1-4KB.
|
||||
bEnabled=true
|
||||
|
||||
[/Script/AndroidFileServerEditor.AndroidFileServerRuntimeSettings]
|
||||
bEnablePlugin=True
|
||||
bAllowNetworkConnection=True
|
||||
|
||||
Reference in New Issue
Block a user