@blockcast/mmt-container 0.4.1-main.a08d80672f1d → 0.4.1-main.a37bc86bdad2
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.
- package/dist/browser-runtime.js +8 -3
- package/dist/browser-runtime.js.map +2 -2
- package/dist/multicast-manager.d.ts +5 -0
- package/dist/multicast-manager.d.ts.map +1 -1
- package/dist/multicast-manager.js +5 -1
- package/dist/multicast-manager.js.map +2 -2
- package/dist/repair-fetch.d.ts +8 -1
- package/dist/repair-fetch.d.ts.map +1 -1
- package/dist/repair-fetch.js +3 -2
- package/dist/repair-fetch.js.map +2 -2
- package/package.json +5 -5
- package/src/multicast-manager.ts +9 -0
- package/src/repair-fetch.ts +20 -4
package/dist/browser-runtime.js
CHANGED
|
@@ -26345,6 +26345,7 @@ function newBlockPolicyStats(packetId, catalogTrackName, epoch) {
|
|
|
26345
26345
|
repairsSkippedRttExceedsBudget: 0,
|
|
26346
26346
|
repairsSkippedPresentationDelayUnavailable: 0,
|
|
26347
26347
|
repairsSkippedRangeNoAnchor: 0,
|
|
26348
|
+
repairsSkippedGroupCannotComplete: 0,
|
|
26348
26349
|
lastRepairSkip: null,
|
|
26349
26350
|
keyframeRepairFetchesSent: 0,
|
|
26350
26351
|
rangeRepairFetchesSent: 0,
|
|
@@ -26429,7 +26430,9 @@ var REPAIR_PRIORITY_REASONS = /* @__PURE__ */ new Set([
|
|
|
26429
26430
|
var REPAIR_SKIP_REASONS = /* @__PURE__ */ new Set([
|
|
26430
26431
|
"rtt-unmeasured",
|
|
26431
26432
|
"rtt-exceeds-budget",
|
|
26432
|
-
"presentation-delay-unavailable"
|
|
26433
|
+
"presentation-delay-unavailable",
|
|
26434
|
+
"range-no-anchor",
|
|
26435
|
+
"group-cannot-complete"
|
|
26433
26436
|
]);
|
|
26434
26437
|
var REPAIR_DEADLINE_BOUNDS = /* @__PURE__ */ new Set(["wait", "presentation", "keyframe", "retention"]);
|
|
26435
26438
|
var GAP_REASONS = {
|
|
@@ -28042,6 +28045,7 @@ var MulticastManager = class {
|
|
|
28042
28045
|
if (reason === "rtt-unmeasured") stats.repairsSkippedRttUnmeasured++;
|
|
28043
28046
|
else if (reason === "rtt-exceeds-budget") stats.repairsSkippedRttExceedsBudget++;
|
|
28044
28047
|
else if (reason === "range-no-anchor") stats.repairsSkippedRangeNoAnchor++;
|
|
28048
|
+
else if (reason === "group-cannot-complete") stats.repairsSkippedGroupCannotComplete++;
|
|
28045
28049
|
else stats.repairsSkippedPresentationDelayUnavailable++;
|
|
28046
28050
|
stats.lastRepairSkip = {
|
|
28047
28051
|
reason,
|
|
@@ -30501,12 +30505,13 @@ function wireRepairFetch(mc, opts) {
|
|
|
30501
30505
|
const admit = (entry, now) => {
|
|
30502
30506
|
const budgetMs = entry.deadlineAt - now;
|
|
30503
30507
|
const rttMs = readRtt();
|
|
30504
|
-
|
|
30508
|
+
const reason = !entry.range && !groupCanComplete(entry.sbn, entry.packetId, entry.catalogTrackName) ? "group-cannot-complete" : rttMs === null ? "rtt-unmeasured" : rttMs < budgetMs ? null : "rtt-exceeds-budget";
|
|
30509
|
+
if (reason === null) return rttMs;
|
|
30505
30510
|
retire(entry);
|
|
30506
30511
|
releaseHold(entry);
|
|
30507
30512
|
clearEntry(entry);
|
|
30508
30513
|
mc.noteRepairSkipped(
|
|
30509
|
-
|
|
30514
|
+
reason,
|
|
30510
30515
|
{ rttMs, budgetMs, priority: entry.priority },
|
|
30511
30516
|
entry.sbn,
|
|
30512
30517
|
entry.packetId,
|