User Manual

Page 51 of 56
Rev 1.6 7/19
Network Camera Control Protocol
Setup camera for IP (First see “Setting up the Camera’s IP” section above)
Control Notes:
PTZ over TCP/UDP
The camera currently supports various PTZ control methods, including RS232, RS485, IR remote control, web interface,
HTTP-CGI and TCP/UDP protocol
The camera includes an internal TCP server. The default port number is 5678. When client and server set up a TCP
connection, the client sends PTZ command to the internal server and the server will then parse and execute the PTZ
commands.
The camera includes an internal UDP server. The default port number is 1259. When client and server set up a UDP
connection, the client sends PTZ commands to the internal server and the server will then parse and execute the PTZ
commands.
The command format based on VISCA is shown above in the Serial Communication Control Section
HTTP CGI Method: The camera’s integrated web server supports HTTP CGI for PTZ Control
Pan and Tilt control URL format as below:
http://[Camera IP]/cgi-bin/ptzctrl.cgi?ptzcmd&[action]&[pan speed]&[tilt speed]
Parameter Descriptions:
[Camera IP]: Camera IP Address;
[Action] Includes: up, down, left, right, ptzstop;
[Pan Speed]: 1(low speed) – 24(high speed);
[Tilt Speed]: 1(low speed) – 20(high speed);
Zoom control URL format as below:
http://[Camera IP]/cgi-bin/ptzctrl.cgi?ptzcmd&[action]&[zoom speed]
Parameter Descriptions:
[Action] Includes: zoomin, zoomout, zoomstop;
[Zoom Speed]: 0(low speed) – 7(high speed);
Focus Control URL format as below:
http://[Camera IP]/cgi-bin/ptzctrl.cgi?ptzcmd&[action]&[focus speed]
Parameter Descriptions:
[Action] Includes: focusin, focusout, focusstop;