VIVOTEK
User's Manual - 373
© 2019 VIVOTEK INC. All Right Reserved
238
Response:
HTTP/1.0 200 OK\r\n
Content-Type: text/plain\r\n
Content-Length: 7\r\n
\r\n
do1=1\r\n
8.4
Capture Single Snapshot
Note:
This request requires Normal User privileges.
Method:
GET/POST
Syntax:
http://<
servername
>/cgi-bin/viewer/video.jpg?[channel=<value>][&resolution=<value>]
[&quality=<value>][&streamid=<value>]
If the user requests a size larger than all stream settings on the server, this request will fail.
PARAMETER VALUE
DESCRIPTION
channel
0~(capability_nvideoin -1)
The channel number of the video
source.
resolution Available options are list in
"capability_videoin_c<0~(n-1)>_resolution".
Besides, available options is referred to
"capability_videoin_c<0~(n-1)>_maxresolution
" and
"capability_videoin_c<0~(n-1)>_minresolution"
The resolution of the image.
quality
1~5
The quality of the image.
streamid
0~( capability_nmediastream -1)
The stream number.
The server will return the most up-to-date snapshot of the selected channel and stream in JPEG
format. The size and quality of the image will be set according to the video settings on the server.
Return:
HTTP/1.0 200 OK\r\n
Content-Type: image/jpeg\r\n
[Content-Length: <image size>\r\n]
<binary JPEG image data>
© 2019 VIVOTEK INC. All Right Reserved
239
8.5
Account Management
Note:
This request requires Administrator privileges.
Method:
POST
Syntax:
http://<
servername
>/cgi-bin/admin/editaccount.cgi
?
method=<value>&username=
<name>
[&userpass=
<value>
][&privilege=
<value>
]
[&privilege=<value>][&return=
<return page>
]
PARAMETER
VALUE
DESCRIPTION
method
add
Add an account to the server. When using this method,
the“username”
field is necessary. It will use the default
value of other fields if not specified.
delete
Remove an account from the server. When using this
method, the “username” field is necessary, and others are
ignored.
edit
Modify the account password and privilege. When using
this method, the“username” field is necessary, and other
fields are optional. If not specified, it will keep the original
settings.
username
<name>
The name of the user to add, delete, or edit.
userpass
<value>
The password of the new user to add or that of the old
user to modify. The default value is an empty string.
privilege
view
The privilege of the user to add or to modify.
“view”
: Viewer privilege.
“operator”
: Operator privilege.
“admin”
: Administrator privilege.
operator
admin
return
<return page>
Redirect to the page <return page> after the parameter is
assigned. The <return page> should be the relative path
according to the root of camera. If you omit this
parameter, it will redirect to an empty page.
* If the <return page> is invalid path, it will ignore this
parameter.
Summary of Contents for IP9164-HT
Page 86: ...VIVOTEK 86 User s Manual ...