Hi,
XProtect 2023 R3
In some condition, the device (input and output onvif) are not manageable any more. In this situation, the devices appear with a blue square in the Management Client.
The status in NewEventIndication is “Responding”, same in ProvideCurrentStateResponse
I have found methods in VideoOS.Platform.SDK.* but it requires a login token. This does not seem to available from un plugin context.
How can I get this blue square state information from within a plugin to least inform the user ?
(Workaround to recover is to restart Recording Server or disable then enable back the device)
Let me start by saying that the blue square state is something that should never happen. It basically means that the device is not started. For a camera it happens if you do not have a rule or something else starting the streaming of video, for a input or output it should never happen.
I would recommend that you get regular support for this issue, which is not related to development but normal use of the device. Make sure you tell all about the device and the setup and if there is a pattern to when it happens.
https://supportcommunity.milestonesys.com
To answer your question, this status is not communicated through the NewEventsIndication messages, nor are there other methods in the MIP library that can report this status. It is possible to read the status with the Status Service SOAP Protocol, even though you are in a plugin you would have to use this base SOAP protocol. https://doc.developer.milestonesys.com/html/index.html?base=statushelp/index.html&tree=tree_3.html
To be clear: I recommend that you troubleshoot why the “blue squarer” happens, and perhaps then skips implementing detection for this situation .