@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.
@@ -18,7 +18,7 @@ var e = {
18
18
  },
19
19
  "@camstack/types": {
20
20
  name: "@camstack/types",
21
- version: "1.2.224",
21
+ version: "1.2.225",
22
22
  scope: ["default"],
23
23
  loaded: !1,
24
24
  from: "addon_stream_broker_widgets",
@@ -36,7 +36,7 @@ async function r() {
36
36
  }
37
37
  },
38
38
  "@camstack/types": {
39
- version: "1.2.224",
39
+ version: "1.2.225",
40
40
  scope: "default",
41
41
  shareConfig: {
42
42
  singleton: !0,
@@ -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>`) → else `ensureFfmpeg()` which provisions a guaranteed
32543
- * portable static binary locally (hub / agent / Mac). Replaces the retired
32544
- * global `ffmpeg` system section (node-local/empty on agents → a cross-node
32545
- * footgun). Falls back to PATH `ffmpeg` only if the provision genuinely fails.
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
- try {
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.warn("Failed to load ffmpeg config — using defaults", { meta: { error: require_dist.errMsg(err) } });
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>`) → else `ensureFfmpeg()` which provisions a guaranteed
32539
- * portable static binary locally (hub / agent / Mac). Replaces the retired
32540
- * global `ffmpeg` system section (node-local/empty on agents → a cross-node
32541
- * footgun). Falls back to PATH `ffmpeg` only if the provision genuinely fails.
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
- try {
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.warn("Failed to load ffmpeg config — using defaults", { meta: { error: errMsg(err) } });
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-DEMQXM_a.mjs")).catch((e) => {
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.267",
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",