Set HDMI output resolution

1. API Description

This API is used to set the resolution of HDMI output.

Request mode:

  • V2.6.0 and above: POST [ip]/mwapi/V2.0/output/set-hdmi-output-res
  • V2.5.0 and below: POST [ip]/mwapi/set-hdmi-output-res
Administrator Rights Logged-in
No Yes

2. Input Parameters

Name Required Type Description
width Yes Int Image width
height Yes Int Image height
fps Yes Int Image frame rate

3. Output Parameters

Name Type Description
status Int Status code

4. Example

Setting the HDMI output resolution to 1280x720.

Input Example
{
    "width": "1280",
    "height": "720",
    "fps": "6000"
}
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
4 MW_STATUS_TRY_AGAIN Try again later

results matching ""

    No results matching ""