How to read Cameras PTZ Status on a linux platform

I tried reading PTZ Status by using GetStatus of the ONVIF Bridge, but the GetStatusResponse is not giving position information. We can not use VideoOS.Platform.DriverFramework.Data.Ptz.PtzGetAbsoluteData because we are on a linux platform.

Is position in GetStatus supported by ONVIF Bridge or am i doing wrong?

Can we get PTZ status by protocol integration (i found ptzcommand in ImageServer but nothing to read PTZ status)?

Hi Jochen,

As far as the ONVIF PTZ GetStatus command - you are right.

It returns only MoveStatus (without Position). And to be honest MoveStatus is not always correct.

So you cannot rely on the ONVIF in order to get the PTZ status.

RecorderCommandService API (https://doc.developer.milestonesys.com/html/index.html?base=recordersoaphelp/class_recorder_command_service.html&tree=tree_3.html) contains the method PTZGetAbsolutePosition() for getting the current PTZ position of a camera, but you need to be logged on to the Management Server and have direct access to the Recording Server for doing that.