CGI

Controls CGI

Version / Author / DateModify
1.0/David/2013-03-30First edition

Overview

To PTZ operation involves only

PTZ operation

ptz_control.cgi

  • Permissions requirements:
Control permissions. Note: If you set a preset operation, namely command = 16 is required administrative privileges
  • Syntax:
/ Ptz_control.cgi? Command = [& param = & user = & pwd = & session = & json = & jsonp_callback = & next_url =]
  • Parameters:
User / pwd: Parameter authentication method required to login username / password
session: Session authentication method required to Session ID
json / jsonp_callback: return the json type of data set
command: PTZ operation command
param: PTZ operation command parameters
Operation command param
To stop 0 No PTZ vertical direction
Head up the number of steps of the motor movement, 0 means no limit
Head down 2
PTZ horizontal direction to stop 3
PTZ left 4 motor movement steps, 0 means no limit
The Yuntai right 5
PTZ stop 6 no
Head up and to the left 7 the number of steps of the motor movement, 0 means no limit
Head up and right 8
PTZ down and to the left of 9
PTZ down and to the right 10
PTZ calibration 11 no
PTZ centered 12 no
Cruise 13 cruise laps the PTZ vertical direction, 0 means no limit
PTZ horizontal direction cruise 14
PTZ trajectory cruise 15
Set PTZ preset position 16 To set the preset position, the value :1-32
Moving to PTZ preset position 17 preset position heading, value :1-32
Stop Zoom 18 no
Zoom widens the number of steps of the 19 motor movement, 0 means no limit
Zoom Telephoto 20
Aperture stop 21 no
Aperture zoom 22 motor movement steps, 0 means no limit
Aperture smaller 23
Infrared light switch (disabled) 240: Off, 1: On
Alarm IO output level 250: low, 1: high
Stop focal length of 26 no
Focal length closer to the number of steps of the 27 motor sports, 0 means no limit
Focal length of pull far 28
next_url: return to the page after the successful operation.
  • Returns:
Operating results text information or specified page.
  • Example:
Http://192.168.0.188/ptz_control.cgi?command=1&session=1891048766 the user operating head upward movement
Copyright:Shenzhen Reecam Tech. Ltd.

ICP:粤ICP备09050685号 Technical support:800069965