VIVOTEK
User's Manual - 421
© 2019 VIVOTEK INC. All Right Reserved
286
\r\n
OK
Example:
http://myserver/cgi-bin/admin/thermalctrl.cgi?operation=set&action=shuttercompensate
Response:
HTTP/1.0 200 OK\r\n
Cache-control: no-cache\r\n
Pragma: no-cache\r\n
\r\n
ERROR: time out
Example:
http://myserver/cgi-bin/admin/thermalctrl.cgi?operation=set&action=shuttercompensate
Response:
HTTP/1.0 200 OK\r\n
Cache-control: no-cache\r\n
Pragma: no-cache\r\n
\r\n
ERROR: fail
PARAMETER VALUE
DESCRIPTION
action
shuttercompensate
Camera will do shutter compensate.
Syntax:
(for query API)
http://<
servername
>/cgi-bin/admin/thermalctrl.cgi?operation=get&version=<value>
PARAMETER VALUE
DESCRIPTION
version
N/A
Indicate lensctrl thermal version
Example:
http://myserver/cgi-bin/admin/thermalctrl.cgi?function=get&version
© 2019 VIVOTEK INC. All Right Reserved
287
Response:
HTTP/1.0 200 OK\r\n
Cache-control: no-cache\r\n
Pragma: no-cache\r\n
\r\n
version=1120B15
8.38
Audio Clip Control
(capability_audio_audioclip=1)
Note:
This request requires Administrator privileges.
Method:
GET/POST
Syntax:
(for control API)
http://<servername>/cgi-bin/admin/audioclip.cgi
?operation=<value>[&name=<value>][&index=<value>]
PARAMETER
VALUE
DESCRIPTION
operation
startrecording,
stoprecording,
play,
stopplayback,
remove,
download
"startrecording"
= Record a new audio clip.
"stoprecording"
= Stop an ongoing recording.
"play"
= Play an audio clip.
"stopplayback"
= Stop to playback of an audio
clip.
"remove"
= Delete a clip.
"download"
= Download a clip to the client.
* Recording time is limited to 60 seconds.
name
<string>
Name of the audio clip.
The audio clip the action applies to. We
support two interfaces (name or index) to
specify the media clip to be played.
index
0, 1
Number of the audio clip.
The audio clip the action applies to. We
support two interfaces (name or index) to
specify the media clip to be played.
Syntax:
(for control API)
Add a new audio clip by uploading a file:
* File size is limited to 10MB.
* Support .wav format only
http://<servername>/cgi-bin/admin/upload_audioclip.cgi
[&clipname=<value>][&clipindex=<value>]
PARAMETER
VALUE
DESCRIPTION