When an ONVIF camera fails for any reason and needs to be replaced the following procedure has to be followed:
- Replace the old camera with new one
- Configure the new camera to the same local IP address and ports or adjust port forwarding rules to direct to the new camera
- Open the camera in the admin portal and wait for the servers to detect that the ONVIF configuration has changed
- Overwrite the configuration
- Adjust the camera parameters according to your needs