Configuration Refresh
The UcsdCameraConfigRefresher is a timer-triggered function that synchronizes camera configuration from the UCSD Metadata API into the local system.
Scheduleβ
Runs every 10 minutes on a CRON schedule.
Sync Processβ
- Fetch remote configs β Calls
IUCSDClient.GetAllDeviceConfigsAsync()to get the full camera list from UCSD - Compare β Diffs against existing local device configurations
- Update β Applies any changes (new cameras, removed cameras, updated settings)
- Credential sync β Optionally refreshes camera credentials via
IUCSDClient.GetAllDeviceCredentialsAsync()
Why Periodic Sync?β
Camera infrastructure is managed externally at UCSD. Cameras may be:
- Added to the network (new installations)
- Removed (decommissioned)
- Reconfigured (IP changes, credential rotations)
The 10-minute polling interval ensures the system stays current without requiring manual updates.