@camstack/addon-provider-wyze 0.1.12 → 0.1.14
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 +45 -43
- package/dist/addon.mjs +45 -43
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -17854,7 +17854,17 @@ var AgentAddonConfigSchema = object({
|
|
|
17854
17854
|
});
|
|
17855
17855
|
var AgentPipelineSettingsSchema = object({
|
|
17856
17856
|
addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
|
|
17857
|
-
maxCameras: number().int().nonnegative().nullable().default(null)
|
|
17857
|
+
maxCameras: number().int().nonnegative().nullable().default(null),
|
|
17858
|
+
/** Per-node detection weight (relative share for the quota balancer). */
|
|
17859
|
+
detectWeight: number().positive().optional(),
|
|
17860
|
+
/** Node is eligible to run the detection pipeline (decode + inference). */
|
|
17861
|
+
detect: boolean().optional(),
|
|
17862
|
+
/** Node is eligible to host decoder sessions. */
|
|
17863
|
+
decode: boolean().optional(),
|
|
17864
|
+
/** Node is eligible to run audio-analyzer sessions. */
|
|
17865
|
+
audio: boolean().optional(),
|
|
17866
|
+
/** Node is eligible to be the ingest / source-owner (serve the restream). */
|
|
17867
|
+
ingest: boolean().optional()
|
|
17858
17868
|
});
|
|
17859
17869
|
var CameraPipelineForAgentSchema = object({
|
|
17860
17870
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
@@ -17929,7 +17939,10 @@ var AgentLoadSummarySchema = object({
|
|
|
17929
17939
|
online: boolean(),
|
|
17930
17940
|
load: RunnerLocalLoadSchema,
|
|
17931
17941
|
/** Computed score used by the L2 capacity balancer (lower = less loaded). */
|
|
17932
|
-
score: number()
|
|
17942
|
+
score: number(),
|
|
17943
|
+
/** This node's decode hwaccel backend (per-node `probedBestHwaccel`), or null
|
|
17944
|
+
* when not yet probed — for the cluster Pipeline table UI (P0.2). */
|
|
17945
|
+
decodeHwaccel: string().nullable()
|
|
17933
17946
|
});
|
|
17934
17947
|
/**
|
|
17935
17948
|
* Aggregate metrics across the whole detection cluster. Replaces the legacy
|
|
@@ -18157,6 +18170,21 @@ method(object({
|
|
|
18157
18170
|
}), object({ success: literal(true) }), {
|
|
18158
18171
|
kind: "mutation",
|
|
18159
18172
|
auth: "admin"
|
|
18173
|
+
}), method(object({
|
|
18174
|
+
agentNodeId: string(),
|
|
18175
|
+
detectWeight: number().positive().nullable()
|
|
18176
|
+
}), object({ success: literal(true) }), {
|
|
18177
|
+
kind: "mutation",
|
|
18178
|
+
auth: "admin"
|
|
18179
|
+
}), method(object({
|
|
18180
|
+
agentNodeId: string(),
|
|
18181
|
+
detect: boolean().nullable().optional(),
|
|
18182
|
+
decode: boolean().nullable().optional(),
|
|
18183
|
+
audio: boolean().nullable().optional(),
|
|
18184
|
+
ingest: boolean().nullable().optional()
|
|
18185
|
+
}), object({ success: literal(true) }), {
|
|
18186
|
+
kind: "mutation",
|
|
18187
|
+
auth: "admin"
|
|
18160
18188
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
18161
18189
|
deviceId: number(),
|
|
18162
18190
|
addonId: string(),
|
|
@@ -20559,7 +20587,7 @@ var HardwareEncoderIdSchema = _enum([
|
|
|
20559
20587
|
"libx264",
|
|
20560
20588
|
"libx265"
|
|
20561
20589
|
]);
|
|
20562
|
-
|
|
20590
|
+
object({
|
|
20563
20591
|
encoders: array(object({
|
|
20564
20592
|
encoder: HardwareEncoderIdSchema,
|
|
20565
20593
|
codec: _enum(["H264", "H265"]),
|
|
@@ -20578,15 +20606,7 @@ var HardwareEncodersSchema = object({
|
|
|
20578
20606
|
defaultH265: HardwareEncoderIdSchema,
|
|
20579
20607
|
probedAt: number()
|
|
20580
20608
|
});
|
|
20581
|
-
|
|
20582
|
-
* Decode-side companion to {@link HardwareEncodersSchema}: the `-hwaccel`
|
|
20583
|
-
* methods the configured ffmpeg binary actually supports (parsed from
|
|
20584
|
-
* `ffmpeg -hwaccels`). Used to gate decode-hwaccel attempts so the transcode
|
|
20585
|
-
* egress never spends a spawn on a backend this build cannot offer. Per-stream
|
|
20586
|
-
* decode fragility (e.g. VideoToolbox HEVC) is still handled by the egress's
|
|
20587
|
-
* software fallback — this only filters out wholly-unsupported backends.
|
|
20588
|
-
*/
|
|
20589
|
-
var HardwareDecodeAccelsSchema = object({
|
|
20609
|
+
object({
|
|
20590
20610
|
methods: array(string()).readonly(),
|
|
20591
20611
|
probedAt: number()
|
|
20592
20612
|
});
|
|
@@ -20649,13 +20669,7 @@ var ResolvedInferenceConfigSchema = object({
|
|
|
20649
20669
|
format: ModelFormatSchema,
|
|
20650
20670
|
reason: string()
|
|
20651
20671
|
});
|
|
20652
|
-
method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema)
|
|
20653
|
-
kind: "mutation",
|
|
20654
|
-
auth: "admin"
|
|
20655
|
-
}), method(_void(), HardwareDecodeAccelsSchema), method(_void(), HardwareDecodeAccelsSchema, {
|
|
20656
|
-
kind: "mutation",
|
|
20657
|
-
auth: "admin"
|
|
20658
|
-
});
|
|
20672
|
+
method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
|
|
20659
20673
|
var PtzPresetSchema = object({
|
|
20660
20674
|
id: string(),
|
|
20661
20675
|
name: string()
|
|
@@ -24137,6 +24151,18 @@ Object.freeze({
|
|
|
24137
24151
|
addonId: null,
|
|
24138
24152
|
access: "create"
|
|
24139
24153
|
},
|
|
24154
|
+
"pipelineOrchestrator.setAgentCapabilities": {
|
|
24155
|
+
capName: "pipeline-orchestrator",
|
|
24156
|
+
capScope: "system",
|
|
24157
|
+
addonId: null,
|
|
24158
|
+
access: "create"
|
|
24159
|
+
},
|
|
24160
|
+
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
24161
|
+
capName: "pipeline-orchestrator",
|
|
24162
|
+
capScope: "system",
|
|
24163
|
+
addonId: null,
|
|
24164
|
+
access: "create"
|
|
24165
|
+
},
|
|
24140
24166
|
"pipelineOrchestrator.setAgentMaxCameras": {
|
|
24141
24167
|
capName: "pipeline-orchestrator",
|
|
24142
24168
|
capScope: "system",
|
|
@@ -24293,30 +24319,6 @@ Object.freeze({
|
|
|
24293
24319
|
addonId: null,
|
|
24294
24320
|
access: "view"
|
|
24295
24321
|
},
|
|
24296
|
-
"platformProbe.getHardwareDecodeAccels": {
|
|
24297
|
-
capName: "platform-probe",
|
|
24298
|
-
capScope: "system",
|
|
24299
|
-
addonId: null,
|
|
24300
|
-
access: "view"
|
|
24301
|
-
},
|
|
24302
|
-
"platformProbe.getHardwareEncoders": {
|
|
24303
|
-
capName: "platform-probe",
|
|
24304
|
-
capScope: "system",
|
|
24305
|
-
addonId: null,
|
|
24306
|
-
access: "view"
|
|
24307
|
-
},
|
|
24308
|
-
"platformProbe.refreshHardwareDecodeAccels": {
|
|
24309
|
-
capName: "platform-probe",
|
|
24310
|
-
capScope: "system",
|
|
24311
|
-
addonId: null,
|
|
24312
|
-
access: "create"
|
|
24313
|
-
},
|
|
24314
|
-
"platformProbe.refreshHardwareEncoders": {
|
|
24315
|
-
capName: "platform-probe",
|
|
24316
|
-
capScope: "system",
|
|
24317
|
-
addonId: null,
|
|
24318
|
-
access: "create"
|
|
24319
|
-
},
|
|
24320
24322
|
"platformProbe.resolveHwAccel": {
|
|
24321
24323
|
capName: "platform-probe",
|
|
24322
24324
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -17833,7 +17833,17 @@ var AgentAddonConfigSchema = object({
|
|
|
17833
17833
|
});
|
|
17834
17834
|
var AgentPipelineSettingsSchema = object({
|
|
17835
17835
|
addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
|
|
17836
|
-
maxCameras: number().int().nonnegative().nullable().default(null)
|
|
17836
|
+
maxCameras: number().int().nonnegative().nullable().default(null),
|
|
17837
|
+
/** Per-node detection weight (relative share for the quota balancer). */
|
|
17838
|
+
detectWeight: number().positive().optional(),
|
|
17839
|
+
/** Node is eligible to run the detection pipeline (decode + inference). */
|
|
17840
|
+
detect: boolean().optional(),
|
|
17841
|
+
/** Node is eligible to host decoder sessions. */
|
|
17842
|
+
decode: boolean().optional(),
|
|
17843
|
+
/** Node is eligible to run audio-analyzer sessions. */
|
|
17844
|
+
audio: boolean().optional(),
|
|
17845
|
+
/** Node is eligible to be the ingest / source-owner (serve the restream). */
|
|
17846
|
+
ingest: boolean().optional()
|
|
17837
17847
|
});
|
|
17838
17848
|
var CameraPipelineForAgentSchema = object({
|
|
17839
17849
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
@@ -17908,7 +17918,10 @@ var AgentLoadSummarySchema = object({
|
|
|
17908
17918
|
online: boolean(),
|
|
17909
17919
|
load: RunnerLocalLoadSchema,
|
|
17910
17920
|
/** Computed score used by the L2 capacity balancer (lower = less loaded). */
|
|
17911
|
-
score: number()
|
|
17921
|
+
score: number(),
|
|
17922
|
+
/** This node's decode hwaccel backend (per-node `probedBestHwaccel`), or null
|
|
17923
|
+
* when not yet probed — for the cluster Pipeline table UI (P0.2). */
|
|
17924
|
+
decodeHwaccel: string().nullable()
|
|
17912
17925
|
});
|
|
17913
17926
|
/**
|
|
17914
17927
|
* Aggregate metrics across the whole detection cluster. Replaces the legacy
|
|
@@ -18136,6 +18149,21 @@ method(object({
|
|
|
18136
18149
|
}), object({ success: literal(true) }), {
|
|
18137
18150
|
kind: "mutation",
|
|
18138
18151
|
auth: "admin"
|
|
18152
|
+
}), method(object({
|
|
18153
|
+
agentNodeId: string(),
|
|
18154
|
+
detectWeight: number().positive().nullable()
|
|
18155
|
+
}), object({ success: literal(true) }), {
|
|
18156
|
+
kind: "mutation",
|
|
18157
|
+
auth: "admin"
|
|
18158
|
+
}), method(object({
|
|
18159
|
+
agentNodeId: string(),
|
|
18160
|
+
detect: boolean().nullable().optional(),
|
|
18161
|
+
decode: boolean().nullable().optional(),
|
|
18162
|
+
audio: boolean().nullable().optional(),
|
|
18163
|
+
ingest: boolean().nullable().optional()
|
|
18164
|
+
}), object({ success: literal(true) }), {
|
|
18165
|
+
kind: "mutation",
|
|
18166
|
+
auth: "admin"
|
|
18139
18167
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
18140
18168
|
deviceId: number(),
|
|
18141
18169
|
addonId: string(),
|
|
@@ -20538,7 +20566,7 @@ var HardwareEncoderIdSchema = _enum([
|
|
|
20538
20566
|
"libx264",
|
|
20539
20567
|
"libx265"
|
|
20540
20568
|
]);
|
|
20541
|
-
|
|
20569
|
+
object({
|
|
20542
20570
|
encoders: array(object({
|
|
20543
20571
|
encoder: HardwareEncoderIdSchema,
|
|
20544
20572
|
codec: _enum(["H264", "H265"]),
|
|
@@ -20557,15 +20585,7 @@ var HardwareEncodersSchema = object({
|
|
|
20557
20585
|
defaultH265: HardwareEncoderIdSchema,
|
|
20558
20586
|
probedAt: number()
|
|
20559
20587
|
});
|
|
20560
|
-
|
|
20561
|
-
* Decode-side companion to {@link HardwareEncodersSchema}: the `-hwaccel`
|
|
20562
|
-
* methods the configured ffmpeg binary actually supports (parsed from
|
|
20563
|
-
* `ffmpeg -hwaccels`). Used to gate decode-hwaccel attempts so the transcode
|
|
20564
|
-
* egress never spends a spawn on a backend this build cannot offer. Per-stream
|
|
20565
|
-
* decode fragility (e.g. VideoToolbox HEVC) is still handled by the egress's
|
|
20566
|
-
* software fallback — this only filters out wholly-unsupported backends.
|
|
20567
|
-
*/
|
|
20568
|
-
var HardwareDecodeAccelsSchema = object({
|
|
20588
|
+
object({
|
|
20569
20589
|
methods: array(string()).readonly(),
|
|
20570
20590
|
probedAt: number()
|
|
20571
20591
|
});
|
|
@@ -20628,13 +20648,7 @@ var ResolvedInferenceConfigSchema = object({
|
|
|
20628
20648
|
format: ModelFormatSchema,
|
|
20629
20649
|
reason: string()
|
|
20630
20650
|
});
|
|
20631
|
-
method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema)
|
|
20632
|
-
kind: "mutation",
|
|
20633
|
-
auth: "admin"
|
|
20634
|
-
}), method(_void(), HardwareDecodeAccelsSchema), method(_void(), HardwareDecodeAccelsSchema, {
|
|
20635
|
-
kind: "mutation",
|
|
20636
|
-
auth: "admin"
|
|
20637
|
-
});
|
|
20651
|
+
method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
|
|
20638
20652
|
var PtzPresetSchema = object({
|
|
20639
20653
|
id: string(),
|
|
20640
20654
|
name: string()
|
|
@@ -24116,6 +24130,18 @@ Object.freeze({
|
|
|
24116
24130
|
addonId: null,
|
|
24117
24131
|
access: "create"
|
|
24118
24132
|
},
|
|
24133
|
+
"pipelineOrchestrator.setAgentCapabilities": {
|
|
24134
|
+
capName: "pipeline-orchestrator",
|
|
24135
|
+
capScope: "system",
|
|
24136
|
+
addonId: null,
|
|
24137
|
+
access: "create"
|
|
24138
|
+
},
|
|
24139
|
+
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
24140
|
+
capName: "pipeline-orchestrator",
|
|
24141
|
+
capScope: "system",
|
|
24142
|
+
addonId: null,
|
|
24143
|
+
access: "create"
|
|
24144
|
+
},
|
|
24119
24145
|
"pipelineOrchestrator.setAgentMaxCameras": {
|
|
24120
24146
|
capName: "pipeline-orchestrator",
|
|
24121
24147
|
capScope: "system",
|
|
@@ -24272,30 +24298,6 @@ Object.freeze({
|
|
|
24272
24298
|
addonId: null,
|
|
24273
24299
|
access: "view"
|
|
24274
24300
|
},
|
|
24275
|
-
"platformProbe.getHardwareDecodeAccels": {
|
|
24276
|
-
capName: "platform-probe",
|
|
24277
|
-
capScope: "system",
|
|
24278
|
-
addonId: null,
|
|
24279
|
-
access: "view"
|
|
24280
|
-
},
|
|
24281
|
-
"platformProbe.getHardwareEncoders": {
|
|
24282
|
-
capName: "platform-probe",
|
|
24283
|
-
capScope: "system",
|
|
24284
|
-
addonId: null,
|
|
24285
|
-
access: "view"
|
|
24286
|
-
},
|
|
24287
|
-
"platformProbe.refreshHardwareDecodeAccels": {
|
|
24288
|
-
capName: "platform-probe",
|
|
24289
|
-
capScope: "system",
|
|
24290
|
-
addonId: null,
|
|
24291
|
-
access: "create"
|
|
24292
|
-
},
|
|
24293
|
-
"platformProbe.refreshHardwareEncoders": {
|
|
24294
|
-
capName: "platform-probe",
|
|
24295
|
-
capScope: "system",
|
|
24296
|
-
addonId: null,
|
|
24297
|
-
access: "create"
|
|
24298
|
-
},
|
|
24299
24301
|
"platformProbe.resolveHwAccel": {
|
|
24300
24302
|
capName: "platform-probe",
|
|
24301
24303
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-wyze",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.14",
|
|
4
4
|
"description": "Wyze camera device-provider addon for CamStack — wraps the @apocaliss92/wyze-bridge-js P2P/DTLS client, feeding the stream-broker via the pull-rfc4571 lazy-publish path (a structural twin of addon-provider-reolink)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|