CameraVideoProfile
Video profiles.
Permissions required include Camera configuration.
| HTTP Methods |
|
| URL |
For HTTP
For HTTP
where variables are:
|
| Request JSON |
For HTTP For HTTP For HTTP |
|
Response JSON |
For HTTP For HTTP {
"objectID": "CameraVideoProfile:high-resolution",
"reqAction": 1,
"nodePermission": 3,
"mkey": "high-resolution",
"management_mode": 0,
"video_resolution": 9,
"video_codec": 0,
"video_fps": 15,
"video_gop": 3,
"video_bitrate_mode": 0,
"video_bitrate": 2048,
"video_max_bitrate": 2048,
"video_quality": 1,
"audio": true
}
where attributes are :
|
Example: Modify the video frame rate
curl -X PUT -H "Content-Type:application/json" -d "{\"video_fps\":15}" -b cookie.txt https://HOST_OR_IP/api/v1/CameraVideoProfile/high-resolution
|
|
On Microsoft Windows with Command Prompt, inside the JSON data, you must put a backslash before each double straight quote ( -d "{\"video_fps\":15}" Alternatively, you can input a JSON stream from another command. If you do not, the command line may interpret each JSON attribute as CLI commands or arguments, resulting in various error messages depending on the sequential order of arguments and attributes. Reserved characters and escape sequences vary by operating system and command line environment; Linux and Mac terminals often do not require this, and Microsoft PowerShell uses different escape sequences. |