Skip to main content

Voice processing on dedicated servers

By default, voice data is “just” passed through on the dedicated server. This means the dedicated server does not decode the voice data or perform any other processing on it.

Since version 1.6, this can be changed to have voice processing support similar to clients and listen servers. This includes:

  • Decoding of compressed voice data. Used for recording features.
  • Tracking talking state and calling delegates. (UOnsetVoipTalker::IsTalking, GetLastVoipRelevancy, OnVoipAudioDataReceived, GetCurrentAmplitude)
  • Delegates OnVoipAudioDataReceived and OnVoipTalkingStateChange.

To enable those features on a dedicated server set bEnableVoiceProcessingOnDedicatedServer = true in the OnsetVoip.Build.cs file.

bEnableVoiceProcessingOnDedicatedServer setting in OnsetVoip.Build.cs

note

Dedicated servers require a source build of the engine.

I also recommend using the plugin as a project plugin instead of an engine plugin.