@blockcast/mmt-container 0.5.0-main.e7704f492663 → 0.5.0
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.map +2 -2
- package/dist/fec-manager.d.ts.map +1 -1
- package/dist/fec-manager.js.map +2 -2
- package/dist/multicast-manager.js.map +2 -2
- package/package.json +5 -5
- package/src/fec-manager.ts +3 -0
- package/test-vectors/catalog/negative/multicast-auth-padded-key.json +0 -1
- package/test-vectors/catalog/negative/multicast-auth-reused-track-format.json +0 -1
- package/test-vectors/catalog/negative/multicast-auth-root-dotted-key.json +0 -1
- package/test-vectors/catalog/negative/multicast-auth-trailing-pad-bits.json +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blockcast/mmt-container",
|
|
3
|
-
"version": "0.5.0
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "MMTP/LOC container parsing for MMT over MoQ and SSM",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -165,10 +165,10 @@
|
|
|
165
165
|
"test:watch": "vitest"
|
|
166
166
|
},
|
|
167
167
|
"dependencies": {
|
|
168
|
-
"@blockcast/fec-worker": "0.5.0
|
|
169
|
-
"@blockcast/mmt-base": "0.5.0
|
|
170
|
-
"@blockcast/mmt-fec": "0.5.0
|
|
171
|
-
"@blockcast/mmt-manifest-verify": "0.5.0
|
|
168
|
+
"@blockcast/fec-worker": "^0.5.0",
|
|
169
|
+
"@blockcast/mmt-base": "^0.5.0",
|
|
170
|
+
"@blockcast/mmt-fec": "^0.5.0",
|
|
171
|
+
"@blockcast/mmt-manifest-verify": "^0.5.0",
|
|
172
172
|
"@noble/curves": "^1.9.7",
|
|
173
173
|
"@noble/hashes": "^1.8.0",
|
|
174
174
|
"ajv": "^8.17.1",
|
package/src/fec-manager.ts
CHANGED
|
@@ -3706,6 +3706,9 @@ export class FECManager {
|
|
|
3706
3706
|
if (this.#refusedRecoveries.size > 1000) dropOldest(this.#refusedRecoveries, 500)
|
|
3707
3707
|
}
|
|
3708
3708
|
if (esi >= meta.ssbLength! - 1) {
|
|
3709
|
+
// Safe to forget the block here: the Worker never re-emits a
|
|
3710
|
+
// terminal block (packages/fec-worker/src/fec-worker.ts guards
|
|
3711
|
+
// source and repair feeds with isTerminalBlock).
|
|
3709
3712
|
this.#workerRecoveredNextEsi.delete(blockKey)
|
|
3710
3713
|
} else {
|
|
3711
3714
|
this.#workerRecoveredNextEsi.set(blockKey, esi + 1)
|