The Multimedia Menu :: Privacy Mask


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 e.g. 0077cc, 25c2a0, f179e8 [000000 - ffffff]
    • x[1-8]: X Coordinates of Corner Points 1-4 [0-(2560-w)]
    • y[1-8]: Y Coordinates of Corner Points 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=1&x1=238&y1=507&x2=1283&y2=82&x3=1482&y3=553&x4=531&y4=1049&color=25c2a0

cmd="setcoverattr";
response="200";
SET: http://192.168.2.168/param.cgi?cmd=setcoverattr&area=1&enable=1&x1=238&y1=507&x2=1283&y2=82&x3=1482&y3=553&x4=531&y4=1049&color=0077cc&user=admin&pwd=instar

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