Documentation

Development

User Acquisition

Monetization

Industry

Vivox Core SDK

Vivox Core SDK

Vivox
​
​
Vivox Core SDK
  • Overview
  • Before you begin
  • Get started
  • Release notes
  • Developer Guide
    • Client SDK basics
    • Channels
    • Presence management
    • Messaging
    • Manage audio
    • Couch co-op
    • Android app development
    • iOS app development
    • macOS app development
    • Windows app development
    • Real-time recording
    • Speech-to-text audio transcription
    • Text-to-speech
    • Troubleshooting
      • Voice activity detection
        • Parameter specifics
        • VAD adjustments
      • Codec comparison
      • Vivox Client SDK logs
      • Vivox SDK error codes
  • Reference
  • Privacy overview
  1. Vivox Core SDK documentation
  2. Troubleshooting

Voice activity detection

Understand voice activity detection in Vivox.
Read time 2 minutes
Last updated 8 months ago

Voice activity detection detects the presence or absence of speech in an application. In most cases, customers do not need to adjust the default voice activity detection (VAD) settings of the Vivox SDK. Before manually tuning the VAD settings, test your setup using Automatically Adjusted VAD. Automatically Adjusted VAD is better at detecting a player speaking than the default VAD settings.
Note
Use
vad_auto
when a player uses the onboard microphone and speakers on PCs and mobile devices. Players using high-quality Bluetooth earbuds, headsets or USB headsets might not benefit from
vad_auto
as many of those devices have built-in noise reduction or directional microphones that already produce a clean voice signal.
Set
vad_auto
to 1 in the
vx_req_aux_set_vad_properties
call to enable automatic adjustment. See the example shown below to enable
vad_auto
:
vx_req_aux_set_vad_properties_t *req;vx_req_aux_set_vad_properties_create(&req);req->vad_hangover = 2000;req->vad_sensitivity = 43;req->vad_noise_floor = 576;req->vad_auto = 1;vx_issue_request(&req->base);
Note
Although the VAD ignores the other settings when
vad_auto
is enabled, you must provide valid parameters or the call will return an error. This example provides the default values for the
vad_hangover
,
vad_sensitivity
, and
vad_noise_floor
.
If the Automatically Adjusted VAD does not help, disable
vad_auto
by setting it to 0 and provide values for
vad_hangover
,
vad_sensitivity
, and
vad_noise_floor
.
Note
Changes to the VAD noise floor settings do not affect currently joined channels. If the ability to change VAD settings is available to the end-user, indicate that noise floor changes only take effect in the next voice session or only allow changing the noise floor channel when the client is not in-channel.

Copyright © 2026 Unity Technologies
LegalPrivacy PolicyCookiesDocumentation Terms of UseDo Not Sell or Share My Personal InformationYour Privacy Choices (Cookie Settings)

"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S and elsewhere (more info here). Other names or brands are trademarks of their respective owners.

Some pages are machine-translated for convenience, and may contain inaccuracies. In the event of conflicting information, the English version is authoritative.


    Report a problem with this page
    ​
    ​