Detailed Information from API regarding Camera Issues?
In ProgressI'm interested in the concept of creating a Spectrum HTTP event to trigger when a camera is reporting issues (such as network related issues or plug-in issues). The idea is effectively:
Event: <camera issue>
Action:<HTTP Command for Spectrum API>
In which Spectrum attempts to collect information from the camera by its ID, then catalogues the information.
I do see there's the option for doCameraDiagnosticsStep, but it seems to have limited information. Is there a better option that could be used for this purpose? It can help us diagnose issues that don't happen immediately and I could see it being a useful way to get information without filtering through the server's logs.
-
Hi Rhaphiel Molinar,
What kind of information do you want to collect?
You can trigger the actions (call the AP)I by using Do HTTP Requests, is this what you are looking for ?
I am not very sure what kind of information you would like to have, may you elaborate the real cases or user scenarios if possible?
-
Hi Ichiro
I have similar request. I use doCameraDiagnosticsStep api calls to get additional information about camera outages. But, it sends back error codes, with minimum info. Can I find somewhere any additional info about these response error codes?
E.g.
"errorCode": 26,
"errorParams": [
"no stream reader",
""
],Or
"errorCode": 11,
"errorParams": [
"GetVideoEncoderConfigurations",
"Fault info. "
], -
Hi Igor Morgoch,
The errorCode detail can be found from our open source repo.
Specifically this file : camera_diagonostics.h
The errorParams could be various, most of the time they were coming from directly the exact error message.
Ex: "GetVideoEncoderConfigurations, Fault info: ", This is the error from ONVIF.Hope this helps.
Thanks.
Please sign in to leave a comment.
Comments
3 comments