Hello there! I'm struggeling to find out if it's possible to Enable/Disable Privacy Masking by using the Dahua HTTP API. I've tried but until now, I still haven't figured out if it's possible. @nayr made a posting about Switching Dahua Day/Night Profile via IPC HTTP API that has been really helpful. But I still haven't solved this. Please let me know if you have any idea how to solve this ... Is it even possible? It can be done in the Web GUI but I need to automate this task using the HTTP API. Cheers!
Hmm, I don't see anything about the privacy masks either. It isn't impossible to use the undocumented internal API that the web GUI uses, but it is rather painful since you have to log in, do your thing, log out, etc, and it is a lot more complicated than just sending one request.
Easy money guys. For region block 0: (there are also Covers[1], Covers[2], and Covers[3] on my camera) turn on block 0 http://[IP]/cgi-bin/configManager.cgi?action=setConfig&VideoWidget[0].Covers[0].EncodeBlend=true turn off block 0 http://[IP]/cgi-bin/configManager.cgi?action=setConfig&VideoWidget[0].Covers[0].EncodeBlend=false Check current settings with: http://[IP]/cgi-bin/configManager.cgi?action=getConfig&name=VideoWidget Add the username/password into the URL if you don't want to have to manually fill in the popup credential request.