@camstack/addon-pipeline 1.2.267 → 1.2.268
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/stream-broker/{_virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-DEMQXM_a.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-6gUUOaeo.mjs} +1 -1
- package/dist/stream-broker/{hostInit-C9moW6r3.mjs → hostInit-DBu-k8Ps.mjs} +1 -1
- package/dist/stream-broker/index.js +7 -11
- package/dist/stream-broker/index.mjs +7 -11
- package/dist/stream-broker/remoteEntry.js +1 -1
- package/package.json +1 -1
|
@@ -32539,20 +32539,16 @@ var StreamBrokerAddon = class extends require_dist.BaseAddon {
|
|
|
32539
32539
|
}
|
|
32540
32540
|
/**
|
|
32541
32541
|
* Resolve the ffmpeg binary for THIS node: a per-node `binaryPath` override
|
|
32542
|
-
* (`binaryPath@<node
|
|
32543
|
-
*
|
|
32544
|
-
*
|
|
32545
|
-
*
|
|
32542
|
+
* (`binaryPath@<node>`, the operator's voluntary choice) → else
|
|
32543
|
+
* `ensureFfmpeg()`, which provisions a binary WE provide (the image's, or the
|
|
32544
|
+
* static build it downloads). Replaces the retired global `ffmpeg` system
|
|
32545
|
+
* section (node-local/empty on agents → a cross-node footgun). There is no
|
|
32546
|
+
* PATH fallback: the host's ffmpeg is never ours.
|
|
32546
32547
|
*/
|
|
32547
32548
|
async resolveFfmpegBinaryPath() {
|
|
32548
32549
|
const override = this.config.binaryPath;
|
|
32549
32550
|
if (typeof override === "string" && override.trim().length > 0) return override;
|
|
32550
|
-
|
|
32551
|
-
return await this.ctx.deps.ensureFfmpeg();
|
|
32552
|
-
} catch (err) {
|
|
32553
|
-
this.ctx.logger.error("stream-broker: ensureFfmpeg() failed to provision ffmpeg — falling back to PATH \"ffmpeg\"", { meta: { error: require_dist.errMsg(err) } });
|
|
32554
|
-
return "ffmpeg";
|
|
32555
|
-
}
|
|
32551
|
+
return await this.ctx.deps.ensureFfmpeg();
|
|
32556
32552
|
}
|
|
32557
32553
|
/**
|
|
32558
32554
|
* Push THIS node's ffmpeg config into the broker — all node-local now, NOT the
|
|
@@ -32580,7 +32576,7 @@ var StreamBrokerAddon = class extends require_dist.BaseAddon {
|
|
|
32580
32576
|
hwAccel
|
|
32581
32577
|
} });
|
|
32582
32578
|
} catch (err) {
|
|
32583
|
-
this.ctx.logger.
|
|
32579
|
+
this.ctx.logger.error("stream-broker: could not resolve an ffmpeg binary — no transcode on this node can be trusted until this is fixed", { meta: { error: require_dist.errMsg(err) } });
|
|
32584
32580
|
}
|
|
32585
32581
|
}
|
|
32586
32582
|
async onInitialize() {
|
|
@@ -32535,20 +32535,16 @@ var StreamBrokerAddon = class extends BaseAddon {
|
|
|
32535
32535
|
}
|
|
32536
32536
|
/**
|
|
32537
32537
|
* Resolve the ffmpeg binary for THIS node: a per-node `binaryPath` override
|
|
32538
|
-
* (`binaryPath@<node
|
|
32539
|
-
*
|
|
32540
|
-
*
|
|
32541
|
-
*
|
|
32538
|
+
* (`binaryPath@<node>`, the operator's voluntary choice) → else
|
|
32539
|
+
* `ensureFfmpeg()`, which provisions a binary WE provide (the image's, or the
|
|
32540
|
+
* static build it downloads). Replaces the retired global `ffmpeg` system
|
|
32541
|
+
* section (node-local/empty on agents → a cross-node footgun). There is no
|
|
32542
|
+
* PATH fallback: the host's ffmpeg is never ours.
|
|
32542
32543
|
*/
|
|
32543
32544
|
async resolveFfmpegBinaryPath() {
|
|
32544
32545
|
const override = this.config.binaryPath;
|
|
32545
32546
|
if (typeof override === "string" && override.trim().length > 0) return override;
|
|
32546
|
-
|
|
32547
|
-
return await this.ctx.deps.ensureFfmpeg();
|
|
32548
|
-
} catch (err) {
|
|
32549
|
-
this.ctx.logger.error("stream-broker: ensureFfmpeg() failed to provision ffmpeg — falling back to PATH \"ffmpeg\"", { meta: { error: errMsg(err) } });
|
|
32550
|
-
return "ffmpeg";
|
|
32551
|
-
}
|
|
32547
|
+
return await this.ctx.deps.ensureFfmpeg();
|
|
32552
32548
|
}
|
|
32553
32549
|
/**
|
|
32554
32550
|
* Push THIS node's ffmpeg config into the broker — all node-local now, NOT the
|
|
@@ -32576,7 +32572,7 @@ var StreamBrokerAddon = class extends BaseAddon {
|
|
|
32576
32572
|
hwAccel
|
|
32577
32573
|
} });
|
|
32578
32574
|
} catch (err) {
|
|
32579
|
-
this.ctx.logger.
|
|
32575
|
+
this.ctx.logger.error("stream-broker: could not resolve an ffmpeg binary — no transcode on this node can be trusted until this is fixed", { meta: { error: errMsg(err) } });
|
|
32580
32576
|
}
|
|
32581
32577
|
}
|
|
32582
32578
|
async onInitialize() {
|
|
@@ -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_stream_broker_widgets-
|
|
33
|
+
return l ||= d(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-6gUUOaeo.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",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.268",
|
|
4
4
|
"description": "Pipeline bundle — runner, detection, motion, audio + stream broker. Multi-entry npm package shipping pipeline addons under a single bundle.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|