GET http://IP-address:port/prefix/control/telemetry/position/TELEMETRYCONTROLID
TELEMETRYCONTROLID − template from Get list of telemetry devices for specified video source.
Sample request:
GET http://127.0.0.1:80/control/telemetry/position/Server1/DeviceIpint.25/TelemetryControl.0
Sample response:
{ "pan": 2000 ,"tilt": 5100 ,"zoom": 0 ,"mask": 7 }
The mask value should be converted to binary.
The first bit of the binary number will refer to pan, the second to tilt, the third to zoom.
The 1 value means that the corresponding component of the video camera works, 0 means it does not work.
For example, if mask = 6, then in the binary system it is 110, which means that pan and tilt work on the camera, and zoom does not.
For a camera with absolute telemetry, the coordinates will be relative.
{ "pan": 5.53611111111111109e-02, "tilt": 1.31111111111111116e-02, "zoom": 0.00000000000000000e+00, "mask": 7 }