Check if a camera is running

Hello,

Given a FQID, is there a way to check if the camera is correctly running? I need to pool at a specific interval and see if the camera is “alive”

Thanks

There is no direct method to ask for the status of a single camera.

I think you should look at the StatusViewer sample, the sample shows both subscribing to events and a poll for status (ProvideCurrentStateRequest).

http://doc.developer.milestonesys.com/html/index.html?base=samples/statusviewer_sample.html&tree=tree_2.html

Alternative method (for c-code only) you can use the StatusAPI, explore the Status Console sample.

http://doc.developer.milestonesys.com/html/index.html?base=samples/statusdemoconsole_sample.html&tree=tree_2.html