Accessing mouse PTZ values from selected camera.

I’m trying to access the PTZ values sent by the smart client to the camera when it’s moved by using the mouse on the view.

The client sends these values to the debug console when debugging is enabled and they look like this:

ExecuteAction: PanTilt, Input Value: 7420, 4156 (Camera moving)

ExecuteAction: PanTilt, Input Value: 5000, 5000 (Camera stopping)

SOAP-1: PtzMoveRelative, cameraId12345678-1234-1234-1234-123456789012, pan=?, panSpeed=?, tilt=?, tiltspeed=?, zoom=1, zoomspeed=1 (Zooming in the with scroll wheel)

Is there any way to access these values from the SDK?

Thank you

I hope it fits, there is a sample on doing various PTZ functionality. The sample is not a plugin sample but all the code could be moved to a plugin and work the same.

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