set-auto-switch-settings

Use the interface to set device response policy when a signal is connected.

Request Mode

POST http://ip/mwapi/set-auto-switch-settings
{
    "autoSwitchType":2,
    "autoSwitchSequence":[
        31,
        1,
        2,
        3
    ]
}
Parameter Description
autoSwitch Response policy
0: no switch
2: auto switch per priority
3: auto switch to newly-connected signal
autoSwitchSequence Sequence of priorities, only taking effect when response policy is set as 2.
1: HDMI 1, 2: HDMI 2, 3: WEBCAM, 31: Screencast

Response Body

{
  "status": 0,
}
Name Description
status 0 indicates a successful data acquisition. Refer to API Status Codes to find specific description for other values.

results matching ""

    No results matching ""