ptzCapabilities vs ptzCapabilitiesUserIsAllowedToModify in REST API
AnsweredServer Version : 5.1.0.37133
Client Version : 5.1.0.37133
I am attempting to figure out the ptz capabilities of the cameras that I have on my server via the REST API. I am retrieving the device list with the rest/v2/devices call without an issue. When processing each device, I am seeing some cameras returning a non-zero ptzCapabilities, but the device is not listed as a PTZ camera on the Network Optix supported devices list.
The device in question is a Hanwha XND-C7083RV
https://nxvms.com/ipvd?vendors=Hanwha%20Techwin%20(Samsung)&search=xnd-C7083&camera=XND-C7083RV
It returns back the following in the rest/v2/devices:
"ptzCapabilities": 420413440,
"ptzCapabilitiesUserIsAllowedToModify": "ContinuousZoomCapability"
With that said, I have a few questions about determining the actual ptzCapabilities of any given device.
- Does the "ptzCapabilities" field mean the abilities the camera is announcing, but not what is supported by NX Witness?
- Is the ptzCapabilitiesUserIsAllowedToModify the correct things capabilities that we can modify? For the above example, it only does zoom?
My goal is to enable/disable any controls in my web page based on the supported PTZ capabilities of the camera.
-
Hello,
- Does the "ptzCapabilities" field mean the abilities the camera is announcing, but not what is supported by NX Witness?
The parameter stores standard values to which Nx Witness transforms capabilities announced by the camera. The values should have been presented in a human readable format, but because of a bug they are not.
We'll fix it.
- Is the ptzCapabilitiesUserIsAllowedToModify the correct things capabilities that we can modify? For the above example, it only does zoom?
This is Hanwha specific parameter present when the Server can't reliably determine if there's PTZ caps for analogous cameras connected to Hanwha encoder, so we allow the user to enable it on the 'Expert' tab in UI.
0 -
Here are links exposing bit mask for ptzCapabilities.
https://support.networkoptix.com/hc/en-us/articles/4414477304983-Using-the-VMS-PTZ-API
https://support.networkoptix.com/hc/en-us/community/posts/360021268933-ptzCapabilities-bit-mask
0
Please sign in to leave a comment.
Comments
2 comments