Voice Troubleshooting

No Audio Is Sent

VoiceClient Created After Joining

A VoiceClient created inside a room sends nothing until the next join. Create it before joining.

Service Is Not Called

Frames are only sent from VoiceClient::Service(). Call it every tick.

Transmit Is Off

LocalVoice::IsTransmitting() returns false while transmit is disabled or voice detection hears input below its threshold.

No Input

LocalVoice::GetLevel() stays at 0 when PushAudio() is not called or the capture device delivers silence.

CreateLocalVoice Returns nullptr

The SDK log names the reason, usually an invalid option.

No Audio Is Received

No Remote Voice Is Added

The clients are not in the same room, or they use a different App Id or App Version.

A Remote Voice Stays Silent

The audio callback does not read the voice's PlaybackBuffer, the stream format does not match the output or the stream goes to an interest group the client has not subscribed to.

Choppy or Delayed Audio

Service Tick or Playback Delay

A long service tick delays every frame. A playback delay that is too low causes underruns, and one that is too high adds lag.

Packet Loss

A rising FramesLost in the VoiceStats returned by VoiceClient::GetStats() points to packet loss on the network.

Slow Audio Callback

A callback that holds locks while mixing, allocates memory or does heavy work misses its deadlines and stutters.

Echo and Feedback

Players hear themselves when the speaker output reaches the microphone. Headphones fix it. See Echo and Feedback.

Game Events Break Voice

Audio breaks when the game sends its own events with the codes 202 or 203. See Reserved Event Codes.

Last updated on

Back to top