@blockcast/mmt-container 0.4.0-main.bb90ce9247fa → 0.4.0-main.bbd83cb48eff
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/README.md +5 -3
- package/dist/browser-runtime.js +532 -333
- package/dist/browser-runtime.js.map +4 -4
- package/dist/carp-catalog.d.ts +5 -3
- package/dist/carp-catalog.d.ts.map +1 -1
- package/dist/carp-catalog.js +18 -5
- package/dist/carp-catalog.js.map +3 -3
- package/dist/catalog-fec-params.d.ts +5 -2
- package/dist/catalog-fec-params.d.ts.map +1 -1
- package/dist/catalog-fec-params.js +100 -36
- package/dist/catalog-fec-params.js.map +4 -4
- package/dist/catalog-network-source.js +3 -0
- package/dist/catalog-network-source.js.map +3 -3
- package/dist/delivery-catalog.js +84 -220
- package/dist/delivery-catalog.js.map +4 -4
- package/dist/fec-manager.d.ts +15 -0
- package/dist/fec-manager.d.ts.map +1 -1
- package/dist/fec-manager.js +99 -39
- package/dist/fec-manager.js.map +3 -3
- package/dist/fec-state.d.ts +3 -2
- package/dist/fec-state.d.ts.map +1 -1
- package/dist/fec-state.js +16 -9
- package/dist/fec-state.js.map +4 -4
- package/dist/fec-worker-setup.d.ts.map +1 -1
- package/dist/fec-worker-setup.js +13 -2
- package/dist/fec-worker-setup.js.map +3 -3
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -0
- package/dist/index.js.map +2 -2
- package/dist/iso-block-locator.js +3 -0
- package/dist/iso-block-locator.js.map +3 -3
- package/dist/mfu-reassembler.js +24 -13
- package/dist/mfu-reassembler.js.map +3 -3
- package/dist/mmtp-container-parser.d.ts.map +1 -1
- package/dist/mmtp-container-parser.js +96 -22
- package/dist/mmtp-container-parser.js.map +3 -3
- package/dist/mmtp-container-parser.no-modules.js +124 -36
- package/dist/mmtp-container-parser.no-modules.js.map +4 -4
- package/dist/mmtp-decode-pipeline.js +96 -22
- package/dist/mmtp-decode-pipeline.js.map +3 -3
- package/dist/mmtp-router.d.ts +14 -4
- package/dist/mmtp-router.d.ts.map +1 -1
- package/dist/mmtp-router.js +139 -22
- package/dist/mmtp-router.js.map +3 -3
- package/dist/multicast-input.js +3 -0
- package/dist/multicast-input.js.map +3 -3
- package/dist/multicast-manager.d.ts +49 -0
- package/dist/multicast-manager.d.ts.map +1 -1
- package/dist/multicast-manager.js +437 -302
- package/dist/multicast-manager.js.map +4 -4
- package/dist/multicast-transport.d.ts +6 -2
- package/dist/multicast-transport.d.ts.map +1 -1
- package/dist/multicast-transport.js +93 -224
- package/dist/multicast-transport.js.map +4 -4
- package/dist/multicast-unwrap.js +24 -13
- package/dist/multicast-unwrap.js.map +3 -3
- package/dist/no-modules.js +123 -35
- package/dist/no-modules.js.map +4 -4
- package/dist/repair-fetch.js +3 -0
- package/dist/repair-fetch.js.map +3 -3
- package/dist/repair-layers.js +3 -0
- package/dist/repair-layers.js.map +3 -3
- package/dist/sample-combiner.d.ts +7 -1
- package/dist/sample-combiner.d.ts.map +1 -1
- package/dist/sample-combiner.js +14 -2
- package/dist/sample-combiner.js.map +2 -2
- package/dist/signaling.js +3 -0
- package/dist/signaling.js.map +3 -3
- package/dist/timestamp-codec.js +24 -13
- package/dist/timestamp-codec.js.map +3 -3
- package/dist/wasm-mfu-reassembler.js +3 -0
- package/dist/wasm-mfu-reassembler.js.map +3 -3
- package/dist/wasm-mmtp-container-parser.js +96 -22
- package/dist/wasm-mmtp-container-parser.js.map +3 -3
- package/package.json +5 -5
- package/src/carp-catalog.ts +33 -10
- package/src/catalog-fec-params.ts +38 -17
- package/src/fec-manager.ts +111 -49
- package/src/fec-state.ts +4 -9
- package/src/fec-worker-setup.ts +16 -1
- package/src/index.ts +5 -0
- package/src/mmtp-container-parser.ts +75 -7
- package/src/mmtp-router.ts +76 -5
- package/src/multicast-manager.ts +143 -7
- package/src/multicast-transport.ts +14 -3
- package/src/sample-combiner.ts +15 -2
- package/test-vectors/catalog/README.md +5 -1
- package/test-vectors/catalog-validation.json +95 -0
package/README.md
CHANGED
|
@@ -135,7 +135,7 @@ if (hdr.packetType === 0x00) { // MPU
|
|
|
135
135
|
|
|
136
136
|
### MFU reassembler (`./mfu`)
|
|
137
137
|
|
|
138
|
-
Stateful reassembler for fragmented MFUs per ISO/IEC 23008-1:2023 §9.2.3.3 and the repository's contiguous-source producer profile. It partitions bounded continuation state by physical stream, MPU, and wrapping terminal source-packet sequence (`packet_sequence + fragment_counter`), queues FI=2/FI=3 by run and counter until FI=1 and any missing predecessor arrive, then propagates FI=1's intrinsic DU identity while draining the exact countdown. The terminal sequence is transport association only. ISO-permitted interleaving remains separated and incomplete; there is no scope, timestamp, SS_ID, or arrival-order fallback.
|
|
138
|
+
Stateful reassembler for fragmented MFUs per ISO/IEC 23008-1:2023 §9.2.3.3 and the repository's contiguous-source producer profile. It partitions bounded continuation state by physical stream, MPU, and wrapping terminal source-packet sequence (`packet_sequence + fragment_counter`), queues FI=2/FI=3 by run and counter until FI=1 and any missing predecessor arrive, then propagates FI=1's intrinsic DU identity while draining the exact countdown. The terminal sequence is transport association only. ISO-permitted interleaving remains separated and incomplete; there is no scope, timestamp, SS_ID, or arrival-order fallback. The router feeds a recovered packet under the wire u32 sequence its SS_ID maps to through the stream's received FEC sources, since a hop may re-stamp the sequence after protection.
|
|
139
139
|
|
|
140
140
|
```ts
|
|
141
141
|
interface MFUReassemblerOptions {
|
|
@@ -265,7 +265,7 @@ per-commit `0.1.0-main.<sha>` prerelease from `stamp-prerelease.mjs`), and a
|
|
|
265
265
|
> Superseded by BLO-40665. Every package is now bumped in lockstep by a `v*`
|
|
266
266
|
> tag and the sibling ranges move with it, so the objection above no longer
|
|
267
267
|
> applies -- it was an argument against bumping *one* package. The set is at
|
|
268
|
-
> `0.
|
|
268
|
+
> `0.4.0`; see `RELEASES.md`.
|
|
269
269
|
|
|
270
270
|
#### Track-role convention (Phase 14)
|
|
271
271
|
|
|
@@ -278,7 +278,7 @@ This is **project-specific**, not in any IETF draft yet. The container's switchi
|
|
|
278
278
|
| `video/repair` | `repair` | FEC repair-symbol leg, cross-CDN federated |
|
|
279
279
|
| `video` (no slash) | `single` | Legacy single-track stream (D-04) |
|
|
280
280
|
|
|
281
|
-
Empty names, unknown suffixes, trailing slashes, and any non-ASCII / control characters all throw at parse time (T-14-01 fuzz hardening at `carp-catalog.ts:49-57`). Multi-track switching sets must include
|
|
281
|
+
Empty names, unknown suffixes, trailing slashes, and any non-ASCII / control characters all throw at parse time (T-14-01 fuzz hardening at `carp-catalog.ts:49-57`). Multi-track switching sets must include `base` and `repair` or `validateSwitchingSet` reports the missing roles; `delta` is optional, since base is self-decodable and a base-only set plays in base-only mode (BLO-49199).
|
|
282
282
|
|
|
283
283
|
```ts
|
|
284
284
|
import { parseTrackRole, validateSwitchingSet } from "@blockcast/mmt-container/carp-catalog"
|
|
@@ -289,6 +289,8 @@ parseTrackRole("video/foo") // throws "unknown role suffix"
|
|
|
289
289
|
|
|
290
290
|
validateSwitchingSet(["v/base", "v/delta", "v/repair"]) // { ok: true }
|
|
291
291
|
validateSwitchingSet(["v/base", "v/delta"]) // { ok: false, missing: ["repair"] }
|
|
292
|
+
validateSwitchingSet(["v/base", "v/repair"]) // { ok: true } — base-only
|
|
293
|
+
validateSwitchingSet(["v/delta", "v/repair"]) // { ok: false, missing: ["base"] }
|
|
292
294
|
```
|
|
293
295
|
|
|
294
296
|
### FEC manager (`./fec-manager`)
|