I need to integrate Input status and It seems to be integrated in RecorderStatusService protocol, but I'm never receiving any change of state from inputs.

I’m receiving correctly the changes of state from cameras, like motion, recording or not responding,so the call to GetStatus should be correct, but never inputs. I have found that InputDeviceStatus really exists in the sdk.

My code:

StatusBase[] stats = rs.StatusService.GetStatus(ri.loginSettings.Token, rs.SessionId, 5000);

foreach (StatusBase stat in stats)

{

else if (stat.GetType() == typeof(InputDeviceStatus))

{

// … never gets in

}

}

Does the unmodified StatusDemoConsole sample work for you? If it does maybe you can compare the code to what you are implementing.

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

Note. Another option is to use the methods as shown in the StausViewer sample.

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