How to get camera's status via protocol integration?

Hi guys,

we are integrating to Milestone via protocol integration and running on Xprotect essential+.

Is there a way to know if a camera is active or not?

I want to get frames from the image server for each camera in the system, but before that I would like to make sure that those cameras are active and connected, is there a way to do that?

If so, is the way of getting this information is different between the different products of the Xprotect? (i.e essential , enterprise, professional etc..)

Camera status can be retrieved by using the Status Service SOAP protocol. Please see following links -

https://doc.developer.milestonesys.com/html/index.html?base=statushelp/index.html&tree=tree_3.html

https://doc.developer.milestonesys.com/html/index.html?base=gettingstarted/intro_soap_protocols.html&tree=tree_3.html

Also, three samples are using the Status Service:

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/systemstatusclientconsole/readme.html&tree=tree_2.html

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

These are not protocol samples, they use a set of proxy classes in the MIP library that have been generated on the SOAP service, so they can be used get ideas how to use the SOAP service.

I’m using the Status Service SOAP protocol but I received an ‘Invalid Token’ error (error 20001, sub error 2).

I got the token from /ManagementServer/ServerCommandService.svc SOAP protocol.

With the same token I successfully connected to the image server SOAP protocol, but the same token is invalid for recorder status service.

Can you please assist with that issue?

It seems like you posted same question, please see this link - https://developer.milestonesys.com/s/question/0D53X00008qSto9SAC/failed-to-initiate-recorder-status-session-due-to-error-token-invalid-20001