Set monitoring mic
1. API Description
This API is used to enable or disable "Monitor mic".
Request mode:
- V2.6.0 and above: POST [ip]/mwapi/V2.0/audio/set-mic-gain
- V2.5.0 and below: POST [ip]/mwapi/set-mic-gain
Administrator Rights | Logged-in |
---|---|
No | Yes |
2. Input Parameters
Name | Required | Type | Description |
---|---|---|---|
monitor | Yes | Boolean | Whether to enable "Monitor mic". true: Yes; false: No |
3. Output Parameters
Name | Type | Description |
---|---|---|
status | Int | Status code |
4. Example
Enabling "Monitor mic".
Input Example
{
"monitor": true
}
Output Example
{
"status": 0,
}
5. Error Code
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Status | Definition | Description |
---|---|---|
7 | MW_STATUS_INVALID_ARG | Missing required parameters |