I am using the MIPSDK to retrieve the camera list from my Milestone XProtect server.
I grabbed the camera item using
var camera = VideoOS.Platform.ConfigurationItems.Camera (camera.FQID)
This has a property called “Enabled” that is set to true, but when i look at the camera in Milestone it has a yellow triangle that indicates that the server cannot connect to the camera.
How do I determine through the API the server is not connected to the this camera? I want to display a similar yellow triangle in my applications, where can I get that value per camera.
Thanks
I saw that example and it does more than what I need. Is there a simple way given the camera to look up its state? ie responding, not responding , etc.
Then I think you need to extract the start-up where the sample does the ProvideCurrentStateRequest and leave the subscribtion to NewEventIndication out..
This gives you the means to get status information upon request. I am guessing this is in line with your needs.
That will work. I was hoping for a api call without going through the messaging system and having to deal with the response handler, something simple where I passed the camera id and got its state.
There is nothing as simple as that. 