@camstack/addon-provider-rtsp 1.2.67 → 1.2.69

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
@@ -19445,6 +19445,33 @@ var RecentTracksQueryInput = object({
19445
19445
  */
19446
19446
  classes: array(string()).optional()
19447
19447
  });
19448
+ /**
19449
+ * A Summary (D359): the per-camera session envelope that references tracks.
19450
+ * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
19451
+ * served by the event-media plane by key), null until the first frame with a
19452
+ * member visible has been materialised.
19453
+ */
19454
+ var SummarySchema = object({
19455
+ id: string(),
19456
+ deviceId: number(),
19457
+ openedAt: number(),
19458
+ lastActiveAt: number(),
19459
+ sealedAt: number().nullable(),
19460
+ memberCount: number().int().nonnegative(),
19461
+ groupShotKey: string().nullable()
19462
+ });
19463
+ var SummariesQueryInput = object({
19464
+ deviceIds: array(number()).min(1),
19465
+ since: number().optional(),
19466
+ until: number().optional(),
19467
+ limit: number().int().min(1).max(200).default(50)
19468
+ });
19469
+ var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
19470
+ var SummaryDetailSchema = object({
19471
+ summary: SummarySchema,
19472
+ /** Member track ids, in absorption order. */
19473
+ trackIds: array(string()).readonly()
19474
+ });
19448
19475
  var RecentTracksPageSchema = object({
19449
19476
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
19450
19477
  tracks: array(TrackSchema).readonly(),
@@ -19845,7 +19872,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19845
19872
  * timeline would read as a camera that saw nothing.
19846
19873
  */
19847
19874
  classes: array(string()).optional()
19848
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
19875
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
19849
19876
  kind: "mutation",
19850
19877
  auth: "admin"
19851
19878
  }), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(object({ deviceId: number() }), array(EventKindDescriptorSchema).readonly()), method(object({ deviceIds: array(number()).min(1).max(200) }), array(EventKindsForDeviceSchema).readonly()), method(object({
@@ -20780,6 +20807,14 @@ var AgentPipelineSettingsSchema = object({
20780
20807
  /** Node is eligible to be the ingest / source-owner (serve the restream). */
20781
20808
  ingest: boolean().optional(),
20782
20809
  /**
20810
+ * This node's decode RAM budget, MB. Wins over the cluster
20811
+ * `nodeDecodeBudgetMb`; absent, the runner derives a share of the node's
20812
+ * own RAM unless the operator moved the cluster value (D365).
20813
+ */
20814
+ decodeBudgetMb: number().int().min(1024).max(65536).optional(),
20815
+ /** This node's live decode-worker cap. Wins over the cluster `maxLiveDecodeWorkers`. */
20816
+ maxLiveDecodeWorkers: number().int().min(1).max(32).optional(),
20817
+ /**
20783
20818
  * Operator override for the LAN host a cross-node decoder dials to reach
20784
20819
  * THIS node's restream (Cluster UI). Absent → auto-detect: a remote runner
20785
20820
  * falls back to its `CAMSTACK_HUB_URL`-derived host (the Moleculer address
@@ -21241,6 +21276,13 @@ method(StorageMigrationLeaseInputSchema, object({ paused: literal(true) }), {
21241
21276
  }), object({ success: literal(true) }), {
21242
21277
  kind: "mutation",
21243
21278
  auth: "admin"
21279
+ }), method(object({
21280
+ agentNodeId: string(),
21281
+ decodeBudgetMb: number().int().min(1024).max(65536).nullable().optional(),
21282
+ maxLiveDecodeWorkers: number().int().min(1).max(32).nullable().optional()
21283
+ }), object({ success: literal(true) }), {
21284
+ kind: "mutation",
21285
+ auth: "admin"
21244
21286
  }), method(object({
21245
21287
  agentNodeId: string(),
21246
21288
  reachableHost: string().nullable()
@@ -36742,6 +36784,12 @@ Object.freeze({
36742
36784
  addonId: null,
36743
36785
  access: "view"
36744
36786
  },
36787
+ "pipelineAnalytics.getSummary": {
36788
+ capName: "pipeline-analytics",
36789
+ capScope: "device",
36790
+ addonId: null,
36791
+ access: "view"
36792
+ },
36745
36793
  "pipelineAnalytics.getTrack": {
36746
36794
  capName: "pipeline-analytics",
36747
36795
  capScope: "device",
@@ -36820,6 +36868,12 @@ Object.freeze({
36820
36868
  addonId: null,
36821
36869
  access: "view"
36822
36870
  },
36871
+ "pipelineAnalytics.listSummaries": {
36872
+ capName: "pipeline-analytics",
36873
+ capScope: "device",
36874
+ addonId: null,
36875
+ access: "view"
36876
+ },
36823
36877
  "pipelineAnalytics.listTrackMedia": {
36824
36878
  capName: "pipeline-analytics",
36825
36879
  capScope: "device",
@@ -37378,6 +37432,12 @@ Object.freeze({
37378
37432
  addonId: null,
37379
37433
  access: "create"
37380
37434
  },
37435
+ "pipelineOrchestrator.setAgentDecodeLimits": {
37436
+ capName: "pipeline-orchestrator",
37437
+ capScope: "system",
37438
+ addonId: null,
37439
+ access: "create"
37440
+ },
37381
37441
  "pipelineOrchestrator.setAgentDetectWeight": {
37382
37442
  capName: "pipeline-orchestrator",
37383
37443
  capScope: "system",
@@ -40509,6 +40569,11 @@ Object.freeze({
40509
40569
  form: "array",
40510
40570
  optional: true
40511
40571
  }],
40572
+ "pipelineAnalytics.listSummaries": [{
40573
+ name: "deviceIds",
40574
+ form: "array",
40575
+ optional: false
40576
+ }],
40512
40577
  "pipelineAnalytics.listTrackMedia": [{
40513
40578
  name: "deviceId",
40514
40579
  form: "single",
package/dist/addon.mjs CHANGED
@@ -19421,6 +19421,33 @@ var RecentTracksQueryInput = object({
19421
19421
  */
19422
19422
  classes: array(string()).optional()
19423
19423
  });
19424
+ /**
19425
+ * A Summary (D359): the per-camera session envelope that references tracks.
19426
+ * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
19427
+ * served by the event-media plane by key), null until the first frame with a
19428
+ * member visible has been materialised.
19429
+ */
19430
+ var SummarySchema = object({
19431
+ id: string(),
19432
+ deviceId: number(),
19433
+ openedAt: number(),
19434
+ lastActiveAt: number(),
19435
+ sealedAt: number().nullable(),
19436
+ memberCount: number().int().nonnegative(),
19437
+ groupShotKey: string().nullable()
19438
+ });
19439
+ var SummariesQueryInput = object({
19440
+ deviceIds: array(number()).min(1),
19441
+ since: number().optional(),
19442
+ until: number().optional(),
19443
+ limit: number().int().min(1).max(200).default(50)
19444
+ });
19445
+ var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
19446
+ var SummaryDetailSchema = object({
19447
+ summary: SummarySchema,
19448
+ /** Member track ids, in absorption order. */
19449
+ trackIds: array(string()).readonly()
19450
+ });
19424
19451
  var RecentTracksPageSchema = object({
19425
19452
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
19426
19453
  tracks: array(TrackSchema).readonly(),
@@ -19821,7 +19848,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19821
19848
  * timeline would read as a camera that saw nothing.
19822
19849
  */
19823
19850
  classes: array(string()).optional()
19824
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
19851
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
19825
19852
  kind: "mutation",
19826
19853
  auth: "admin"
19827
19854
  }), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(object({ deviceId: number() }), array(EventKindDescriptorSchema).readonly()), method(object({ deviceIds: array(number()).min(1).max(200) }), array(EventKindsForDeviceSchema).readonly()), method(object({
@@ -20756,6 +20783,14 @@ var AgentPipelineSettingsSchema = object({
20756
20783
  /** Node is eligible to be the ingest / source-owner (serve the restream). */
20757
20784
  ingest: boolean().optional(),
20758
20785
  /**
20786
+ * This node's decode RAM budget, MB. Wins over the cluster
20787
+ * `nodeDecodeBudgetMb`; absent, the runner derives a share of the node's
20788
+ * own RAM unless the operator moved the cluster value (D365).
20789
+ */
20790
+ decodeBudgetMb: number().int().min(1024).max(65536).optional(),
20791
+ /** This node's live decode-worker cap. Wins over the cluster `maxLiveDecodeWorkers`. */
20792
+ maxLiveDecodeWorkers: number().int().min(1).max(32).optional(),
20793
+ /**
20759
20794
  * Operator override for the LAN host a cross-node decoder dials to reach
20760
20795
  * THIS node's restream (Cluster UI). Absent → auto-detect: a remote runner
20761
20796
  * falls back to its `CAMSTACK_HUB_URL`-derived host (the Moleculer address
@@ -21217,6 +21252,13 @@ method(StorageMigrationLeaseInputSchema, object({ paused: literal(true) }), {
21217
21252
  }), object({ success: literal(true) }), {
21218
21253
  kind: "mutation",
21219
21254
  auth: "admin"
21255
+ }), method(object({
21256
+ agentNodeId: string(),
21257
+ decodeBudgetMb: number().int().min(1024).max(65536).nullable().optional(),
21258
+ maxLiveDecodeWorkers: number().int().min(1).max(32).nullable().optional()
21259
+ }), object({ success: literal(true) }), {
21260
+ kind: "mutation",
21261
+ auth: "admin"
21220
21262
  }), method(object({
21221
21263
  agentNodeId: string(),
21222
21264
  reachableHost: string().nullable()
@@ -36718,6 +36760,12 @@ Object.freeze({
36718
36760
  addonId: null,
36719
36761
  access: "view"
36720
36762
  },
36763
+ "pipelineAnalytics.getSummary": {
36764
+ capName: "pipeline-analytics",
36765
+ capScope: "device",
36766
+ addonId: null,
36767
+ access: "view"
36768
+ },
36721
36769
  "pipelineAnalytics.getTrack": {
36722
36770
  capName: "pipeline-analytics",
36723
36771
  capScope: "device",
@@ -36796,6 +36844,12 @@ Object.freeze({
36796
36844
  addonId: null,
36797
36845
  access: "view"
36798
36846
  },
36847
+ "pipelineAnalytics.listSummaries": {
36848
+ capName: "pipeline-analytics",
36849
+ capScope: "device",
36850
+ addonId: null,
36851
+ access: "view"
36852
+ },
36799
36853
  "pipelineAnalytics.listTrackMedia": {
36800
36854
  capName: "pipeline-analytics",
36801
36855
  capScope: "device",
@@ -37354,6 +37408,12 @@ Object.freeze({
37354
37408
  addonId: null,
37355
37409
  access: "create"
37356
37410
  },
37411
+ "pipelineOrchestrator.setAgentDecodeLimits": {
37412
+ capName: "pipeline-orchestrator",
37413
+ capScope: "system",
37414
+ addonId: null,
37415
+ access: "create"
37416
+ },
37357
37417
  "pipelineOrchestrator.setAgentDetectWeight": {
37358
37418
  capName: "pipeline-orchestrator",
37359
37419
  capScope: "system",
@@ -40485,6 +40545,11 @@ Object.freeze({
40485
40545
  form: "array",
40486
40546
  optional: true
40487
40547
  }],
40548
+ "pipelineAnalytics.listSummaries": [{
40549
+ name: "deviceIds",
40550
+ form: "array",
40551
+ optional: false
40552
+ }],
40488
40553
  "pipelineAnalytics.listTrackMedia": [{
40489
40554
  name: "deviceId",
40490
40555
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-rtsp",
3
- "version": "1.2.67",
3
+ "version": "1.2.69",
4
4
  "description": "Generic RTSP camera device provider addon for CamStack",
5
5
  "keywords": [
6
6
  "camstack",