@camstack/addon-provider-rtsp 1.2.0 → 1.2.1

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 CHANGED
@@ -12773,7 +12773,21 @@ var NativeCropResultSchema = object({
12773
12773
  /** Packed rgb (24-bit) pixels of the crop. */
12774
12774
  bytes: _instanceof(Uint8Array),
12775
12775
  width: number().int().positive(),
12776
- height: number().int().positive()
12776
+ height: number().int().positive(),
12777
+ /**
12778
+ * Which source served this crop, so a quality-sensitive consumer (the native
12779
+ * `keyFrame`) can reject a degraded fallback:
12780
+ * - `native` — cut from the decode worker's retained NATIVE surface (the
12781
+ * quality path).
12782
+ * - `ram-fullframe` — the native surface MISSED but the request was full-frame,
12783
+ * so the ≤640 RAM `RetainedFrameStore` served it (honest lower-res; legit for
12784
+ * the blank-frame guard / 640-snapshot resolve, NOT for the clean keyFrame).
12785
+ *
12786
+ * OPTIONAL: a pre-tier runner (version skew) omits it — an ABSENT `tier` MUST be
12787
+ * treated as `native` (accepted) by every consumer so mixed-version clusters
12788
+ * keep the pre-tier behaviour. An ROI miss returns `null` (no tier at all).
12789
+ */
12790
+ tier: _enum(["native", "ram-fullframe"]).optional()
12777
12791
  });
12778
12792
  /** Parent detection context passed to `runDetailSubtree` — the crop's
12779
12793
  * originating detection, in FRAME-space coordinates. Reuses
@@ -17777,7 +17791,8 @@ var LinkedDeviceSchema = object({
17777
17791
  deviceId: number(),
17778
17792
  name: string(),
17779
17793
  location: string().nullable(),
17780
- features: array(string())
17794
+ features: array(string()),
17795
+ producesTrackedEvents: boolean().optional()
17781
17796
  });
17782
17797
  var SavedDeviceRowSchema = object({
17783
17798
  /** Numeric id reserved at allocateDeviceId time. */
@@ -19407,6 +19422,7 @@ var TrackSchema = object({
19407
19422
  deviceId: number(),
19408
19423
  className: string(),
19409
19424
  label: string().optional(),
19425
+ producingDeviceName: string().optional(),
19410
19426
  /** Track provenance. Absent ⇒ `pipeline` (legacy rows). */
19411
19427
  source: TrackSourceSchema.optional(),
19412
19428
  firstSeen: number(),
@@ -19544,7 +19560,8 @@ var MediaFileKindEnum = _enum([
19544
19560
  "fullFrameBoxed",
19545
19561
  "faceCrop",
19546
19562
  "plateCrop",
19547
- "keyFrame"
19563
+ "keyFrame",
19564
+ "keyFrameSmall"
19548
19565
  ]);
19549
19566
  var MediaFileSchema = object({
19550
19567
  key: string(),
package/dist/addon.mjs CHANGED
@@ -12749,7 +12749,21 @@ var NativeCropResultSchema = object({
12749
12749
  /** Packed rgb (24-bit) pixels of the crop. */
12750
12750
  bytes: _instanceof(Uint8Array),
12751
12751
  width: number().int().positive(),
12752
- height: number().int().positive()
12752
+ height: number().int().positive(),
12753
+ /**
12754
+ * Which source served this crop, so a quality-sensitive consumer (the native
12755
+ * `keyFrame`) can reject a degraded fallback:
12756
+ * - `native` — cut from the decode worker's retained NATIVE surface (the
12757
+ * quality path).
12758
+ * - `ram-fullframe` — the native surface MISSED but the request was full-frame,
12759
+ * so the ≤640 RAM `RetainedFrameStore` served it (honest lower-res; legit for
12760
+ * the blank-frame guard / 640-snapshot resolve, NOT for the clean keyFrame).
12761
+ *
12762
+ * OPTIONAL: a pre-tier runner (version skew) omits it — an ABSENT `tier` MUST be
12763
+ * treated as `native` (accepted) by every consumer so mixed-version clusters
12764
+ * keep the pre-tier behaviour. An ROI miss returns `null` (no tier at all).
12765
+ */
12766
+ tier: _enum(["native", "ram-fullframe"]).optional()
12753
12767
  });
12754
12768
  /** Parent detection context passed to `runDetailSubtree` — the crop's
12755
12769
  * originating detection, in FRAME-space coordinates. Reuses
@@ -17753,7 +17767,8 @@ var LinkedDeviceSchema = object({
17753
17767
  deviceId: number(),
17754
17768
  name: string(),
17755
17769
  location: string().nullable(),
17756
- features: array(string())
17770
+ features: array(string()),
17771
+ producesTrackedEvents: boolean().optional()
17757
17772
  });
17758
17773
  var SavedDeviceRowSchema = object({
17759
17774
  /** Numeric id reserved at allocateDeviceId time. */
@@ -19383,6 +19398,7 @@ var TrackSchema = object({
19383
19398
  deviceId: number(),
19384
19399
  className: string(),
19385
19400
  label: string().optional(),
19401
+ producingDeviceName: string().optional(),
19386
19402
  /** Track provenance. Absent ⇒ `pipeline` (legacy rows). */
19387
19403
  source: TrackSourceSchema.optional(),
19388
19404
  firstSeen: number(),
@@ -19520,7 +19536,8 @@ var MediaFileKindEnum = _enum([
19520
19536
  "fullFrameBoxed",
19521
19537
  "faceCrop",
19522
19538
  "plateCrop",
19523
- "keyFrame"
19539
+ "keyFrame",
19540
+ "keyFrameSmall"
19524
19541
  ]);
19525
19542
  var MediaFileSchema = object({
19526
19543
  key: string(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-rtsp",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Generic RTSP camera device provider addon for CamStack",
5
5
  "keywords": [
6
6
  "camstack",