GET
http://example.com:[port]/web2/secure/video/action.do?version=4.10.0.0&sessionid=29101F1&cam.id=5&target=PTZ&targetid=1.1&command=RIGHT&login=XXX&password=YYY&speed=2
Parameters:
command – required parameter. It takes the following values:
speed – required parameter. Command-processing speed (from 0 to 10). It is recommended to use low values due to delays while controlling by network
cam.id – required parameter. Camera ID.
target – required parameter. Always is equal to PTZ.
targetid – required parameter. Id of PTZ connected with camera (is sent in the SETUP configuration).
preset – number of preset. Required parameter only for the command=GO_PRESET. Otherwise its value is ignored.
x – x coordinate relatively the image size. It takes values from 0.0 to 1.0. Required parameter only for the command=POINTMOVE or command=AREAZOOM. Otherwise its value is ignored.
y – y coordinate relatively the image size. It takes values from 0.0 to 1.0. Required parameter only for the command=POINTMOVE or command=AREAZOOM. Otherwise its value is ignored.
w – width of zooming area relatively the image size. It takes values from 0.0 to 1.0. Required parameter only for the command=AREAZOOM. Otherwise its value is ignored.
h – height of zooming area relatively the image size. It takes values from 0.0 to 1.0. Required parameter only for the command=AREAZOOM. Otherwise its value is ignored.