getPtzControls

TrueConf7/5/26About 2 min

getPtzControls

Description

Check if it is possible to control a PTZ camera of TrueConf VideoSDK

void getPtzControls()

Response example

{
    "method": "getPtzControls",
    "requestId" : "1",
    "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",
    "result": true
}

Response Parameters

NameDescription
panDetailed information about the “pan” property of the PTZ camera
tiltDetailed information about the “tilt” property of the PTZ camera
zoomDetailed information about the “zoom” property of the PTZ camera
supportThe flag indicating if the property is available
minValueThe minimum value of a property. The field is included if support is equal to true
maxValueThe maximum value of a property. The field is included if support is equal to true
currentValueThe current value of a property. The field is included if support is equal to true
defValueThe default value. The field is included if support is equal to true
videoCapturerNameThe unique name of the current video capture device
stepThe rate of property change. The field is included if support is equal to true
isContinuousTypeThe flag indicating if the value of a property can change continuously
invertedA flag indicating the inversion of a property
requestIdA unique request identifier
resultA flag indicating whether the request was successful

See also

Last Updated: