# vx_req_connector_mute_local_mic

> Learn how to mute the local microphone.

**Module:** **[Audio Devices](./group__devices.md)**

Mute or unmute the microphone.  [More...](#detailed-description)

`#include <VxcRequests.h>`

## Public Attributes

|                                                        | Name                                                                                                                                                                                                                  |
| ------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [vx\_req\_base\_t](./_vxc_8h.md#typedef-vx_req_base_t) | **[base](./structvx__req__connector__mute__local__mic.md#variable-base)** The common properties for all requests.                                                                                                     |
| [VX\_HANDLE](./_vxc_8h.md#typedef-vx_handle)           | **[connector\_handle](./structvx__req__connector__mute__local__mic.md#variable-connector_handle)** The handle returned from a successful [vx\_req\_connector\_create](./structvx__req__connector__create.md) request. |
| int                                                    | **[mute\_level](./structvx__req__connector__mute__local__mic.md#variable-mute_level)**                                                                                                                                |
| [VX\_HANDLE](./_vxc_8h.md#typedef-vx_handle)           | **[account\_handle](./structvx__req__connector__mute__local__mic.md#variable-account_handle)** An optional parameter that specifies the account handle of the user whose microphone will be muted or unmuted.         |

## Detailed Description

```cpp
struct vx_req_connector_mute_local_mic;
```

Mute or unmute the microphone.

**See**: [vx\_resp\_connector\_mute\_local\_mic](./structvx__resp__connector__mute__local__mic.md)

## Public Attributes Documentation

### variable base

```cpp
vx_req_base_t base;
```

The common properties for all requests.

### variable connector\_handle

```cpp
VX_HANDLE connector_handle;
```

The handle returned from a successful [vx\_req\_connector\_create](./structvx__req__connector__create.md) request.

### variable mute\_level

```cpp
int mute_level;
```

* Set to 1 to mute.
* Set to 0 to unmute.

### variable account\_handle

```cpp
VX_HANDLE account_handle;
```

An optional parameter that specifies the account handle of the user whose microphone will be muted or unmuted.

This must either be unset or the account\_handle passed in to a [vx\_req\_account\_anonymous\_login](./structvx__req__account__anonymous__login.md) request that previously succeeded. If this is unset, then the default account\_handle is used.
