Crop black bars for screencast

1. API Description

This API is used to crop out the black bars to improve screen usage, only for Miracast.

Request mode:

  • V2.6.0 and above: POST [ip]/mwapi/V2.0/input/set-screencast-cut-black-edge-enable
  • V2.5.0 and below: POST [ip]/mwapi/set-screencast-cut-black-edge-enable
Administrator Rights Logged-in
No Yes

2. Input Parameters

Name Required Type Description
cropBlackArea Yes Int Whether to crop out the black bars
1: Yes; 0: No

3. Output Parameters

Name Type Description
status Int Status code

4. Example

Setting to not crop black bars.

Input Example
{
  "cropBlackArea": 0
}
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 ""