# setReplaceBackground

Version: 4.2.0+

Description: set the state of the background replacement functionality.

Request example:

    "method" : "setReplaceBackground",
    "requestId" : "1",
    "fileId" : 346234218,
    "enabled" : true

Response example:

    "method": "setReplaceBackground",
    "requestId" : "1",
    "result": true

Parameter description:

  • enabled - the state of the background replacement functionality that needs to be specified.

  • fileId - an optional parameter that indicates the file identifier on the built-in http server, which was previously uploaded and used to replace the background. If the parameter is not specified, the default background is used.

  • requestId - unique request identifier. More details can be found here

See also: