Das Multimedia Menü :: Privat Maske


param.cgi?cmd=getcoverattr

Get Privacy Mask Attributes

  • area: Privacy Mask [1-8]
    • enable[1-8]: [0, 1] De/Activate Mask
    • color[1-8]: Area Fill Colour [000000 - ffffff]
    • x[1-4]: X Coordinate of Corner Point 1-4 [0-(2560-w)]
    • y[1-4]: Y Coordinate of Corner Point 1-4 [0-(1440-h)]
    • rect: Set Coordinates by x, y, w, h (1) or by x1 / y1, x2 / y2,x3 / y3, x4 / y4 (0) [1, 0] deprecated
    • x[1-8]: X-Coordinate Origin [0-(2560-w)] deprecated
    • y[1-8]: Y-Coordinate Origin [0-(1440-h)] deprecated
    • w[1-8]: Mask Width [1-2560] Pixel deprecated
    • h[1-8]: Mask Height [1-1440] Pixel deprecated

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getcoverattr&area=7

cmd="getcoverattr";
enable="0";
x1="1180";
y1="1240";
x2="1380";
y2="1240";
x3="1380";
y3="1440";
x4="1180";
y4="1440";
color="000000";
response="200";
GET: http://192.168.2.168/param.cgi?cmd=getcoverattr&user=admin&pwd=instar

cmd="getcoverattr";
enable[1]="1";
x1[1]="238";
y1[1]="507";
x2[1]="1283";
y2[1]="82";
x3[1]="1482";
y3[1]="553";
x4[1]="531";
y4[1]="1049";
color[1]="0062d6";
enable[2]="0";
x1[2]="1711";
y1[2]="183";
x2[2]="1977";
y2[2]="183";
x3[2]="1977";
y3[2]="910";
x4[2]="1711";
y4[2]="910";
color[2]="000000";
enable[3]="0";
x1[3]="0";
y1[3]="1240";
x2[3]="200";
y2[3]="1240";
x3[3]="200";
y3[3]="1440";
x4[3]="0";
y4[3]="1440";
color[3]="000000";
enable[4]="0";
x1[4]="120";
y1[4]="1029";
x2[4]="2377";
y2[4]="183";
x3[4]="2384";
y3[4]="201";
x4[4]="127";
y4[4]="1047";
color[4]="000000";
enable[5]="0";
x1[5]="1180";
y1[5]="0";
x2[5]="1380";
y2[5]="0";
x3[5]="1380";
y3[5]="200";
x4[5]="1180";
y4[5]="200";
color[5]="000000";
enable[6]="0";
x1[6]="2360";
y1[6]="620";
x2[6]="2560";
y2[6]="620";
x3[6]="2560";
y3[6]="820";
x4[6]="2360";
y4[6]="820";
color[6]="000000";
enable[7]="0";
x1[7]="1180";
y1[7]="1240";
x2[7]="1380";
y2[7]="1240";
x3[7]="1380";
y3[7]="1440";
x4[7]="1180";
y4[7]="1440";
color[7]="000000";
enable[8]="0";
x1[8]="0";
y1[8]="620";
x2[8]="200";
y2[8]="620";
x3[8]="200";
y3[8]="820";
x4[8]="0";
y4[8]="820";
color[8]="000000";
response="200";
SET: http://admin:instar@192.168.2.168/param.cgi?cmd=setcoverattr&area=1&enable=0&x1=0&y1=0&x2=240&y2=0&x3=0&y3=240&x4=240&y4=240

cmd="setcoverattr";
response="200";
SET: http://192.168.2.168/param.cgi?cmd=setcoverattr&area=1&enable=0&x1=0&y1=0&x2=240&y2=0&x3=0&y3=240&x4=240&y4=240&user=admin&pwd=instar

cmd="setcoverattr";
response="200";