For accessing streaming, Methods – Vivotek SD9161-H-v2 2MP PTZ Network Dome Camera User Manual
Page 463
VIVOTEK
User's Manual - 463
©
2022 VIVOTEK INC. All Right Reserved
312
If the user requests include an invalid parameter value, we will use the default value.
PARAMETER VALUE
DESCRIPTION
operation Set
Set formatting parameters and start
formatting
fstype
fat32, ext4
fat32
: High compatibility for PC, but
low stability for Data
ext4 :
Low compatibility for PC, but
high stability for Data.
fullformat 0, 1
1
: Completely clean data (fat32
support only)
blockingmo
de
blocking
blocking
: Send an HTTP response at
the end of the format.
nonblocking
: Send an HTTP response
at the start of the format
index
0~N
which one SD card
Example:
Request of format SD card:
http://myserver/cgi-bin/admin/format_sdcard.cgi?operation=set&fstype=ext4
Response of success:
HTTP/1.1 200 OK\r\n
Content-Type: text/plain\r\n
Content-Length: 2\r\n
\r\n
ok
Response of formatting fail:
HTTP/1.1 200 OK\r\n
Content-Type: text/plain\r\n
Content-Length: <Error Message Length>\r\n
\r\n
<Error Message>
Syntax:
(for query API)
http://<
servername
>/cgi-bin/admin/ format_sdcard.cgi?operation=get
PARAMETER VALUE
DESCRIPTION
©
2022 VIVOTEK INC. All Right Reserved
313
Get
Get formatting progress(0~100) or
result(error message)
*It is unnecessary when using the
blocking mode.
Example:
Request of get formatting progress(0~100):
http://myserver/cgi-bin/admin/format_sdcard.cgi?operation=get
Response of success:
HTTP/1.1 200 OK\r\n
Content-Type: text/plain\r\n
Content-Length: <Success Message Length>\r\n
\r\n
<Success Message>
List of success message:
0~100 and 100 represents formatting completed
List of error message:
ERROR: You cannot format an SD card repeatedly
ERROR: Format SD failed, but removed all contents success
ERROR: Format SD failed, and failed to remove all contents
ERROR: Please insert SD card
ERROR: Please use ext file system
ERROR: File system type is not supported
ERROR: The device does not exist or is busy
ERROR: Formatted successfully, but cannot create database
8.40
Methods
for Accessing Streaming
8.39.1 Get Stream URI
(capability_media_streamprofiles_support = 1)
Note:
This request requires Viewer access privileges.
Syntax:
For RTSP, the user needs to input the URL below into a RTSP compatible player.
rtsp://<
servername
>:<port>/media2/stream.sdp?profile=<streamprofile_i<0~(n-1)>_token>[&<par
ameter>=<value>]