Set camera video settings
Set video resolution, frame rate, bitrate (only in AA-FBS, AA-14FBIS) and IDR (Instantaneous Decoding Refresh)
- Available resolution for panels with 1-megapixel camera:
- 640x480
- 1280x720
- Available resolution for panels with 2-megapixel camera:
- 640x480
- 1280x720
- 1920x1080
- application/json
Request Body required
- MOD1
- MOD2
- MOD3
- fps integer
Possible values:
>= 10and<= 25Frame rate
- idr integer
Possible values:
>= 25and<= 250IDR (Instantaneous Decoding Refresh)
- video_resolution string required
Possible values: [
640x480,1280x720]Camera resolution
- fps integer
Possible values:
>= 10and<= 25Frame rate
- idr integer
Possible values:
>= 25and<= 250IDR (Instantaneous Decoding Refresh)
- video_resolution string required
Possible values: [
640x480,1280x720,1920x1080]Camera resolution
- fps integer
Possible values:
>= 10and<= 25Frame rate
- idr integer
Possible values:
>= 25and<= 250IDR (Instantaneous Decoding Refresh)
- bitrate integer
Possible values:
>= 256000and<= 30000000Bitrate in bits per second
- video_resolution string required
Possible values: [
640x480,1280x720,1920x1080]Camera resolution
- 200
- 400
- 401
OK
- Wrong fps. Available values are in range: [10, 25]
- Wrong idr. Available values are in range: [25, 250]
- Wrong bitrate. Available values are in range: [256000, 30000000]
- json body or wrong param. Response sample:
"error": "Wrong JSON body"
- Required field is not provided. Response sample:
"error": "Wrong JSON body: no value for `param`"
where param - is a required field that was not provided
- Field was of the wrong type. Response sample:
"error": "Wrong JSON body: value `param` was of the wrong type"
where param - is a field of the wrong type
- application/json
- Schema
- Example (from schema)
- Wrong fps
- Wrong idr
- Wrong bitrate
- Base
- No value
- Wrong param type
Schema
- error string
Error message
{
"error": true
}
{
"error": "Wrong fps. Available values are in range: [10, 25]"
}
{
"error": "Wrong idr. Available values are in range: [25, 250]"
}
{
"error": "Wrong bitrate. Available values are in range: [256000, 30000000]"
}
{
"error": "Wrong JSON body"
}
{
"error": "Wrong JSON body: no value for `param`"
}
{
"error": "Wrong JSON body: value `param` was of the wrong type"
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error string
Error message
{
"error": "Log In"
}
{
"error": "Log In"
}