@blockcast/mmt-container 2.2.0-main.ef09fa701ea8 → 2.2.0-main.f112316e5f40

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.
@@ -2448,6 +2448,7 @@ var FECManager = class _FECManager {
2448
2448
  this.#workerErrorCounts = /* @__PURE__ */ new Map();
2449
2449
  this.#decoderUnavailableEvents = 0;
2450
2450
  this.#repairSymbolSizeMismatchCount = 0;
2451
+ this.#unlistedRepairTrackRefusals = 0;
2451
2452
  // Event callbacks — block lifecycle notifications for MmtpRouter wiring.
2452
2453
  // NOTE: For sync WASM path, recovery routing is handled by MmtpRouter from
2453
2454
  // feedSourceSymbol/feedRepairSymbol return values. For Worker path, recovery
@@ -2621,6 +2622,7 @@ var FECManager = class _FECManager {
2621
2622
  #workerErrorCounts;
2622
2623
  #decoderUnavailableEvents;
2623
2624
  #repairSymbolSizeMismatchCount;
2625
+ #unlistedRepairTrackRefusals;
2624
2626
  #onUndelimitedLoss;
2625
2627
  #onIsoHoleExpired;
2626
2628
  #encodeTrackName(catalogTrackName) {
@@ -3789,6 +3791,7 @@ var FECManager = class _FECManager {
3789
3791
  packetId
3790
3792
  })),
3791
3793
  repairSymbolSizeMismatches: this.#repairSymbolSizeMismatchCount,
3794
+ unlistedRepairTrackRefusals: this.#unlistedRepairTrackRefusals,
3792
3795
  repairObjectRejects: [...this.#repairObjectRejects.values()].map((r) => ({ ...r })),
3793
3796
  workerErrors: Object.fromEntries(this.#workerErrorCounts)
3794
3797
  };
@@ -5358,7 +5361,10 @@ var FECManager = class _FECManager {
5358
5361
  this.#layerAnchorHorizon(packetId),
5359
5362
  this.#sourceFrontiers.get(streamKey)?.sbn
5360
5363
  );
5361
- if (verdict === "discard") return false;
5364
+ if (verdict === "discard") {
5365
+ this.#unlistedRepairTrackRefusals++;
5366
+ return false;
5367
+ }
5362
5368
  if (verdict !== void 0) {
5363
5369
  this.#failClosed(streamKey, verdict, packetId, catalogTrackName);
5364
5370
  return false;