@camstack/addon-benchmark 1.2.142 → 1.2.144

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (21) hide show
  1. package/dist/{MotionZonesSettings-DTsiPZXn.mjs → MotionZonesSettings-52ZIF3rm.mjs} +3 -3
  2. package/dist/{PrivacyMaskSettings-K5mQ-TgE.mjs → PrivacyMaskSettings-CxeOsQ7g.mjs} +4 -4
  3. package/dist/{SceneMonitorEditor-DCnlo2tf.mjs → SceneMonitorEditor-B_KDz4pv.mjs} +3 -3
  4. package/dist/_stub.js +7252 -7245
  5. package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_benchmark_page-yfsgAfIs.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_benchmark_page-DjhREmyh.mjs} +3 -3
  6. package/dist/_virtual_mf___mfe_internal__addon_benchmark_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-BGcA4LXz.mjs +26 -0
  7. package/dist/{grid-2x2-BkDEsVib.mjs → grid-2x2-T6Y3_B1s.mjs} +1 -1
  8. package/dist/{hostInit-C_pLTnfE.mjs → hostInit-2v2I67w7.mjs} +2 -2
  9. package/dist/index.js +5 -3
  10. package/dist/index.js.map +1 -1
  11. package/dist/index.mjs +5 -3
  12. package/dist/index.mjs.map +1 -1
  13. package/dist/{player-overlays-ZxyiHnne.mjs → player-overlays-BhibKrfY.mjs} +1 -1
  14. package/dist/remoteEntry.js +1 -1
  15. package/dist/{responsive-Co5ZRe-P.mjs → responsive-qDzn3h3B.mjs} +1 -1
  16. package/dist/{scene-monitor-copy-DjtAXbL9.mjs → scene-monitor-copy-B75u8zoc.mjs} +1 -1
  17. package/dist/{square-Drfq4twm.mjs → square-CG8sHOlz.mjs} +1 -1
  18. package/dist/{trash-2-hf1KiOUU.mjs → trash-2-Bzn8TtXo.mjs} +1 -1
  19. package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_benchmark_page__remoteEntry_js-U9wTnWO7.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_benchmark_page__remoteEntry_js-2WoABuVY.mjs} +1 -1
  20. package/package.json +1 -1
  21. package/dist/_virtual_mf___mfe_internal__addon_benchmark_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-Be9ca-wD.mjs +0 -26
package/dist/index.mjs CHANGED
@@ -16215,7 +16215,9 @@ var BenchmarkAddon = class _BenchmarkAddon extends BaseAddon {
16215
16215
  }
16216
16216
  const profile = _BenchmarkAddon.REPLAY_RECORDING_PROFILE;
16217
16217
  const tags = { deviceId: source.deviceId };
16218
- const config2 = await this.api.recording.getDeviceConfig.query({ deviceId: source.deviceId });
16218
+ const config2 = await this.api.recordingArchive.getDeviceConfig.query({
16219
+ deviceId: source.deviceId
16220
+ });
16219
16221
  if (config2.enabled === false) {
16220
16222
  this.ctx.logger.warn("replay: recording source refused \u2014 camera is not recording", {
16221
16223
  tags
@@ -16225,7 +16227,7 @@ var BenchmarkAddon = class _BenchmarkAddon extends BaseAddon {
16225
16227
  reason: `no-recording: device ${source.deviceId} does not have recording enabled`
16226
16228
  };
16227
16229
  }
16228
- const located = await this.api.recording.locateSegment.query({
16230
+ const located = await this.api.recordingArchive.locateSegment.query({
16229
16231
  deviceId: source.deviceId,
16230
16232
  profile,
16231
16233
  epochMs: source.fromMs
@@ -16240,7 +16242,7 @@ var BenchmarkAddon = class _BenchmarkAddon extends BaseAddon {
16240
16242
  reason: `no-footage: device ${source.deviceId} has no ${profile} recording covering ${new Date(source.fromMs).toISOString()}`
16241
16243
  };
16242
16244
  }
16243
- const window = await this.api.recording.readWindowBytes.query({
16245
+ const window = await this.api.recordingArchive.readWindowBytes.query({
16244
16246
  deviceId: source.deviceId,
16245
16247
  profile,
16246
16248
  startMs: located.startMs,