How to get list of cameras with metadata details

Hi,

We need to extract the details of all the cameras registered in Milestone server XProtect Corporate 2022 R2.

We are looking to get the following details in metadata

Camera name, location, Longitude, Latitude, Rotation, Resolution, isCameraPTZ, camera ID, status(is camera working or not), Onvif bridge RTSP URL(for external applications),

Can you please let us know how to get the above information? Are there any APIs, Export options or SDK functions to achieve this?

Hi, We found this tool which can we used to download a report for cameras

https://www.milestonepstools.com/functions/about_get-vmscamerareport.help/

We were able to extract info but it did not return anything about whether a camera is PTZ or not

How to find if camera supports PTZ or not

Let us introduce two samples.

1, Please explore ConfigAPI Client sample might be helpful. https://doc.developer.milestonesys.com/html/index.html?base=samples/componentsamples/configapiclient/readme.html&tree=tree_2.html

Run the sample and go to Recording Servers – Hardware – and click one of your hardware. If the camera has PTZ functionality, you will see PTZ tab.

2, Also ConfigAccessViaSDK sample might be helpful.

https://doc.developer.milestonesys.com/html/index.html?base=samples/componentsamples/configaccessviasdk/readme.html&tree=tree_2.html

Run the sample and select a camera, then you will see PTZ Properties.

Important Note - “Onvif bridge RTSP URL(for external applications), ” is not in the SDK but in Open Network Bridge (aka Onvif Bridge).

Both ConfigAPI Client and MIP Configuration has their advantages +/-, but please explore the samples.