@camstack/addon-decoder-ffmpeg 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/index.js +66 -1
- package/dist/index.mjs +66 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -19152,6 +19152,33 @@ var RecentTracksQueryInput = object({
|
|
|
19152
19152
|
*/
|
|
19153
19153
|
classes: array(string()).optional()
|
|
19154
19154
|
});
|
|
19155
|
+
/**
|
|
19156
|
+
* A Summary (D359): the per-camera session envelope that references tracks.
|
|
19157
|
+
* `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
|
|
19158
|
+
* served by the event-media plane by key), null until the first frame with a
|
|
19159
|
+
* member visible has been materialised.
|
|
19160
|
+
*/
|
|
19161
|
+
var SummarySchema = object({
|
|
19162
|
+
id: string(),
|
|
19163
|
+
deviceId: number(),
|
|
19164
|
+
openedAt: number(),
|
|
19165
|
+
lastActiveAt: number(),
|
|
19166
|
+
sealedAt: number().nullable(),
|
|
19167
|
+
memberCount: number().int().nonnegative(),
|
|
19168
|
+
groupShotKey: string().nullable()
|
|
19169
|
+
});
|
|
19170
|
+
var SummariesQueryInput = object({
|
|
19171
|
+
deviceIds: array(number()).min(1),
|
|
19172
|
+
since: number().optional(),
|
|
19173
|
+
until: number().optional(),
|
|
19174
|
+
limit: number().int().min(1).max(200).default(50)
|
|
19175
|
+
});
|
|
19176
|
+
var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
|
|
19177
|
+
var SummaryDetailSchema = object({
|
|
19178
|
+
summary: SummarySchema,
|
|
19179
|
+
/** Member track ids, in absorption order. */
|
|
19180
|
+
trackIds: array(string()).readonly()
|
|
19181
|
+
});
|
|
19155
19182
|
var RecentTracksPageSchema = object({
|
|
19156
19183
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
19157
19184
|
tracks: array(TrackSchema).readonly(),
|
|
@@ -19552,7 +19579,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
19552
19579
|
* timeline would read as a camera that saw nothing.
|
|
19553
19580
|
*/
|
|
19554
19581
|
classes: array(string()).optional()
|
|
19555
|
-
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
19582
|
+
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
19556
19583
|
kind: "mutation",
|
|
19557
19584
|
auth: "admin"
|
|
19558
19585
|
}), 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({
|
|
@@ -20487,6 +20514,14 @@ var AgentPipelineSettingsSchema = object({
|
|
|
20487
20514
|
/** Node is eligible to be the ingest / source-owner (serve the restream). */
|
|
20488
20515
|
ingest: boolean().optional(),
|
|
20489
20516
|
/**
|
|
20517
|
+
* This node's decode RAM budget, MB. Wins over the cluster
|
|
20518
|
+
* `nodeDecodeBudgetMb`; absent, the runner derives a share of the node's
|
|
20519
|
+
* own RAM unless the operator moved the cluster value (D365).
|
|
20520
|
+
*/
|
|
20521
|
+
decodeBudgetMb: number().int().min(1024).max(65536).optional(),
|
|
20522
|
+
/** This node's live decode-worker cap. Wins over the cluster `maxLiveDecodeWorkers`. */
|
|
20523
|
+
maxLiveDecodeWorkers: number().int().min(1).max(32).optional(),
|
|
20524
|
+
/**
|
|
20490
20525
|
* Operator override for the LAN host a cross-node decoder dials to reach
|
|
20491
20526
|
* THIS node's restream (Cluster UI). Absent → auto-detect: a remote runner
|
|
20492
20527
|
* falls back to its `CAMSTACK_HUB_URL`-derived host (the Moleculer address
|
|
@@ -20948,6 +20983,13 @@ method(StorageMigrationLeaseInputSchema, object({ paused: literal(true) }), {
|
|
|
20948
20983
|
}), object({ success: literal(true) }), {
|
|
20949
20984
|
kind: "mutation",
|
|
20950
20985
|
auth: "admin"
|
|
20986
|
+
}), method(object({
|
|
20987
|
+
agentNodeId: string(),
|
|
20988
|
+
decodeBudgetMb: number().int().min(1024).max(65536).nullable().optional(),
|
|
20989
|
+
maxLiveDecodeWorkers: number().int().min(1).max(32).nullable().optional()
|
|
20990
|
+
}), object({ success: literal(true) }), {
|
|
20991
|
+
kind: "mutation",
|
|
20992
|
+
auth: "admin"
|
|
20951
20993
|
}), method(object({
|
|
20952
20994
|
agentNodeId: string(),
|
|
20953
20995
|
reachableHost: string().nullable()
|
|
@@ -32492,6 +32534,12 @@ Object.freeze({
|
|
|
32492
32534
|
addonId: null,
|
|
32493
32535
|
access: "view"
|
|
32494
32536
|
},
|
|
32537
|
+
"pipelineAnalytics.getSummary": {
|
|
32538
|
+
capName: "pipeline-analytics",
|
|
32539
|
+
capScope: "device",
|
|
32540
|
+
addonId: null,
|
|
32541
|
+
access: "view"
|
|
32542
|
+
},
|
|
32495
32543
|
"pipelineAnalytics.getTrack": {
|
|
32496
32544
|
capName: "pipeline-analytics",
|
|
32497
32545
|
capScope: "device",
|
|
@@ -32570,6 +32618,12 @@ Object.freeze({
|
|
|
32570
32618
|
addonId: null,
|
|
32571
32619
|
access: "view"
|
|
32572
32620
|
},
|
|
32621
|
+
"pipelineAnalytics.listSummaries": {
|
|
32622
|
+
capName: "pipeline-analytics",
|
|
32623
|
+
capScope: "device",
|
|
32624
|
+
addonId: null,
|
|
32625
|
+
access: "view"
|
|
32626
|
+
},
|
|
32573
32627
|
"pipelineAnalytics.listTrackMedia": {
|
|
32574
32628
|
capName: "pipeline-analytics",
|
|
32575
32629
|
capScope: "device",
|
|
@@ -33128,6 +33182,12 @@ Object.freeze({
|
|
|
33128
33182
|
addonId: null,
|
|
33129
33183
|
access: "create"
|
|
33130
33184
|
},
|
|
33185
|
+
"pipelineOrchestrator.setAgentDecodeLimits": {
|
|
33186
|
+
capName: "pipeline-orchestrator",
|
|
33187
|
+
capScope: "system",
|
|
33188
|
+
addonId: null,
|
|
33189
|
+
access: "create"
|
|
33190
|
+
},
|
|
33131
33191
|
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
33132
33192
|
capName: "pipeline-orchestrator",
|
|
33133
33193
|
capScope: "system",
|
|
@@ -36259,6 +36319,11 @@ Object.freeze({
|
|
|
36259
36319
|
form: "array",
|
|
36260
36320
|
optional: true
|
|
36261
36321
|
}],
|
|
36322
|
+
"pipelineAnalytics.listSummaries": [{
|
|
36323
|
+
name: "deviceIds",
|
|
36324
|
+
form: "array",
|
|
36325
|
+
optional: false
|
|
36326
|
+
}],
|
|
36262
36327
|
"pipelineAnalytics.listTrackMedia": [{
|
|
36263
36328
|
name: "deviceId",
|
|
36264
36329
|
form: "single",
|
package/dist/index.mjs
CHANGED
|
@@ -19148,6 +19148,33 @@ var RecentTracksQueryInput = object({
|
|
|
19148
19148
|
*/
|
|
19149
19149
|
classes: array(string()).optional()
|
|
19150
19150
|
});
|
|
19151
|
+
/**
|
|
19152
|
+
* A Summary (D359): the per-camera session envelope that references tracks.
|
|
19153
|
+
* `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
|
|
19154
|
+
* served by the event-media plane by key), null until the first frame with a
|
|
19155
|
+
* member visible has been materialised.
|
|
19156
|
+
*/
|
|
19157
|
+
var SummarySchema = object({
|
|
19158
|
+
id: string(),
|
|
19159
|
+
deviceId: number(),
|
|
19160
|
+
openedAt: number(),
|
|
19161
|
+
lastActiveAt: number(),
|
|
19162
|
+
sealedAt: number().nullable(),
|
|
19163
|
+
memberCount: number().int().nonnegative(),
|
|
19164
|
+
groupShotKey: string().nullable()
|
|
19165
|
+
});
|
|
19166
|
+
var SummariesQueryInput = object({
|
|
19167
|
+
deviceIds: array(number()).min(1),
|
|
19168
|
+
since: number().optional(),
|
|
19169
|
+
until: number().optional(),
|
|
19170
|
+
limit: number().int().min(1).max(200).default(50)
|
|
19171
|
+
});
|
|
19172
|
+
var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
|
|
19173
|
+
var SummaryDetailSchema = object({
|
|
19174
|
+
summary: SummarySchema,
|
|
19175
|
+
/** Member track ids, in absorption order. */
|
|
19176
|
+
trackIds: array(string()).readonly()
|
|
19177
|
+
});
|
|
19151
19178
|
var RecentTracksPageSchema = object({
|
|
19152
19179
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
19153
19180
|
tracks: array(TrackSchema).readonly(),
|
|
@@ -19548,7 +19575,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
19548
19575
|
* timeline would read as a camera that saw nothing.
|
|
19549
19576
|
*/
|
|
19550
19577
|
classes: array(string()).optional()
|
|
19551
|
-
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
19578
|
+
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
19552
19579
|
kind: "mutation",
|
|
19553
19580
|
auth: "admin"
|
|
19554
19581
|
}), 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({
|
|
@@ -20483,6 +20510,14 @@ var AgentPipelineSettingsSchema = object({
|
|
|
20483
20510
|
/** Node is eligible to be the ingest / source-owner (serve the restream). */
|
|
20484
20511
|
ingest: boolean().optional(),
|
|
20485
20512
|
/**
|
|
20513
|
+
* This node's decode RAM budget, MB. Wins over the cluster
|
|
20514
|
+
* `nodeDecodeBudgetMb`; absent, the runner derives a share of the node's
|
|
20515
|
+
* own RAM unless the operator moved the cluster value (D365).
|
|
20516
|
+
*/
|
|
20517
|
+
decodeBudgetMb: number().int().min(1024).max(65536).optional(),
|
|
20518
|
+
/** This node's live decode-worker cap. Wins over the cluster `maxLiveDecodeWorkers`. */
|
|
20519
|
+
maxLiveDecodeWorkers: number().int().min(1).max(32).optional(),
|
|
20520
|
+
/**
|
|
20486
20521
|
* Operator override for the LAN host a cross-node decoder dials to reach
|
|
20487
20522
|
* THIS node's restream (Cluster UI). Absent → auto-detect: a remote runner
|
|
20488
20523
|
* falls back to its `CAMSTACK_HUB_URL`-derived host (the Moleculer address
|
|
@@ -20944,6 +20979,13 @@ method(StorageMigrationLeaseInputSchema, object({ paused: literal(true) }), {
|
|
|
20944
20979
|
}), object({ success: literal(true) }), {
|
|
20945
20980
|
kind: "mutation",
|
|
20946
20981
|
auth: "admin"
|
|
20982
|
+
}), method(object({
|
|
20983
|
+
agentNodeId: string(),
|
|
20984
|
+
decodeBudgetMb: number().int().min(1024).max(65536).nullable().optional(),
|
|
20985
|
+
maxLiveDecodeWorkers: number().int().min(1).max(32).nullable().optional()
|
|
20986
|
+
}), object({ success: literal(true) }), {
|
|
20987
|
+
kind: "mutation",
|
|
20988
|
+
auth: "admin"
|
|
20947
20989
|
}), method(object({
|
|
20948
20990
|
agentNodeId: string(),
|
|
20949
20991
|
reachableHost: string().nullable()
|
|
@@ -32488,6 +32530,12 @@ Object.freeze({
|
|
|
32488
32530
|
addonId: null,
|
|
32489
32531
|
access: "view"
|
|
32490
32532
|
},
|
|
32533
|
+
"pipelineAnalytics.getSummary": {
|
|
32534
|
+
capName: "pipeline-analytics",
|
|
32535
|
+
capScope: "device",
|
|
32536
|
+
addonId: null,
|
|
32537
|
+
access: "view"
|
|
32538
|
+
},
|
|
32491
32539
|
"pipelineAnalytics.getTrack": {
|
|
32492
32540
|
capName: "pipeline-analytics",
|
|
32493
32541
|
capScope: "device",
|
|
@@ -32566,6 +32614,12 @@ Object.freeze({
|
|
|
32566
32614
|
addonId: null,
|
|
32567
32615
|
access: "view"
|
|
32568
32616
|
},
|
|
32617
|
+
"pipelineAnalytics.listSummaries": {
|
|
32618
|
+
capName: "pipeline-analytics",
|
|
32619
|
+
capScope: "device",
|
|
32620
|
+
addonId: null,
|
|
32621
|
+
access: "view"
|
|
32622
|
+
},
|
|
32569
32623
|
"pipelineAnalytics.listTrackMedia": {
|
|
32570
32624
|
capName: "pipeline-analytics",
|
|
32571
32625
|
capScope: "device",
|
|
@@ -33124,6 +33178,12 @@ Object.freeze({
|
|
|
33124
33178
|
addonId: null,
|
|
33125
33179
|
access: "create"
|
|
33126
33180
|
},
|
|
33181
|
+
"pipelineOrchestrator.setAgentDecodeLimits": {
|
|
33182
|
+
capName: "pipeline-orchestrator",
|
|
33183
|
+
capScope: "system",
|
|
33184
|
+
addonId: null,
|
|
33185
|
+
access: "create"
|
|
33186
|
+
},
|
|
33127
33187
|
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
33128
33188
|
capName: "pipeline-orchestrator",
|
|
33129
33189
|
capScope: "system",
|
|
@@ -36255,6 +36315,11 @@ Object.freeze({
|
|
|
36255
36315
|
form: "array",
|
|
36256
36316
|
optional: true
|
|
36257
36317
|
}],
|
|
36318
|
+
"pipelineAnalytics.listSummaries": [{
|
|
36319
|
+
name: "deviceIds",
|
|
36320
|
+
form: "array",
|
|
36321
|
+
optional: false
|
|
36322
|
+
}],
|
|
36258
36323
|
"pipelineAnalytics.listTrackMedia": [{
|
|
36259
36324
|
name: "deviceId",
|
|
36260
36325
|
form: "single",
|