@blockcast/mmt-container 0.5.0-main.2c1f81817995 → 0.5.0-main.8fbc25eb9deb

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.
@@ -19483,7 +19483,6 @@ var MmtpRouter = class {
19483
19483
  #provenance = /* @__PURE__ */ new Map();
19484
19484
  #onFlowProtected = null;
19485
19485
  #unadmittedListedDrops = 0;
19486
- #unlistedRepairSetAside = 0;
19487
19486
  /** The ingress a held datagram arrived with; the receiver returns the same bytes on release. */
19488
19487
  #heldIngress = /* @__PURE__ */ new WeakMap();
19489
19488
  #unicastRepair = false;
@@ -20232,27 +20231,6 @@ var MmtpRouter = class {
20232
20231
  get unadmittedListedDropCount() {
20233
20232
  return this.#unadmittedListedDrops;
20234
20233
  }
20235
- /** MoQ repair symbols of an unlisted track kept out of a governed FEC instance (7.2.7 step 2). */
20236
- get unlistedRepairSetAsideCount() {
20237
- return this.#unlistedRepairSetAside;
20238
- }
20239
- /**
20240
- * A MoQ repair symbol no protected flow lists, owned by a source track one
20241
- * does: its FEC instance is governed (7.2.7 step 2) and takes only admitted
20242
- * symbols, so the symbol is set aside. Un-listing needs no hook: an
20243
- * unprotected or released flow lists nothing.
20244
- * ponytail: set aside = dropped. 7.2.7 lets it enter a decode (MAY), only
20245
- * for a shortfall; the unlisted-symbol pool (BLO-49773 item 2) adds that.
20246
- */
20247
- #setAsideUnlistedRepair(ownerPacketId) {
20248
- for (const entry of this.#provenance.values()) {
20249
- if (entry.protected && ingressHasPacketId(entry.ingress, ownerPacketId)) {
20250
- this.#unlistedRepairSetAside++;
20251
- return true;
20252
- }
20253
- }
20254
- return false;
20255
- }
20256
20234
  /**
20257
20235
  * The admission that makes this router protected under `flow` (7.2.7):
20258
20236
  * its FEC instances discard what they hold of the flow's listed tracks so
@@ -20428,9 +20406,8 @@ var MmtpRouter = class {
20428
20406
  );
20429
20407
  }
20430
20408
  if (ownerPacketId != null && !admitted) {
20431
- const admit = this.#admitUnicast(repairPacketId, packet, () => this.#feedRepairPacket(packet, ownerPacketIdHint, catalogTrackName, repairTrackName, true));
20409
+ const admit = this.#admitUnicast(ownerPacketId, packet, () => this.#feedRepairPacket(packet, ownerPacketIdHint, catalogTrackName, repairTrackName, true));
20432
20410
  if (admit === "held" || admit === "dropped") return;
20433
- if (admit === "unlisted" && this.#setAsideUnlistedRepair(ownerPacketId)) return;
20434
20411
  }
20435
20412
  if (ownerPacketId != null && this.#fecManager) {
20436
20413
  this.#moqRepairPidCounts[repairPacketId] = (this.#moqRepairPidCounts[repairPacketId] || 0) + 1;
@@ -21349,7 +21326,6 @@ var MmtpRouter = class {
21349
21326
  const ownerPacketId = this.#resolveRepairOwnerPacketId(info.packetId, ingress);
21350
21327
  if (ownerPacketId != null && this.#fecManager) {
21351
21328
  if (hasAmbiguousCatalogTrackName(ingress, ownerPacketId)) return;
21352
- if (source === "moq" && !manifestAdmitted && this.#setAsideUnlistedRepair(ownerPacketId)) return;
21353
21329
  this.#repairPidCounts[info.packetId] = (this.#repairPidCounts[info.packetId] || 0) + 1;
21354
21330
  const count = this.#repairPidCounts[info.packetId];
21355
21331
  if (count <= 2 || count % 500 === 0) {