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
      • Direct voice audio access
      • In-game audio control
      • Muting
        • Mute voice and text messages
        • Mute a local speaker device
        • Mute a local microphone device
        • Retrieve the volume and mute status of a local device
        • User-to-user muting
        • User-to-channel muting
        • Moderator mute a user
    • 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
  • Reference
  • Privacy overview
  1. Vivox Core SDK documentation
  2. Muting

Mute a local microphone device

How to mute or unmute a local microphone device.
Read time 1 minute
Last updated 8 months ago

To mute or unmute a local microphone device, use the
vx_req_connector_mute_local_mic
request.
vx_req_connector_mute_local_mic_t* reqStruct;vx_req_connector_mute_local_mic_create(&reqStruct);reqStruct->connector_handle = vx_strdup(“connector handle”);reqStruct->mute_level = 1; // 1 - mute, 0 - unmutereqStruct->account_handle = vx_strdup(“account handle”); // OPTIONALint ret = vx_issue_request3((vx_req_base_t*) reqStruct);
The
account_handle
in this request is an optional parameter, and is similar to what is used when muting a local speaker device. This parameter specifies the account handle of the user whose microphone is to be muted or unmuted, which is the account handle that is passed in to a
vx_req_account_anonymous_login
. If this is left unset, then the default account handle is used. Generally, there is only one account handle, except for couch co-op.

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