# videoCapturerPresetApplied
Version: 4.2.0+
Description: notification indicating the application of a video capture device preset.
Example:
{
"method": "event",
"event": "videoCapturerPresetApplied",
"videoCapturerName": "USB Video Device",
"presetId": "1667488684968",
"isMuted": false,
"comPort": "",
"pan": {
"isPresent": true,
"value": 0
},
"tilt": {
"isPresent": true,
"value": 0
},
"zoom": {
"isPresent": true,
"value": 1
},
"preview": {
"isPresent": true
}
}
Parameter description:
presetId- identifier of the applied presetisMuted— the flag indicating if the video capture device is turned on or offcomPort- 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- information about the availability of a 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 ifisPresentequalsfalsepresets- list of presets
See also:
- getPtzControls
- ptzZoomInc
- ptzZoomDec
- ptzUp
- ptzDown
- ptzStop
- ptzRight
- ptzLeft
- setPanPos
- setTiltPos
- setZoomPos
- setPtzDefaults
- addPresetFromCurrentVideoCapturer
- addVideoCapturerPreset
- updateVideoCapturerPreset
- applyVideoCapturerPreset
- removeVideoCapturerPreset
- updatePresetFromCurrentVideoCapturer
- videoCapturerPresetRemoved
- videoCapturerPresetAdded
- videoCapturerPresetUpdated
- ptzControlsChanged