# setZoomPos

Description: set the current zoom value for the PTZ camera.

Request example:

{
    "method" : "setZoomPos",
    "requestId" : "1",
    "pos" : 5
}

Response example:

{
    "method" : "setZoomPos",
    "requestId" : "1",
    "result" : true
}

Parameter description:

  • pos — Camera zoom value

  • requestId - a unique request identifier. You can learn more about it here.

See also: