@camstack/addon-pipeline 1.2.183 → 1.2.184

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.
@@ -418,15 +418,9 @@ function positiveOrUndefined(value) {
418
418
  }
419
419
  //#endregion
420
420
  //#region src/session-decode/native-crop-registry.ts
421
- /**
422
- * Default max entries retained across all active decode sessions on a node. Read
423
- * ONCE from `CAMSTACK_NATIVE_CROP_REGISTRY_CAP`; a non-finite / non-positive
424
- * value falls back to 256 (was a fixed 64 — too small for a busy multi-camera
425
- * node, see class doc).
426
- */
427
421
  var DEFAULT_NATIVE_CROP_REGISTRY_CAP = (() => {
428
422
  const raw = Number(process.env["CAMSTACK_NATIVE_CROP_REGISTRY_CAP"]);
429
- return Number.isFinite(raw) && raw > 0 ? Math.floor(raw) : 256;
423
+ return Number.isFinite(raw) && raw > 0 ? Math.floor(raw) : 4096;
430
424
  })();
431
425
  /** Invoke a requester's best-effort `release()`, swallowing any transport error. */
432
426
  function safeRelease(request) {
@@ -412,15 +412,9 @@ function positiveOrUndefined(value) {
412
412
  }
413
413
  //#endregion
414
414
  //#region src/session-decode/native-crop-registry.ts
415
- /**
416
- * Default max entries retained across all active decode sessions on a node. Read
417
- * ONCE from `CAMSTACK_NATIVE_CROP_REGISTRY_CAP`; a non-finite / non-positive
418
- * value falls back to 256 (was a fixed 64 — too small for a busy multi-camera
419
- * node, see class doc).
420
- */
421
415
  var DEFAULT_NATIVE_CROP_REGISTRY_CAP = (() => {
422
416
  const raw = Number(process.env["CAMSTACK_NATIVE_CROP_REGISTRY_CAP"]);
423
- return Number.isFinite(raw) && raw > 0 ? Math.floor(raw) : 256;
417
+ return Number.isFinite(raw) && raw > 0 ? Math.floor(raw) : 4096;
424
418
  })();
425
419
  /** Invoke a requester's best-effort `release()`, swallowing any transport error. */
426
420
  function safeRelease(request) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-pipeline",
3
- "version": "1.2.183",
3
+ "version": "1.2.184",
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",