How to get recording state of camera when continuous recording

Hi,

I am using a component integration same as shown in the StatusViewer example.

The SDK receives the recording started/stopped events perfectly when recording is triggered by motion detection and/or manual recording.

However, if there is a rule defined to allow continuous recording, the SDK only receives a camera responding event at startup (but the cam is actually recording, shown with the red dot in the live viewer).

How to receive the actual recording state of a camera at start up of my component integration?

Many thanks in advance,

Regards Michael

There are Status API samples which tell you camera status, for example – you can see “Camera 1 – Started True, Recording True” (See first link).

You might be interested in those samples, so please explore them -

https://doc.developer.milestonesys.com/html/index.html?base=samples/componentsamples/statusdemoconsole/readme.html&tree=tree_2.html

https://doc.developer.milestonesys.com/html/index.html?base=samples/componentsamples/statussessionconsole/readme.html&tree=tree_2.html

https://doc.developer.milestonesys.com/html/index.html?base=samples/componentsamples/systemstatusclientconsole/readme.html&tree=tree_2.html

Thanks for pointing me to the possible solutions using Status API.

However, as our integration is based on the MIP-MessageCommunication, it would be more convenient to have the current recording states transmitted with the MessageCommunication.ProvideCurrentStateRequest that is fired at startup.

Unfortunately there is no message-based method to see it.

(Actually, there is Status Viewer sample which gets camera status and it is message-based, but it cannot get camera recording status unfortunately.

https://doc.developer.milestonesys.com/html/index.html?base=samples/componentsamples/statusviewer/readme.html&tree=tree_2.html )