
VPort CGI Commands VPort CGI Commands
Item Action Value Description
presetname01 to
presetname20
G Max. 60 char Name of preset position of camera
control
camid G/S 0 to 255 PTZ camera ID (or address)
uartport G/S 0: PTZ port
1: COM port
Serial interface.
Note: Only supports models with 2
serial interfaces.
MJPEG Mode Media Stream CGI URL
JPEG video streaming is implemented using HTTP push technology
(http://en.wikipedia.org/wiki/Push_technology#HTTP_server_push
), which is popular for IP video products.
VLC media player is also compatible with the MJPEG HTTP push protocol.
mjpeg.cgi
pcmu.cgi
These command are used to get the MJPEG video stream and audio stream.
Example: To get channel 2’s MJPEG video stream:.
http://192.168.127.100/moxa-cgi/mjpeg.cgi?channel=2
Example: To get audio stream:
http://192.168.127.100/moxa-cgi/pcmu.cgi
Item Value Description
channel 1 to 4 Specify channel index. Defaults to 1 if
not specified
VLC media player example.
PTZ Control of CGI URL Command Sets and
Parameters
PTZ Control CGIs are used to control the PTZ action of cameras and devices. The CGIs are organized by
function-related directories under the moxa-cgi directory, and are followed by one of two actions: setptzctrl
and setpreset. The file extension of the CGI is required. The first parameter move indicates the command of
this request. The next parameter is item; note that “item” must be written exactly the same as shown in this
document.
Comentarios a estos manuales