# videoCapturerPresetApplied
Version: 4.2.0+
Description: Notification indicating application of video capture device preset.
Example:
{
"method": "event",
"event": "videoCapturerPresetApplied",
"videoCapturerName": "USB Video Device",
"videoCapturerDescription": "\\\\?\\usb#vid_046d&pid_0823&mi_02#6&1fd43445&0&0002#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\\global",
"presetId": "1667488684968",
"isMuted": false,
"pan": {
"isPresent": true,
"value": 0
},
"tilt": {
"isPresent": true,
"value": 0
},
"zoom": {
"isPresent": true,
"value": 1
},
"preview": {
"isPresent": true
}
}
Parameter description:
presetId
- the identifier of the applied presetisMuted
— the flag indicating if the video capture device is turned on or offpan
- property for rotating the video capture devicetilt
- property of the tilt angle of the video capture devicezoom
- the zoom property of the video capture device.preview
- information about the availability of a preset preview.videoCapturerName
— the name of the current video capture devicevideoCapturerDescription
— the unique identifier of the current video capture deviceisPresent
- a flag indicating the presence of a property in the presetvalue
- property value. Field is absent ifisPresent
equalsfalse
.presets
- 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