Presets added in xprotect are not updated after initial list is retrieved

I’m using the MIP SDK and we have a camera that has presets defined in the Management client.

When we connect and populate our cameras, those cameras have the most current list of presets.

If we then go to the Management Client and, for example, add a new preset for a camera, there doesn’t seem to be a way to reflect this change unless we complete disconnect from the SDK and reconnect to it. I’ve tried to ReloadConfiguration to no effect. I’ve also tried using the sample application “PTZandPresets” which can show the problem as well.

Instructions:

  1. Start up the PTZandPresets app, and pick a camera that has presets defined already
  2. Go to the Management Client and add another preset for that camera
  3. Without closing the PTZandPresets app, select the camera again. It will not show the newly added preset. I must close the app and reload it, select camera, then I get the newly added preset.

Is there a way to get this new preset without having to close the app?

Thank you,

Jim

The configuration is read by the MIP SDK based application at start-up. This is the default behavior which is also shared with the Smart Client, and with that behavior closing and re-opening the app is the expected user action. It is possible to implement a different behavior and update the configuration.

Please explore the ConfigUpdated sample.

https://doc.developer.milestonesys.com/html/index.html?base=samples/componentsamples/configupdated/readme.html&tree=tree_2.html

https://github.com/milestonesys