Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

http://example.com:[port][/somecontext]web2/secure/video/action.do?version=4.710.80.0&sessionid=29101F1&cam.id=5&target=PTZ&targetid=1.1&command=RIGHT&login=XXX&password=YYY&speed=2

All parameters are mandatory.

Parameters:

command – required parameter. It takes The command parameter can have the following values:

  • RIGHT
  • UP
  • LEFT
  • DOWN
  • ZOOM_IN
  • ZOOM_OUT
  • GO_PRESET – go to the specified preset.
  • POINTMOVE – zooming of selected point on the image (x,y).
  • AREAZOOM – zooming of selected area on the image (x,y,w,h).


speed – required parameter. Command-processing speed speed – processing speed of command (from 0 to 10). Use It is recommended to use low values (because of delays) to control via the network.due to delays while controlling by network

cam.id – camera id – required parameter. Camera ID.

target -  always PTZ – 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 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 ignoredtargetid –id of telemetry (sent in configuration).