Checking if mic gain is enabled
1. API Description
This API is used to check if mic gain is enabled.
Request mode:
- V2.6.0 and above: POST [ip]/mwapi/V2.0/audio/get-mic-gain
- V2.5.0 and below: POST [ip]/mwapi/get-mic-gain
Administrator Rights | Logged-in |
---|---|
No | Yes |
2. Input Parameters
None
3. Output Parameters
Name | Type | Description |
---|---|---|
status | Int | Status code |
gain | Int | Gain status 0: Disabled; 1: Enabled |
4. Example
Checking if mic gain is enabled.
Input Example
None
Output Example
{
"status": 0,
"gain":1
}
5. Error Code
No error code related to the API business logic. For other error codes, see Common Error Codes.