Is there a way to trigger an event to get the current status of the camera?
or like using an emepty update reuqest
Is there a way to trigger an event to get the current status of the camera?
or like using an emepty update reuqest
There is no built-in event for this purpose.
Thinking outside the box:
Would successfully retrieving a live image from the camera serve as a workaround to confirm that the camera is operational?
If you think this approach makes sense, there are several ways to implement it. A good starting point would be to explore the Camera Stream Resolution sample.
Another possible approach:
You could read the system logs—the same logs visible in the Management Client. These logs record events such as when a camera fails and when it resumes operation.
Keep in mind that this method is not immediate; there is a delay because logging is processed with low priority.
If you think this is worth exploring, start by reviewing the Log Read sample.
i saw in the api the post /events endpoint , that you are saying that trigger an event, but i got status 403, when i tried to trigger the recording started event
A 403 makes me think that you should double check that you have the right bearer token. Please first test with a user belonging to the administrators role.
Recording started event is a bit special and is described here - https://developer.milestonesys.com/s/question/0D5bH00001JQFiPSAX/start-recording
Not sure I am able to follow what I have been saying about triggering an event, if I am contradicting myself I would like to find out, to find out it would help me if you can link the thread where you found it.
i dont think its a bearer token, because im able to perform all other tasks
this is the scope of my token “scope”: “email incidentmanagerserver managementserver offline_access openid profile provider”
In order for me to help in troubleshooting the 403 error I will need you to show the request and response, maybe in the form of a trace of some sort. I have an idea that this might not be directly related to the question that opened this thread, so maybe it would be better to open a new thread asking a new question here in the forum.