Set Camera DPM (Face Blur)
POST/v1/api/quality/camera-config/dpm
Enables or disables Dynamic Privacy Masking (on-camera face blur) on a Hanwha Wisenet9 camera. Enabling pins the mask to face-only, gray, fully opaque, at max sensitivity, and also flags the required stream profiles (IsDPMProfile) so the mask reaches the NVR/RTSP streams, not just the camera's own UI preview.
Changing DPM makes the camera re-initialise its video pipeline, and asking it
to change again right away can leave it unresponsive. So requests to a given
camera are served one at a time (together with all other camera-facing
operations such as settings, PTZ and config presets), every request to the camera is bounded in time
(the whole update finishes or fails within about 25 seconds), and a change that
arrives soon after the previous one is refused with 429 and a Retry-After
header instead of being sent to the camera.
Auth Required
Required Permissions:
quality.settings:write("Quality Settings")
Request
Responses
- 200
- 400
- 401
- 429
- 500
DPM update confirmed by the camera
Invalid request, or the camera did not confirm the update (including when it did not answer in time)
Unauthorized. User is not authenticated or session is invalid.
The change was not attempted and the camera was not contacted for it: the camera is still applying the previous change, or was busy with another request. Retry after the number of seconds given.
Response Headers
Seconds to wait before retrying.
Internal Server Error