@blockcast/mmt-container 2.2.0-main.2c4d96d3ffc2 → 2.2.0-main.3cc3ad1f4323

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.
@@ -23111,6 +23111,7 @@ var MmtpRouter = class {
23111
23111
  #provenance = /* @__PURE__ */ new Map();
23112
23112
  #onFlowProtected = null;
23113
23113
  #unadmittedListedDrops = 0;
23114
+ #admittedSourceDatagrams = 0;
23114
23115
  #unlistedRepairSetAside = 0;
23115
23116
  #assistBlocks = /* @__PURE__ */ new Map();
23116
23117
  #assistFailures = /* @__PURE__ */ new Map();
@@ -24267,6 +24268,10 @@ var MmtpRouter = class {
24267
24268
  get unadmittedListedDropCount() {
24268
24269
  return this.#unadmittedListedDrops;
24269
24270
  }
24271
+ /** Source datagrams (multicast or MoQ) a protected flow's bc-provenance v2 receiver released: admitted at once or held, then admitted by a record. Repair symbols and user-agent-admitted datagrams are not counted. Counted at release, before this router's own track checks: a released datagram those drop, which only a track change between hold and release can cause, still counts, so this is not a count of routed media. */
24272
+ get admittedSourceDatagramCount() {
24273
+ return this.#admittedSourceDatagrams;
24274
+ }
24270
24275
  /** MoQ repair symbols of an unlisted track kept out of a governed FEC instance (7.2.7 step 2). */
24271
24276
  get unlistedRepairSetAsideCount() {
24272
24277
  return this.#unlistedRepairSetAside;
@@ -25527,6 +25532,7 @@ var MmtpRouter = class {
25527
25532
  const parsed = this.#parser.parsePacket(packet);
25528
25533
  if (!parsed) return;
25529
25534
  const info = parsed.info;
25535
+ if (manifestAdmitted && !info.isRepair && ingress?.admittedBy !== USER_AGENT_VERIFIED) this.#admittedSourceDatagrams++;
25530
25536
  if (source === "multicast" && !manifestAdmitted) {
25531
25537
  this.#fecManager?.noteMulticastArrival?.(info.packetId, info.sequenceNumber);
25532
25538
  }