v1

latestOpenAPI 3.0.32026-07-24214879985.1 KB
PTZ

This endpoint returns the current position of the camera. The response includes the pan, tilt, and zoom values of the camera. If the camera does not support pan or tilt or zoom, the corresponding value will not be present in the response.

get/cameras/{cameraId}/ptz/position

Response

Current PTZ position of camera.

xnumber double

Pan coordinate given as value between -1(max left) and 1(max right).

ynumber double

Tilt coordinate given as value between -1(max down) and 1(max up).

znumber double

Zoom coordinate given as value between 0(fully zoomed out) and 1(fully zoomed in).