Set auto switch to HDMI or Webcam

1. API Description

This API used to set to auto switch to HDMI or Webcam after such source is connected to the device.

Request mode:

  • V2.3.1 and below: POST [ip]/mwapi/set-audio-card-mixer
Administrator Rights Logged-in
No Yes

2. Input Parameters

Name Required Type Description
autoSwitch Yes Int Whether to auto switch to HDMI or Webcam after such source is connected to the device
0: No;
1: Yes

3. Output Parameters

Name Type Description
status Int Status code

4. Example

Setting to auto switch to HDMI or Webcam after such source is connected to the device.

Input Example
{
    "autoSwitch":1
}
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
49 MW_STATUS_INVALID_DATA The parameters are missing or incorrect

results matching ""

    No results matching ""