What event is fired when camera goes offline and online ?

If I didn’t create a Not responding alarm can i get camera online and offline using any built in event.

Does milestone stores camera online or offline event anywhere in default and can i access it using mipsdk

Yes, you can read events.

The Alarm and Event Viewer sample shows you both, the sample reads the 10 most recent events on startup and then subscribe to receive events as they happen.

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

One important note about reading events is that per default most events are never saved and cannot be read later, “Responding” is one of those. If you in the Management Client → Tools → Options - Alarms and Events tab, change Event retention, the events will be stored, and then they can be read. (For how long depends on the retention you set.)

Please be careful as this can cause the SQL Server database to overfill. But I guess if you make Alarm Definition and in that way make sure there is a information stored it will still use the space in the database. I guess on either approach you should be mindful about how much is stored as it can potentially be too much.