500 InternalServerResponse from VMS for GetPresetsPtzCommand
AnsweredWe have a DVR set-up and we are getting a 500(InternalServerError) from VMS for the API call "api/ptz?command=GetPresetsPtzCommand". Below I have mentioned the steps that leads to the exception:
Step 1: I called the API "ec2/getCamerasEx" to get the camera details. Complete URI(without the security token) for camera details is mentioned below:
https://f0dbda77-8cb7-4527-9fbb-c97cb9acf031.relay.vmsproxy.com/ec2/getCamerasEx?auth={validToken}
Step 2: For each camera, obtained from Step 1, I checked the "addParams" array for a param item with name = "ptzCapabilities" and value > 0.
For a camera "PNM-9320VQP-ch3", I found a param item with name = "ptzCapabilities" and value 128.
Step 3: For the camera "PNM-9320VQP-ch3", I called the "api/ptz?command=GetPresetsPtzCommand" and received 500 InternalServerResponse. Complete URI(without the security token) for camera preset details is mentioned below:
Just for your information, there are few cameras, for example, name "XNO-6120R_Slow LPR" and ptzCapability value 428818444, we received preset information successfully.
Also, I have another question. As per the camera PTZ capabilities values, I found following capability values for Preset:
PresetsPtzCapability = 0x00010000 - presets are kept in Media Server database
NativePresetsPtzCapability = 0x08000000 - presets are kept on Camera side
In case of NVR, should I compare camera's ptzCapability value with PresetsPtzCapability before making a API call for preset. Also, for DVR, should I compare with NativePresetsPtzCapability.
-
Hello Anirban,
Which version of VMS are using?
Which firmware version do your PNM-9320VQP cameras have?
What is the model, sw version of the DVR you are using?
Have you had a chance to connect PNM-9320VQP camera directly to VMS and without DVR and check if it works as you expect?
0 -
Hi @...,
I was just wondering if you managed to resolve the issue, or our support is still required?
0 -
Hi Norman,
I am still working with the information that Andrey asked for. So please do not close this thread and I will get back to you asap.
0 -
Hi Anirban,
Do you have any update on this?
0 -
Currently, I do not have the information that you asked for. Thank you for your patience.
0
Please sign in to leave a comment.
Comments
5 comments