# On_ptzControlsChanged

Description

The notification indicating that the current settings of the PTZ camera have been changed

EventHandler<string> On_ptzControlsChanged

Response example

{
    "event": "ptzControlsChanged",
    "pan": {
        "isContinuousType": false,
        "support": true,
        "minValue": -10,
        "maxValue": 10,
        "currentValue": 0,
        "defValue": 0,
        "step": 1,
        "inverted" : false
    },
    "tilt": {
        "support": false
    },
    "zoom": {
        "isContinuousType": false,
        "support": true,
        "minValue": 1,
        "maxValue": 5,
        "currentValue": 1,
        "defValue": 1,
        "step": 4,
        "inverted" : false
    },
    "videoCapturerName": "USB Video Device",
    "videoCapturerDescription": "\\\\?\\usb#vid_046d&pid_0823&mi_02#6&1fd43445&0&0002#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\\global",
    "method": "event"
}

Response Parameters

Name Description
support The flag indicating if the property is available
minValue The minimum value of a property. The field is included if `support` is equal to true
maxValue The maximum value of a property. The field is included if `support` is equal to true
currentValue The current value of a property. The field is included if `support` is equal to true
defValue The default value. The field is included if `support` is equal to true
videoCapturerName The unique name of the current video capture device
videoCapturerDescription The unique identifier of the current video capture device
step The rate of property change. The field is included if `support` is equal to true
isContinuousType The flag indicating if the value of a property can change continuously
inverted A flag indicating the inversion of a property

See also

Last Updated: 09/12/2025