How to monitor camera patrolling status.

Hello, we are trying to determine if a camera has started patrolling or not. We have found that using PTZSessionInfo provides this information; however, it requires explicitly requesting it or performing polling at regular intervals. Would it be possible to obtain this information via subscription?

Does this answer your question? - https://developer.milestonesys.com/s/article/Find-out-if-a-camera-is-controlled-when-performing-manual-PTZ

Hello! Thank you for your answer. One question about this, this event will be triggered by overall PTZ movement right? Not only patrolling.

It could be the other way around, that you get when operators do PTZ operation, but not patrolling by rules. Please try it out. If it does not fit your purpose please come back and I will investigate or consult with Milestone internal experts.

Hello again. I have tried this and exactly as you said, these events are triggered when the operator do PTZ operation, but no patrolling. Do you know if there is something we can use to subscribe and know if patrolling has started?

Hello! Any news about this topic?

There is possibly a workaround.

If you in the Management Client (MC) look at the camera properties, the Presets tab, you can see “PTZ session”. This one is populated by the MC doing PTZGetSessionInfo on the RecorderCommandService once every second.

It is possible for you to use RecorderCommandService and PTZGetSessionInfo in your integration, unfortunately there is no support in the MIP SDK, so you will have to use the SOAP protocol directly. There is no sample that shows how to do this. From the VideoOS.Platform.Login.LoginSettings.Token you can get the token that you can use towards the RecorderCommandService. The token is sometimes renewed so you will have to handle that also. On RecorderCommandService :

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