Greetings,
we have integrated a custom analytics module with XProtect, and we have been following your SDK throughout the whole process, so we send events along with the IP of the camera that should be causing the alarm. Our integration has been successfully tested over XProtect systems with IP cameras directly connected to the system, but we have recently encountered a problem: When sending events corresponding to a camera that is connected to a recording server, XProtect does not seem to acknowledge the camera IP we are sending. Both XProtect and recording server are running corporate version 7.0d. What could be causing the issue?
Thank you very much,
Borja
Are you using the method also used in the Analytics Event trigger via XML sample? Sending XML to port 9090?
If this is the mehtod used a first check would be to see Analytics Events are enabled. Options - Settings - Analytics Event tab - is Analytics Events -Enabled set?
If that does not solve it -
Does this work for some camera but not for others?
What is the XProtect model and version?
I am certainly sending XML to port 9090. Analytics events are triggered and XProtect is corporate v7.0d. All other cameras were going through said recording server, so results were the same. I had tested with other versions (v8.0) and everything went fine. Maybe something changed in the protocol? Thank you El 21/10/2015 a las 9:37, Milestone Support Community escribió:
I am unsure if I understand. Are you saying that Analytics events are triggered only they do not get associated with the right camera (of which you have the IP in the XML)? (Does the event get associated with another camera then?)
If you test (sending the same event) using the Analytics Event trigger via XML sample unmodified, what do you observe then? Do you get a “200 OK” or get some kind of error?
Not exactly. What I am saying is that, when we send the analytics event (via XML, port 9090), the server responds that it does not recognize the camera IP, so the event is not triggered. However, we performed some tests with version 8.0 and it worked.
Are there any major changes between SDK for v7.0 and for v8.0?
Version 8.0? That would be an older model in the XProtect Professional portfolio? On XPrtoect Corporate the newest should be 7.0, (not even a beta should be out that is newer).
As far as I know the protocol on this has not been changed.
-
An experiment: If you run the ConfigDump tools sample in the Event Server the log will “dump” all the items and for cameras the IP will be included. Do you see the expected IP addresses?