The Multimedia Menu :: Privacy Mask


param.cgi?cmd=getcoverattr

Get Privacy Mask Attributes

  • region: Privacy Mask [1-4] |
    • show_[1-4]: [0, 1] De/Activate Mask |
    • color_[1-4]: Area Fill Colour [0-100] |
    • x_[1-4]: X-Coordinate Origin [0-(2560-w)] |
    • y_[1-4]: Y-Coordinate Origin [0-(1440-h)] |
    • w_[1-4]: Mask Width [1-2560] Pixel |
    • h_[1-4]: Mask Height [1-1440] Pixel |

Example

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

cmd="getcoverattr";
enable="0";
x="0";
y="1240";
w="200";
h="200";
color="000000";
response="200";
GET: http://192.168.2.168/param.cgi?cmd=getcoverattr&user=admin&pwd=instar

cmd="getcoverattr";
enable[1]="0";
x[1]="279";
y[1]="84";
w[1]="1877";
h[1]="1116";
color[1]="000000";
enable[2]="0";
x[2]="2360";
y[2]="0";
w[2]="200";
h[2]="200";
color[2]="000000";
enable[3]="0";
x[3]="0";
y[3]="1240";
w[3]="200";
h[3]="200";
color[3]="000000";
enable[4]="0";
x[4]="2360";
y[4]="1240";
w[4]="200";
h[4]="200";
color[4]="000000";
response="200"
SET: http://admin:instar@192.168.2.168/param.cgi?cmd=setcoverattr&area=1&enable=0&x=0&y=0&w=240&h=240

cmd="setcoverattr";
response="200";
SET: http://admin:instar@192.168.2.168/param.cgi?cmd=setcoverattr&area=4&enable=1&x=1680&y=840&w=240&h=240

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