@camstack/addon-provider-rtsp 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 CHANGED
@@ -17840,7 +17840,17 @@ var AgentAddonConfigSchema = object({
17840
17840
  });
17841
17841
  var AgentPipelineSettingsSchema = object({
17842
17842
  addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
17843
- maxCameras: number().int().nonnegative().nullable().default(null)
17843
+ maxCameras: number().int().nonnegative().nullable().default(null),
17844
+ /** Per-node detection weight (relative share for the quota balancer). */
17845
+ detectWeight: number().positive().optional(),
17846
+ /** Node is eligible to run the detection pipeline (decode + inference). */
17847
+ detect: boolean().optional(),
17848
+ /** Node is eligible to host decoder sessions. */
17849
+ decode: boolean().optional(),
17850
+ /** Node is eligible to run audio-analyzer sessions. */
17851
+ audio: boolean().optional(),
17852
+ /** Node is eligible to be the ingest / source-owner (serve the restream). */
17853
+ ingest: boolean().optional()
17844
17854
  });
17845
17855
  var CameraPipelineForAgentSchema = object({
17846
17856
  steps: array(PipelineStepInputSchema).readonly(),
@@ -18146,6 +18156,21 @@ method(object({
18146
18156
  }), object({ success: literal(true) }), {
18147
18157
  kind: "mutation",
18148
18158
  auth: "admin"
18159
+ }), method(object({
18160
+ agentNodeId: string(),
18161
+ detectWeight: number().positive().nullable()
18162
+ }), object({ success: literal(true) }), {
18163
+ kind: "mutation",
18164
+ auth: "admin"
18165
+ }), method(object({
18166
+ agentNodeId: string(),
18167
+ detect: boolean().nullable().optional(),
18168
+ decode: boolean().nullable().optional(),
18169
+ audio: boolean().nullable().optional(),
18170
+ ingest: boolean().nullable().optional()
18171
+ }), object({ success: literal(true) }), {
18172
+ kind: "mutation",
18173
+ auth: "admin"
18149
18174
  }), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
18150
18175
  deviceId: number(),
18151
18176
  addonId: string(),
@@ -24061,6 +24086,18 @@ Object.freeze({
24061
24086
  addonId: null,
24062
24087
  access: "create"
24063
24088
  },
24089
+ "pipelineOrchestrator.setAgentCapabilities": {
24090
+ capName: "pipeline-orchestrator",
24091
+ capScope: "system",
24092
+ addonId: null,
24093
+ access: "create"
24094
+ },
24095
+ "pipelineOrchestrator.setAgentDetectWeight": {
24096
+ capName: "pipeline-orchestrator",
24097
+ capScope: "system",
24098
+ addonId: null,
24099
+ access: "create"
24100
+ },
24064
24101
  "pipelineOrchestrator.setAgentMaxCameras": {
24065
24102
  capName: "pipeline-orchestrator",
24066
24103
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -17839,7 +17839,17 @@ var AgentAddonConfigSchema = object({
17839
17839
  });
17840
17840
  var AgentPipelineSettingsSchema = object({
17841
17841
  addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
17842
- maxCameras: number().int().nonnegative().nullable().default(null)
17842
+ maxCameras: number().int().nonnegative().nullable().default(null),
17843
+ /** Per-node detection weight (relative share for the quota balancer). */
17844
+ detectWeight: number().positive().optional(),
17845
+ /** Node is eligible to run the detection pipeline (decode + inference). */
17846
+ detect: boolean().optional(),
17847
+ /** Node is eligible to host decoder sessions. */
17848
+ decode: boolean().optional(),
17849
+ /** Node is eligible to run audio-analyzer sessions. */
17850
+ audio: boolean().optional(),
17851
+ /** Node is eligible to be the ingest / source-owner (serve the restream). */
17852
+ ingest: boolean().optional()
17843
17853
  });
17844
17854
  var CameraPipelineForAgentSchema = object({
17845
17855
  steps: array(PipelineStepInputSchema).readonly(),
@@ -18145,6 +18155,21 @@ method(object({
18145
18155
  }), object({ success: literal(true) }), {
18146
18156
  kind: "mutation",
18147
18157
  auth: "admin"
18158
+ }), method(object({
18159
+ agentNodeId: string(),
18160
+ detectWeight: number().positive().nullable()
18161
+ }), object({ success: literal(true) }), {
18162
+ kind: "mutation",
18163
+ auth: "admin"
18164
+ }), method(object({
18165
+ agentNodeId: string(),
18166
+ detect: boolean().nullable().optional(),
18167
+ decode: boolean().nullable().optional(),
18168
+ audio: boolean().nullable().optional(),
18169
+ ingest: boolean().nullable().optional()
18170
+ }), object({ success: literal(true) }), {
18171
+ kind: "mutation",
18172
+ auth: "admin"
18148
18173
  }), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
18149
18174
  deviceId: number(),
18150
18175
  addonId: string(),
@@ -24060,6 +24085,18 @@ Object.freeze({
24060
24085
  addonId: null,
24061
24086
  access: "create"
24062
24087
  },
24088
+ "pipelineOrchestrator.setAgentCapabilities": {
24089
+ capName: "pipeline-orchestrator",
24090
+ capScope: "system",
24091
+ addonId: null,
24092
+ access: "create"
24093
+ },
24094
+ "pipelineOrchestrator.setAgentDetectWeight": {
24095
+ capName: "pipeline-orchestrator",
24096
+ capScope: "system",
24097
+ addonId: null,
24098
+ access: "create"
24099
+ },
24063
24100
  "pipelineOrchestrator.setAgentMaxCameras": {
24064
24101
  capName: "pipeline-orchestrator",
24065
24102
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-rtsp",
3
- "version": "1.1.15",
3
+ "version": "1.1.16",
4
4
  "description": "Generic RTSP camera device provider addon for CamStack",
5
5
  "keywords": [
6
6
  "camstack",