...
Configuration Article | CA-20220907-TP-80 VDG Sense | API | References Image Added | View file |
---|
name | CA-20220907-TP-80.pdf |
---|
|
|
To see if a device has some kind of PTZ control use the command getOptions. We need to do this for every device we’ve obtained with the command getDeviceList.
Get options
For this example we only inspect the device with the name “Dome”. We see that this device is a dome device and supports relative positioning.
Command url:
Code Block |
---|
http://<server>/command?command=getOptions&serverid=7015498111931795223&deviceid=2 |
|
Result:
Code Block |
---|
<result errorcode="0">
<options>
<positioning>
<pan>
<relative>true</relative>
<absolute>false</absolute>
<position>false</position>
<stop>true</stop>
</pan>
<tilt>
<relative>true</relative>
<absolute>false</absolute>
<position>false</position>
<stop>true</stop>
</tilt>
<zoom>
<relative>true</relative>
<absolute>false</absolute>
<position>false</position>
<stop>true</stop>
<auto>false</auto>
</zoom>
<focus>
<relative>true</relative>
<absolute>false</absolute>
<position>false</position>
<stop>true</stop>
<auto>true</auto>
</focus>
<iris>
<relative>true</relative>
<absolute>false</absolute>
<position>false</position>
<stop>false</stop>
<auto>true</auto>
</iris>
</positioning>
</options>
</result> |
|