Set screencast background color

1. API Description

This API is used to set the background color of screencast scene.

Request mode:

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

2. Input Parameters

Name Required Type Description
screencastBGColor Yes Int Screencast scene background color, in type of uint32 (RGBA)

3. Output Parameters

Name Type Description
status Int Status code

4. Example

Setting the background color of screencast scene.

Input Example
{
  "screencastBGColor": "255"
}
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 ""