We have an integration that interfaces with an onvif device that changes capabilities. When xprotect first adds an onvif device it properly requests getcapabilities and get the right information. THe problem is that if the device is changed milestone never does a requery of the onvif capabilities.
We have noticed that manually running replace hardware from the management client seems to force this refresh.
Is there a way to programmatically force a refresh or requery of the ONVIF capabitlies? We are already using the protocol sdk and other elements from the SDK.
We just tested again and ever doing a replace hardware or a delete and re-add seems to keep some settings if the camera was added previously.
For example if i add am multi-channel onvif device and it gets the capabilities for all streams as Streaming method as RTP/RTSP/TCP and then i change one channel to RTP/UDP. Then i delete the hardware and re-add it back, the same channel i had changed before deleting, still has the RTP/UDP setting. Does it require a reboot or how do you make sure it doesn’t “remember” previous settings for a device its seen before.
Unfortunately it is not cleaned on hardware replace or delete, but you could rename/delete this file manually and this might require you to restart the RS if you have the device added already.