@camstack/addon-provider-onvif 1.2.81 → 1.2.83
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.
- package/dist/addon.js +57 -8
- package/dist/addon.mjs +57 -8
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -18458,11 +18458,30 @@ var SensorEventSchema = object({
|
|
|
18458
18458
|
value: record(string(), unknown()).nullable(),
|
|
18459
18459
|
timestamp: number()
|
|
18460
18460
|
});
|
|
18461
|
+
/**
|
|
18462
|
+
* One stored sighting on a track's trajectory.
|
|
18463
|
+
*
|
|
18464
|
+
* The array these live in is returned in TIME order (D399) — it is APPENDED in
|
|
18465
|
+
* arrival order, and the two detector passes interleave, so a consumer must not
|
|
18466
|
+
* assume the two are the same on a row written by an older build.
|
|
18467
|
+
*/
|
|
18461
18468
|
var TrackPositionSchema = object({
|
|
18462
18469
|
x: number(),
|
|
18463
18470
|
y: number(),
|
|
18464
18471
|
timestamp: number(),
|
|
18465
|
-
bbox: BoundingBoxSchema
|
|
18472
|
+
bbox: BoundingBoxSchema,
|
|
18473
|
+
/**
|
|
18474
|
+
* Which detector pass measured this box (D399): `frame` is the full-frame
|
|
18475
|
+
* pass on the analysis raster, `recovery` is the native-resolution
|
|
18476
|
+
* small-subject second pass (D377/D378). Both write into one array, and until
|
|
18477
|
+
* this field existed the only way to tell them apart was that full-frame boxes
|
|
18478
|
+
* are exact multiples of 1.2 while recovery boxes are full-precision floats.
|
|
18479
|
+
* Absent on rows written before D399.
|
|
18480
|
+
*/
|
|
18481
|
+
source: _enum(["frame", "recovery"]).optional(),
|
|
18482
|
+
/** Detection score of this box, so a position can be weighed and not only
|
|
18483
|
+
* plotted. Absent on rows written before D399. */
|
|
18484
|
+
score: number().optional()
|
|
18466
18485
|
});
|
|
18467
18486
|
var TrackSnapshotSchema = object({
|
|
18468
18487
|
timestamp: number(),
|
|
@@ -18862,14 +18881,25 @@ var TrackSchema = object({
|
|
|
18862
18881
|
*/
|
|
18863
18882
|
hasRider: boolean().optional(),
|
|
18864
18883
|
/**
|
|
18865
|
-
* WHY this track ended without a NATIVE best-shot
|
|
18866
|
-
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)
|
|
18884
|
+
* WHY this track ended without a NATIVE best-shot FRAME
|
|
18885
|
+
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
|
|
18886
|
+
* widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
|
|
18867
18887
|
* a composed token line (`no-key-frame capture=keyframe:native-missx4`,
|
|
18868
|
-
* `derive-returned-null tile=standin`,
|
|
18869
|
-
*
|
|
18870
|
-
*
|
|
18888
|
+
* `derive-returned-null tile=standin`,
|
|
18889
|
+
* `native-tile tile=native no-key-frame-at-close`, …) written at close and
|
|
18890
|
+
* CLEARED by the late-keyFrame upgrade when a native tile lands after all.
|
|
18891
|
+
* The operator-facing answer to "perché manca l'immagine?" on a track whose
|
|
18871
18892
|
* tile is a face/plate stand-in, a raster crop, or an icon.
|
|
18872
18893
|
*
|
|
18894
|
+
* **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
|
|
18895
|
+
* the TILE ranked below native, so a track whose thumbnail landed natively
|
|
18896
|
+
* while its key frame missed carried no reason at all — three of the four
|
|
18897
|
+
* `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
|
|
18898
|
+
* that shape, and their "niente ultimo" had no cause anywhere on the row.
|
|
18899
|
+
* The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
|
|
18900
|
+
* lastFrame copy source`), so its absence is now on this line whatever the
|
|
18901
|
+
* tile ended up being.
|
|
18902
|
+
*
|
|
18873
18903
|
* **Absent ≠ "missed silently"**: a row written before the column, a hub
|
|
18874
18904
|
* that predates the field, and every track whose tile landed native all
|
|
18875
18905
|
* omit it. Render nothing when absent.
|
|
@@ -27281,8 +27311,27 @@ var PrivacyMaskRegionSchema = object({
|
|
|
27281
27311
|
});
|
|
27282
27312
|
object({
|
|
27283
27313
|
enabled: boolean(),
|
|
27284
|
-
/**
|
|
27285
|
-
|
|
27314
|
+
/**
|
|
27315
|
+
* Active zones (normalized 0..1). Length ≤ maxRegions.
|
|
27316
|
+
*
|
|
27317
|
+
* `null` means "no answer" — the provider has never reached this camera
|
|
27318
|
+
* (a cold `runtimeState` slice, a battery camera asleep) or the read
|
|
27319
|
+
* failed. A consumer must render it as UNKNOWN and never as "this camera
|
|
27320
|
+
* has no zones": those two look identical to an operator right up to the
|
|
27321
|
+
* moment one of them is acted on, and acting on them differs completely.
|
|
27322
|
+
* The switch group turned an unanswered read into *"nothing is set up for
|
|
27323
|
+
* it to act on"* — an instruction to go and draw a zone that already
|
|
27324
|
+
* exists — and this editor seeded an EMPTY canvas from it, one Save away
|
|
27325
|
+
* from deleting the mask it could not read.
|
|
27326
|
+
*
|
|
27327
|
+
* Empty-and-answered is `[]` and stays a real answer: this camera genuinely
|
|
27328
|
+
* has no zones. The distinction is the same one {@link
|
|
27329
|
+
* PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
|
|
27330
|
+
* microphone, on the very same payload — both planes come from ONE refresh,
|
|
27331
|
+
* so it was never coherent for one of them to be able to say "unknown"
|
|
27332
|
+
* while the other could not.
|
|
27333
|
+
*/
|
|
27334
|
+
regions: array(PrivacyMaskRegionSchema).nullable(),
|
|
27286
27335
|
/**
|
|
27287
27336
|
* Is the camera capturing sound right now? Read from the camera, never from
|
|
27288
27337
|
* a server-side mirror.
|
package/dist/addon.mjs
CHANGED
|
@@ -18459,11 +18459,30 @@ var SensorEventSchema = object({
|
|
|
18459
18459
|
value: record(string(), unknown()).nullable(),
|
|
18460
18460
|
timestamp: number()
|
|
18461
18461
|
});
|
|
18462
|
+
/**
|
|
18463
|
+
* One stored sighting on a track's trajectory.
|
|
18464
|
+
*
|
|
18465
|
+
* The array these live in is returned in TIME order (D399) — it is APPENDED in
|
|
18466
|
+
* arrival order, and the two detector passes interleave, so a consumer must not
|
|
18467
|
+
* assume the two are the same on a row written by an older build.
|
|
18468
|
+
*/
|
|
18462
18469
|
var TrackPositionSchema = object({
|
|
18463
18470
|
x: number(),
|
|
18464
18471
|
y: number(),
|
|
18465
18472
|
timestamp: number(),
|
|
18466
|
-
bbox: BoundingBoxSchema
|
|
18473
|
+
bbox: BoundingBoxSchema,
|
|
18474
|
+
/**
|
|
18475
|
+
* Which detector pass measured this box (D399): `frame` is the full-frame
|
|
18476
|
+
* pass on the analysis raster, `recovery` is the native-resolution
|
|
18477
|
+
* small-subject second pass (D377/D378). Both write into one array, and until
|
|
18478
|
+
* this field existed the only way to tell them apart was that full-frame boxes
|
|
18479
|
+
* are exact multiples of 1.2 while recovery boxes are full-precision floats.
|
|
18480
|
+
* Absent on rows written before D399.
|
|
18481
|
+
*/
|
|
18482
|
+
source: _enum(["frame", "recovery"]).optional(),
|
|
18483
|
+
/** Detection score of this box, so a position can be weighed and not only
|
|
18484
|
+
* plotted. Absent on rows written before D399. */
|
|
18485
|
+
score: number().optional()
|
|
18467
18486
|
});
|
|
18468
18487
|
var TrackSnapshotSchema = object({
|
|
18469
18488
|
timestamp: number(),
|
|
@@ -18863,14 +18882,25 @@ var TrackSchema = object({
|
|
|
18863
18882
|
*/
|
|
18864
18883
|
hasRider: boolean().optional(),
|
|
18865
18884
|
/**
|
|
18866
|
-
* WHY this track ended without a NATIVE best-shot
|
|
18867
|
-
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)
|
|
18885
|
+
* WHY this track ended without a NATIVE best-shot FRAME
|
|
18886
|
+
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
|
|
18887
|
+
* widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
|
|
18868
18888
|
* a composed token line (`no-key-frame capture=keyframe:native-missx4`,
|
|
18869
|
-
* `derive-returned-null tile=standin`,
|
|
18870
|
-
*
|
|
18871
|
-
*
|
|
18889
|
+
* `derive-returned-null tile=standin`,
|
|
18890
|
+
* `native-tile tile=native no-key-frame-at-close`, …) written at close and
|
|
18891
|
+
* CLEARED by the late-keyFrame upgrade when a native tile lands after all.
|
|
18892
|
+
* The operator-facing answer to "perché manca l'immagine?" on a track whose
|
|
18872
18893
|
* tile is a face/plate stand-in, a raster crop, or an icon.
|
|
18873
18894
|
*
|
|
18895
|
+
* **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
|
|
18896
|
+
* the TILE ranked below native, so a track whose thumbnail landed natively
|
|
18897
|
+
* while its key frame missed carried no reason at all — three of the four
|
|
18898
|
+
* `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
|
|
18899
|
+
* that shape, and their "niente ultimo" had no cause anywhere on the row.
|
|
18900
|
+
* The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
|
|
18901
|
+
* lastFrame copy source`), so its absence is now on this line whatever the
|
|
18902
|
+
* tile ended up being.
|
|
18903
|
+
*
|
|
18874
18904
|
* **Absent ≠ "missed silently"**: a row written before the column, a hub
|
|
18875
18905
|
* that predates the field, and every track whose tile landed native all
|
|
18876
18906
|
* omit it. Render nothing when absent.
|
|
@@ -27282,8 +27312,27 @@ var PrivacyMaskRegionSchema = object({
|
|
|
27282
27312
|
});
|
|
27283
27313
|
object({
|
|
27284
27314
|
enabled: boolean(),
|
|
27285
|
-
/**
|
|
27286
|
-
|
|
27315
|
+
/**
|
|
27316
|
+
* Active zones (normalized 0..1). Length ≤ maxRegions.
|
|
27317
|
+
*
|
|
27318
|
+
* `null` means "no answer" — the provider has never reached this camera
|
|
27319
|
+
* (a cold `runtimeState` slice, a battery camera asleep) or the read
|
|
27320
|
+
* failed. A consumer must render it as UNKNOWN and never as "this camera
|
|
27321
|
+
* has no zones": those two look identical to an operator right up to the
|
|
27322
|
+
* moment one of them is acted on, and acting on them differs completely.
|
|
27323
|
+
* The switch group turned an unanswered read into *"nothing is set up for
|
|
27324
|
+
* it to act on"* — an instruction to go and draw a zone that already
|
|
27325
|
+
* exists — and this editor seeded an EMPTY canvas from it, one Save away
|
|
27326
|
+
* from deleting the mask it could not read.
|
|
27327
|
+
*
|
|
27328
|
+
* Empty-and-answered is `[]` and stays a real answer: this camera genuinely
|
|
27329
|
+
* has no zones. The distinction is the same one {@link
|
|
27330
|
+
* PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
|
|
27331
|
+
* microphone, on the very same payload — both planes come from ONE refresh,
|
|
27332
|
+
* so it was never coherent for one of them to be able to say "unknown"
|
|
27333
|
+
* while the other could not.
|
|
27334
|
+
*/
|
|
27335
|
+
regions: array(PrivacyMaskRegionSchema).nullable(),
|
|
27287
27336
|
/**
|
|
27288
27337
|
* Is the camera capturing sound right now? Read from the camera, never from
|
|
27289
27338
|
* a server-side mirror.
|