User`s manual
Table Of Contents
- 1. Overview
- 2. VPort Set/Get Configuration CGI URL and Parameter Items
- VPort Set/Get Configuration CGI URL and Parameter items
- VPort 351 and VPort 251 serial and PTZ control configuration
- VPort 451/461/254/354/364/364A/VPM7304 serial and PTZ control configuration
- MJPEG Mode Media Stream CGI URL
- Audio Output CGI URL
- PTZ Control of CGI URL Command Sets and Parameters
- DynaStream Control CGI URL
- Get Snapshot CGI URL
- Remove PTZ Driver CGI URL
- Device Reboot CGI URL
- Get I/O Status CGI URL
- System Information CGI URL
VPort CGI Commands VPort Set/Get Configuration CGI URL and Parameter Items
2-27
setpreset.cgi
This function is used to edit the preset position of the PTZ camera. There are three “move” values, clearpreset,
and addpreset.
• addpreset is used to add the current PTZ position to a preset position with a specified presetindex.
• clearpreset is used to remove a preset position.
The maximum number of preset positions is 25.
NOTE
Preset positions actually keep in the PTZ camera. VPort only execute the recall command regarding the index
of preset list.
Example: To add preset position 4 into channel 2’s PTZ camera.
http://192.168.127.100/moxa-cgi/setpreset.cgi?move=addpreset&channel=2&presetindex=4&
&speedtilt=6&speedpan=8&speedzoom=2
Item Value Description
channel 1 to 4 Specify channel index. Defaults to 1 if
not specified.
move addpreset Add a new preset position
move clearpreset Clear the preset position information
stored in the PTZ camera
presetindex 1 to 25 Preset position index
speedtilt 1 to 16 Adding preset with speed of
tilt/pan/zoom action
speedpan 1 to 16 Adding preset with speed of
tilt/pan/zoom action.
speedzoom 1 to 16 Adding preset with speed of
tilt/pan/zoom action.
DynaStream Control CGI URL
Moxa DynaStream is a useful and easy way to control VPort video streaming’s bandwidth consumption.
DynaStream can be configured to automatically adjust the frame rate for a set period of time when triggered.
dynastream.cgi
These commands are used to control DynaStream.
Example: To enable DynaStream in channel 2 for 15 second duration:
http://192.168.127.100/moxa-cgi/dynastream.cgi?channel=2&mode=15
Example: To stop DynaStream immediately:
http://192.168.127.100/moxa-cgi/dynastream.cgi?mode=0
Item Value Description
channel 1 to 4 Specifies the channel index; defaults to
1, if not specified
mode 0 to 999 How long (in seconds) that DynaStream
will last once triggered.
0: disable
mode alwaysrun Always enable DynaStream
mode forcestop Disable DynaStream