@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.
@@ -14321,6 +14321,7 @@ var FECManager = class _FECManager {
14321
14321
  this.#workerErrorCounts = /* @__PURE__ */ new Map();
14322
14322
  this.#decoderUnavailableEvents = 0;
14323
14323
  this.#repairSymbolSizeMismatchCount = 0;
14324
+ this.#unlistedRepairTrackRefusals = 0;
14324
14325
  // Event callbacks — block lifecycle notifications for MmtpRouter wiring.
14325
14326
  // NOTE: For sync WASM path, recovery routing is handled by MmtpRouter from
14326
14327
  // feedSourceSymbol/feedRepairSymbol return values. For Worker path, recovery
@@ -14494,6 +14495,7 @@ var FECManager = class _FECManager {
14494
14495
  #workerErrorCounts;
14495
14496
  #decoderUnavailableEvents;
14496
14497
  #repairSymbolSizeMismatchCount;
14498
+ #unlistedRepairTrackRefusals;
14497
14499
  #onUndelimitedLoss;
14498
14500
  #onIsoHoleExpired;
14499
14501
  #encodeTrackName(catalogTrackName) {
@@ -15662,6 +15664,7 @@ var FECManager = class _FECManager {
15662
15664
  packetId
15663
15665
  })),
15664
15666
  repairSymbolSizeMismatches: this.#repairSymbolSizeMismatchCount,
15667
+ unlistedRepairTrackRefusals: this.#unlistedRepairTrackRefusals,
15665
15668
  repairObjectRejects: [...this.#repairObjectRejects.values()].map((r) => ({ ...r })),
15666
15669
  workerErrors: Object.fromEntries(this.#workerErrorCounts)
15667
15670
  };
@@ -17231,7 +17234,10 @@ var FECManager = class _FECManager {
17231
17234
  this.#layerAnchorHorizon(packetId),
17232
17235
  this.#sourceFrontiers.get(streamKey)?.sbn
17233
17236
  );
17234
- if (verdict === "discard") return false;
17237
+ if (verdict === "discard") {
17238
+ this.#unlistedRepairTrackRefusals++;
17239
+ return false;
17240
+ }
17235
17241
  if (verdict !== void 0) {
17236
17242
  this.#failClosed(streamKey, verdict, packetId, catalogTrackName);
17237
17243
  return false;