@camstack/addon-static-turn 1.1.16 → 1.1.17

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.
@@ -14881,7 +14881,17 @@ var AgentAddonConfigSchema = object({
14881
14881
  });
14882
14882
  var AgentPipelineSettingsSchema = object({
14883
14883
  addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
14884
- maxCameras: number().int().nonnegative().nullable().default(null)
14884
+ maxCameras: number().int().nonnegative().nullable().default(null),
14885
+ /** Per-node detection weight (relative share for the quota balancer). */
14886
+ detectWeight: number().positive().optional(),
14887
+ /** Node is eligible to run the detection pipeline (decode + inference). */
14888
+ detect: boolean().optional(),
14889
+ /** Node is eligible to host decoder sessions. */
14890
+ decode: boolean().optional(),
14891
+ /** Node is eligible to run audio-analyzer sessions. */
14892
+ audio: boolean().optional(),
14893
+ /** Node is eligible to be the ingest / source-owner (serve the restream). */
14894
+ ingest: boolean().optional()
14885
14895
  });
14886
14896
  var CameraPipelineForAgentSchema = object({
14887
14897
  steps: array(PipelineStepInputSchema).readonly(),
@@ -15187,6 +15197,21 @@ method(object({
15187
15197
  }), object({ success: literal(true) }), {
15188
15198
  kind: "mutation",
15189
15199
  auth: "admin"
15200
+ }), method(object({
15201
+ agentNodeId: string(),
15202
+ detectWeight: number().positive().nullable()
15203
+ }), object({ success: literal(true) }), {
15204
+ kind: "mutation",
15205
+ auth: "admin"
15206
+ }), method(object({
15207
+ agentNodeId: string(),
15208
+ detect: boolean().nullable().optional(),
15209
+ decode: boolean().nullable().optional(),
15210
+ audio: boolean().nullable().optional(),
15211
+ ingest: boolean().nullable().optional()
15212
+ }), object({ success: literal(true) }), {
15213
+ kind: "mutation",
15214
+ auth: "admin"
15190
15215
  }), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
15191
15216
  deviceId: number(),
15192
15217
  addonId: string(),
@@ -21069,6 +21094,18 @@ Object.freeze({
21069
21094
  addonId: null,
21070
21095
  access: "create"
21071
21096
  },
21097
+ "pipelineOrchestrator.setAgentCapabilities": {
21098
+ capName: "pipeline-orchestrator",
21099
+ capScope: "system",
21100
+ addonId: null,
21101
+ access: "create"
21102
+ },
21103
+ "pipelineOrchestrator.setAgentDetectWeight": {
21104
+ capName: "pipeline-orchestrator",
21105
+ capScope: "system",
21106
+ addonId: null,
21107
+ access: "create"
21108
+ },
21072
21109
  "pipelineOrchestrator.setAgentMaxCameras": {
21073
21110
  capName: "pipeline-orchestrator",
21074
21111
  capScope: "system",
@@ -14880,7 +14880,17 @@ var AgentAddonConfigSchema = object({
14880
14880
  });
14881
14881
  var AgentPipelineSettingsSchema = object({
14882
14882
  addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
14883
- maxCameras: number().int().nonnegative().nullable().default(null)
14883
+ maxCameras: number().int().nonnegative().nullable().default(null),
14884
+ /** Per-node detection weight (relative share for the quota balancer). */
14885
+ detectWeight: number().positive().optional(),
14886
+ /** Node is eligible to run the detection pipeline (decode + inference). */
14887
+ detect: boolean().optional(),
14888
+ /** Node is eligible to host decoder sessions. */
14889
+ decode: boolean().optional(),
14890
+ /** Node is eligible to run audio-analyzer sessions. */
14891
+ audio: boolean().optional(),
14892
+ /** Node is eligible to be the ingest / source-owner (serve the restream). */
14893
+ ingest: boolean().optional()
14884
14894
  });
14885
14895
  var CameraPipelineForAgentSchema = object({
14886
14896
  steps: array(PipelineStepInputSchema).readonly(),
@@ -15186,6 +15196,21 @@ method(object({
15186
15196
  }), object({ success: literal(true) }), {
15187
15197
  kind: "mutation",
15188
15198
  auth: "admin"
15199
+ }), method(object({
15200
+ agentNodeId: string(),
15201
+ detectWeight: number().positive().nullable()
15202
+ }), object({ success: literal(true) }), {
15203
+ kind: "mutation",
15204
+ auth: "admin"
15205
+ }), method(object({
15206
+ agentNodeId: string(),
15207
+ detect: boolean().nullable().optional(),
15208
+ decode: boolean().nullable().optional(),
15209
+ audio: boolean().nullable().optional(),
15210
+ ingest: boolean().nullable().optional()
15211
+ }), object({ success: literal(true) }), {
15212
+ kind: "mutation",
15213
+ auth: "admin"
15189
15214
  }), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
15190
15215
  deviceId: number(),
15191
15216
  addonId: string(),
@@ -21068,6 +21093,18 @@ Object.freeze({
21068
21093
  addonId: null,
21069
21094
  access: "create"
21070
21095
  },
21096
+ "pipelineOrchestrator.setAgentCapabilities": {
21097
+ capName: "pipeline-orchestrator",
21098
+ capScope: "system",
21099
+ addonId: null,
21100
+ access: "create"
21101
+ },
21102
+ "pipelineOrchestrator.setAgentDetectWeight": {
21103
+ capName: "pipeline-orchestrator",
21104
+ capScope: "system",
21105
+ addonId: null,
21106
+ access: "create"
21107
+ },
21071
21108
  "pipelineOrchestrator.setAgentMaxCameras": {
21072
21109
  capName: "pipeline-orchestrator",
21073
21110
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-static-turn",
3
- "version": "1.1.16",
3
+ "version": "1.1.17",
4
4
  "description": "Static / self-hosted (coturn) TURN provider for CamStack",
5
5
  "keywords": [
6
6
  "camstack",