videoCapturerPresetApplied
About 1 min
videoCapturerPresetApplied
Description: notification indicating the application of a video capture device preset. v4.2.0+
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 PTZ camera control. If the COM port is not used, the field will contain an empty string.pan- the property for adjusting the rotation of the video capture devicetilt- the tilt property of the video capture devicezoom- video capture device zoom propertypreview- information about the availability of a preset previewvideoCapturerName- the unique name of the video capture deviceisPresent- a flag indicating the presence of a property in the presetvalue- the property values. This field is absent ifisPresentisfalse.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