@camstack/addon-provider-onvif 1.1.15 → 1.1.16
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 +38 -1
- package/dist/addon.mjs +38 -1
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -15294,7 +15294,17 @@ var AgentAddonConfigSchema = object({
|
|
|
15294
15294
|
});
|
|
15295
15295
|
var AgentPipelineSettingsSchema = object({
|
|
15296
15296
|
addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
|
|
15297
|
-
maxCameras: number().int().nonnegative().nullable().default(null)
|
|
15297
|
+
maxCameras: number().int().nonnegative().nullable().default(null),
|
|
15298
|
+
/** Per-node detection weight (relative share for the quota balancer). */
|
|
15299
|
+
detectWeight: number().positive().optional(),
|
|
15300
|
+
/** Node is eligible to run the detection pipeline (decode + inference). */
|
|
15301
|
+
detect: boolean().optional(),
|
|
15302
|
+
/** Node is eligible to host decoder sessions. */
|
|
15303
|
+
decode: boolean().optional(),
|
|
15304
|
+
/** Node is eligible to run audio-analyzer sessions. */
|
|
15305
|
+
audio: boolean().optional(),
|
|
15306
|
+
/** Node is eligible to be the ingest / source-owner (serve the restream). */
|
|
15307
|
+
ingest: boolean().optional()
|
|
15298
15308
|
});
|
|
15299
15309
|
var CameraPipelineForAgentSchema = object({
|
|
15300
15310
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
@@ -15600,6 +15610,21 @@ method(object({
|
|
|
15600
15610
|
}), object({ success: literal(true) }), {
|
|
15601
15611
|
kind: "mutation",
|
|
15602
15612
|
auth: "admin"
|
|
15613
|
+
}), method(object({
|
|
15614
|
+
agentNodeId: string(),
|
|
15615
|
+
detectWeight: number().positive().nullable()
|
|
15616
|
+
}), object({ success: literal(true) }), {
|
|
15617
|
+
kind: "mutation",
|
|
15618
|
+
auth: "admin"
|
|
15619
|
+
}), method(object({
|
|
15620
|
+
agentNodeId: string(),
|
|
15621
|
+
detect: boolean().nullable().optional(),
|
|
15622
|
+
decode: boolean().nullable().optional(),
|
|
15623
|
+
audio: boolean().nullable().optional(),
|
|
15624
|
+
ingest: boolean().nullable().optional()
|
|
15625
|
+
}), object({ success: literal(true) }), {
|
|
15626
|
+
kind: "mutation",
|
|
15627
|
+
auth: "admin"
|
|
15603
15628
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
15604
15629
|
deviceId: number(),
|
|
15605
15630
|
addonId: string(),
|
|
@@ -21544,6 +21569,18 @@ Object.freeze({
|
|
|
21544
21569
|
addonId: null,
|
|
21545
21570
|
access: "create"
|
|
21546
21571
|
},
|
|
21572
|
+
"pipelineOrchestrator.setAgentCapabilities": {
|
|
21573
|
+
capName: "pipeline-orchestrator",
|
|
21574
|
+
capScope: "system",
|
|
21575
|
+
addonId: null,
|
|
21576
|
+
access: "create"
|
|
21577
|
+
},
|
|
21578
|
+
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
21579
|
+
capName: "pipeline-orchestrator",
|
|
21580
|
+
capScope: "system",
|
|
21581
|
+
addonId: null,
|
|
21582
|
+
access: "create"
|
|
21583
|
+
},
|
|
21547
21584
|
"pipelineOrchestrator.setAgentMaxCameras": {
|
|
21548
21585
|
capName: "pipeline-orchestrator",
|
|
21549
21586
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -15295,7 +15295,17 @@ var AgentAddonConfigSchema = object({
|
|
|
15295
15295
|
});
|
|
15296
15296
|
var AgentPipelineSettingsSchema = object({
|
|
15297
15297
|
addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
|
|
15298
|
-
maxCameras: number().int().nonnegative().nullable().default(null)
|
|
15298
|
+
maxCameras: number().int().nonnegative().nullable().default(null),
|
|
15299
|
+
/** Per-node detection weight (relative share for the quota balancer). */
|
|
15300
|
+
detectWeight: number().positive().optional(),
|
|
15301
|
+
/** Node is eligible to run the detection pipeline (decode + inference). */
|
|
15302
|
+
detect: boolean().optional(),
|
|
15303
|
+
/** Node is eligible to host decoder sessions. */
|
|
15304
|
+
decode: boolean().optional(),
|
|
15305
|
+
/** Node is eligible to run audio-analyzer sessions. */
|
|
15306
|
+
audio: boolean().optional(),
|
|
15307
|
+
/** Node is eligible to be the ingest / source-owner (serve the restream). */
|
|
15308
|
+
ingest: boolean().optional()
|
|
15299
15309
|
});
|
|
15300
15310
|
var CameraPipelineForAgentSchema = object({
|
|
15301
15311
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
@@ -15601,6 +15611,21 @@ method(object({
|
|
|
15601
15611
|
}), object({ success: literal(true) }), {
|
|
15602
15612
|
kind: "mutation",
|
|
15603
15613
|
auth: "admin"
|
|
15614
|
+
}), method(object({
|
|
15615
|
+
agentNodeId: string(),
|
|
15616
|
+
detectWeight: number().positive().nullable()
|
|
15617
|
+
}), object({ success: literal(true) }), {
|
|
15618
|
+
kind: "mutation",
|
|
15619
|
+
auth: "admin"
|
|
15620
|
+
}), method(object({
|
|
15621
|
+
agentNodeId: string(),
|
|
15622
|
+
detect: boolean().nullable().optional(),
|
|
15623
|
+
decode: boolean().nullable().optional(),
|
|
15624
|
+
audio: boolean().nullable().optional(),
|
|
15625
|
+
ingest: boolean().nullable().optional()
|
|
15626
|
+
}), object({ success: literal(true) }), {
|
|
15627
|
+
kind: "mutation",
|
|
15628
|
+
auth: "admin"
|
|
15604
15629
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
15605
15630
|
deviceId: number(),
|
|
15606
15631
|
addonId: string(),
|
|
@@ -21545,6 +21570,18 @@ Object.freeze({
|
|
|
21545
21570
|
addonId: null,
|
|
21546
21571
|
access: "create"
|
|
21547
21572
|
},
|
|
21573
|
+
"pipelineOrchestrator.setAgentCapabilities": {
|
|
21574
|
+
capName: "pipeline-orchestrator",
|
|
21575
|
+
capScope: "system",
|
|
21576
|
+
addonId: null,
|
|
21577
|
+
access: "create"
|
|
21578
|
+
},
|
|
21579
|
+
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
21580
|
+
capName: "pipeline-orchestrator",
|
|
21581
|
+
capScope: "system",
|
|
21582
|
+
addonId: null,
|
|
21583
|
+
access: "create"
|
|
21584
|
+
},
|
|
21548
21585
|
"pipelineOrchestrator.setAgentMaxCameras": {
|
|
21549
21586
|
capName: "pipeline-orchestrator",
|
|
21550
21587
|
capScope: "system",
|