# getAllVideoCapturerPresets
Version: 4.2.0+
Description: Retrieve the list of all video capture device presets.
Request example:
{
"method" : "getAllVideoCapturerPresets",
"requestId" : "1"
}
Response example:
{
"method": "getAllVideoCapturerPresets",
"requestId" : "1",
"presets": [
{
"videoCapturerName": "USB Video Device",
"presetId": "1667476590422",
"comPort": "",
"pan": {
"isPresent": true,
"value": 9
},
"tilt": {
"isPresent": true,
"value": -9
},
"zoom": {
"isPresent": true,
"value": 1
},
"preview": {
"isPresent": true
},
}
],
"result": true
}
Parameter description:
presetId
- identifier of the created presetcomPort
- the selected COM port for controlling the PTZ camera. If the COM port is not in use, the field will contain an empty string.pan
- the pan property of the video capture devicetilt
- video capture device tilt propertyzoom
- zoom property of the video capture devicepreview
- preset previewvideoCapturerName
- unique name of the video capture deviceisPresent
- a flag indicating the presence of a property in the presetvalue
- property values. The field is absent ifisPresent
equalsfalse
presets
- list of presetsrequestId
- a unique request identifier. You can learn more about it here.
See also:
- getPtzControls
- ptzZoomInc
- ptzZoomDec
- ptzUp
- ptzDown
- ptzStop
- ptzRight
- ptzLeft
- setPanPos
- setTiltPos
- setZoomPos
- setPtzDefaults
- addPresetFromCurrentVideoCapturer
- addVideoCapturerPreset
- updateVideoCapturerPreset
- applyVideoCapturerPreset
- removeVideoCapturerPreset
- updatePresetFromCurrentVideoCapturer
- videoCapturerPresetRemoved
- videoCapturerPresetAdded
- videoCapturerPresetUpdated
- videoCapturerPresetApplied
- ptzControlsChanged