Vivotek H.264 manual Account Management, Parameter Value Default Description

Models: H.264

1 128
Download 128 pages 19.37 Kb
Page 120
Image 120

VIVOTEK

If the user requests a size larger than all stream settings on the server, this request will fail.

PARAMETER

VALUE

DEFAULT

DESCRIPTION

channel

0~(n-1)

0

The channel number of the video source.

 

 

 

 

resolution

<available resolution>

0

The resolution of the image.

 

 

 

 

quality

1~5

3

The quality of the image.

 

 

 

 

streamid

0~(m-1)

<product dependent>

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>

8.6 Account Management

Note: This request requires Administrator privileges.

Method: GET/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 for 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

<value>

The privilege of the user to add or to modify.

 

 

 

120 - User's Manual

Page 120
Image 120
Vivotek H.264 manual Account Management, Parameter Value Default Description