Good afternoon
How can I get a list of cameras and list of cameras associated with an alarm?
Searching in the WSDL (Protocol Integration), I cannot find an operation to perform the camera list query
Good afternoon
How can I get a list of cameras and list of cameras associated with an alarm?
Searching in the WSDL (Protocol Integration), I cannot find an operation to perform the camera list query
Regarding the camera list, TCP Video Viewer sample might be helpful for you –
AlarmList sample might not be the exact example what you want (list of cameras associated with an alarm), but you will see alarms and each alarm has associated camera in the sample. You might have an inspiration from it, please see GetAlarmData() in MainWindow.xaml.cs in AlarmList sample –
Thank you very much for the reply.
I have been able to obtain the list of cameras from the service http: // {host: port} /ServerAPI/ServerCommandService.asmx/getConfiguration, but I have not been able to obtain the list of cameras associated with an alarm.
When I get an alarm, it comes with the associated camera, but not the list of cameras.
One camera can trigger for one alarm, that is why there is no list for alarms. However there is related cameras. Please see this Management Client setup in Alarms –
If you want to get this “related cameras” then you might want to use this property –NOTE: If you are talking about Alarm definitions, then please see ConfigAPI Client.
But this sample is not a protocol sample, so these articles might be also helpful for you.