set-encoder-format

Use the interface to modify the encoder parameter.

Request Mode

POST http://ip/mwapi/set-encoder-format
Parameter Description
encodeMode The encoding mode of APP preview scene.0: SD, 720p 1: HD, 1080p 2: Auto 3: Customized
resolution The resolution, which only take effects when encodeMode is 3.
duration The frame rate, which only take effects when encodeMode is 3.
video-bitrate The video bitrate, which only take effects when encodeMode is 3.
{
  "encodeMode":3,
  "resolution":"1920x1080",
  "duration":333333,
  "video-bitrate":2048
}

Response Body

{
    "message": "success",
    "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 ""