@camstack/addon-pipeline-orchestrator 1.1.23 → 1.1.25
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/{_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_orchestrator_widgets-CQmCy3VK.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_orchestrator_widgets-BjQq9CHk.mjs} +2 -2
- package/dist/{hostInit-ibn4yaBr.mjs → hostInit-BXHfpWmL.mjs} +2 -2
- package/dist/index.js +14 -6
- package/dist/index.mjs +14 -6
- package/dist/remoteEntry.js +1 -1
- package/package.json +1 -1
|
@@ -18,7 +18,7 @@ var e = {
|
|
|
18
18
|
},
|
|
19
19
|
"@camstack/types": {
|
|
20
20
|
name: "@camstack/types",
|
|
21
|
-
version: "1.1.
|
|
21
|
+
version: "1.1.27",
|
|
22
22
|
scope: ["default"],
|
|
23
23
|
loaded: !1,
|
|
24
24
|
from: "addon_pipeline_orchestrator_widgets",
|
|
@@ -33,7 +33,7 @@ var e = {
|
|
|
33
33
|
},
|
|
34
34
|
"@camstack/ui-library": {
|
|
35
35
|
name: "@camstack/ui-library",
|
|
36
|
-
version: "1.1.
|
|
36
|
+
version: "1.1.23",
|
|
37
37
|
scope: ["default"],
|
|
38
38
|
loaded: !1,
|
|
39
39
|
from: "addon_pipeline_orchestrator_widgets",
|
|
@@ -36,7 +36,7 @@ async function r() {
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"@camstack/types": {
|
|
39
|
-
version: "1.1.
|
|
39
|
+
version: "1.1.27",
|
|
40
40
|
scope: "default",
|
|
41
41
|
shareConfig: {
|
|
42
42
|
singleton: !0,
|
|
@@ -99,7 +99,7 @@ async function r() {
|
|
|
99
99
|
}
|
|
100
100
|
},
|
|
101
101
|
"@camstack/ui-library": {
|
|
102
|
-
version: "1.1.
|
|
102
|
+
version: "1.1.23",
|
|
103
103
|
scope: "default",
|
|
104
104
|
shareConfig: {
|
|
105
105
|
singleton: !0,
|
package/dist/index.js
CHANGED
|
@@ -26216,14 +26216,15 @@ var PipelineOrchestratorAddon = class PipelineOrchestratorAddon extends BaseAddo
|
|
|
26216
26216
|
}
|
|
26217
26217
|
/**
|
|
26218
26218
|
* The camera's source-owner node — the ONE node that dials its real RTSP
|
|
26219
|
-
* and hosts its broker.
|
|
26220
|
-
*
|
|
26221
|
-
*
|
|
26222
|
-
*
|
|
26223
|
-
*
|
|
26219
|
+
* and hosts its broker. Driven by the `ingestNode` CLUSTER ROLE
|
|
26220
|
+
* (placement-model §6): a single node ingests every camera and serves the
|
|
26221
|
+
* compressed restream. Defaults to the hub. (Arbitrary ingest ≠ hub is a
|
|
26222
|
+
* later phase; wiring the role here means no call site changes when it lands.
|
|
26223
|
+
* With `remoteSourcingNodes` empty the source-owner stays unmodeled, so this
|
|
26224
|
+
* has no runtime effect until the cross-node transport phase.)
|
|
26224
26225
|
*/
|
|
26225
26226
|
assignSource(_deviceId) {
|
|
26226
|
-
return this.
|
|
26227
|
+
return this.clusterRoles.ingestNode;
|
|
26227
26228
|
}
|
|
26228
26229
|
/**
|
|
26229
26230
|
* The node that owns `deviceId`'s source pull, or `undefined` while
|
|
@@ -26490,6 +26491,13 @@ var PipelineOrchestratorAddon = class PipelineOrchestratorAddon extends BaseAddo
|
|
|
26490
26491
|
this.recordAudioAssignment(deviceId, this.localNodeId, false);
|
|
26491
26492
|
return this.localNodeId;
|
|
26492
26493
|
}
|
|
26494
|
+
if (!preferredNode) {
|
|
26495
|
+
const roleNode = this.clusterRoles.audioNode;
|
|
26496
|
+
if (loads.some((load) => load.nodeId === roleNode)) {
|
|
26497
|
+
this.recordAudioAssignment(deviceId, roleNode, false);
|
|
26498
|
+
return roleNode;
|
|
26499
|
+
}
|
|
26500
|
+
}
|
|
26493
26501
|
const decision = balanceAudio({
|
|
26494
26502
|
nodes: loads,
|
|
26495
26503
|
preferredNode
|
package/dist/index.mjs
CHANGED
|
@@ -26212,14 +26212,15 @@ var PipelineOrchestratorAddon = class PipelineOrchestratorAddon extends BaseAddo
|
|
|
26212
26212
|
}
|
|
26213
26213
|
/**
|
|
26214
26214
|
* The camera's source-owner node — the ONE node that dials its real RTSP
|
|
26215
|
-
* and hosts its broker.
|
|
26216
|
-
*
|
|
26217
|
-
*
|
|
26218
|
-
*
|
|
26219
|
-
*
|
|
26215
|
+
* and hosts its broker. Driven by the `ingestNode` CLUSTER ROLE
|
|
26216
|
+
* (placement-model §6): a single node ingests every camera and serves the
|
|
26217
|
+
* compressed restream. Defaults to the hub. (Arbitrary ingest ≠ hub is a
|
|
26218
|
+
* later phase; wiring the role here means no call site changes when it lands.
|
|
26219
|
+
* With `remoteSourcingNodes` empty the source-owner stays unmodeled, so this
|
|
26220
|
+
* has no runtime effect until the cross-node transport phase.)
|
|
26220
26221
|
*/
|
|
26221
26222
|
assignSource(_deviceId) {
|
|
26222
|
-
return this.
|
|
26223
|
+
return this.clusterRoles.ingestNode;
|
|
26223
26224
|
}
|
|
26224
26225
|
/**
|
|
26225
26226
|
* The node that owns `deviceId`'s source pull, or `undefined` while
|
|
@@ -26486,6 +26487,13 @@ var PipelineOrchestratorAddon = class PipelineOrchestratorAddon extends BaseAddo
|
|
|
26486
26487
|
this.recordAudioAssignment(deviceId, this.localNodeId, false);
|
|
26487
26488
|
return this.localNodeId;
|
|
26488
26489
|
}
|
|
26490
|
+
if (!preferredNode) {
|
|
26491
|
+
const roleNode = this.clusterRoles.audioNode;
|
|
26492
|
+
if (loads.some((load) => load.nodeId === roleNode)) {
|
|
26493
|
+
this.recordAudioAssignment(deviceId, roleNode, false);
|
|
26494
|
+
return roleNode;
|
|
26495
|
+
}
|
|
26496
|
+
}
|
|
26489
26497
|
const decision = balanceAudio({
|
|
26490
26498
|
nodes: loads,
|
|
26491
26499
|
preferredNode
|
package/dist/remoteEntry.js
CHANGED
|
@@ -30,7 +30,7 @@ async function d(e) {
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
async function f() {
|
|
33
|
-
return l ||= d(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_orchestrator_widgets-
|
|
33
|
+
return l ||= d(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_orchestrator_widgets-BjQq9CHk.mjs")).catch((e) => {
|
|
34
34
|
throw l = void 0, e;
|
|
35
35
|
}), l;
|
|
36
36
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-pipeline-orchestrator",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.25",
|
|
4
4
|
"description": "Hub-side camera-to-agent load balancer — tracks runner capacity and dispatches attachCamera calls to the optimal pipeline-runner instance",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|