@blockcast/mmt-container 0.4.0-main.3ce0fa24e37d → 0.4.0-main.3db2b1977a44
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 +6 -4
- package/dist/browser-runtime.js +395 -67
- package/dist/browser-runtime.js.map +3 -3
- package/dist/carp-catalog.d.ts +12 -8
- package/dist/carp-catalog.d.ts.map +1 -1
- package/dist/carp-catalog.js +26 -3
- package/dist/carp-catalog.js.map +2 -2
- package/dist/catalog-fec-params.js.map +2 -2
- package/dist/catalog-network-source.d.ts +24 -2
- package/dist/catalog-network-source.d.ts.map +1 -1
- package/dist/catalog-network-source.js +21 -1
- package/dist/catalog-network-source.js.map +2 -2
- package/dist/delivery-catalog.js +14 -0
- package/dist/delivery-catalog.js.map +2 -2
- package/dist/fec-manager.d.ts +36 -1
- package/dist/fec-manager.d.ts.map +1 -1
- package/dist/fec-manager.js +161 -23
- package/dist/fec-manager.js.map +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +2 -2
- package/dist/iso-block-locator.d.ts +29 -0
- package/dist/iso-block-locator.d.ts.map +1 -1
- package/dist/iso-block-locator.js +97 -17
- package/dist/iso-block-locator.js.map +3 -3
- package/dist/manifest-auth-plan.js +16 -8
- package/dist/manifest-auth-plan.js.map +4 -4
- package/dist/mmtp-container-parser.no-modules.js +65 -12
- package/dist/mmtp-container-parser.no-modules.js.map +4 -4
- package/dist/mmtp-fec-session.d.ts.map +1 -1
- package/dist/mmtp-fec-session.js +3 -1
- package/dist/mmtp-fec-session.js.map +2 -2
- package/dist/mmtp-router.d.ts +14 -1
- package/dist/mmtp-router.d.ts.map +1 -1
- package/dist/mmtp-router.js +11 -0
- package/dist/mmtp-router.js.map +2 -2
- package/dist/multicast-auth-catalog.js +16 -8
- package/dist/multicast-auth-catalog.js.map +4 -4
- package/dist/multicast-input.d.ts +3 -3
- package/dist/multicast-input.d.ts.map +1 -1
- package/dist/multicast-input.js +20 -15
- package/dist/multicast-input.js.map +2 -2
- package/dist/multicast-manager.d.ts +17 -1
- package/dist/multicast-manager.d.ts.map +1 -1
- package/dist/multicast-manager.js +205 -24
- package/dist/multicast-manager.js.map +3 -3
- package/dist/multicast-transport.d.ts +6 -0
- package/dist/multicast-transport.d.ts.map +1 -1
- package/dist/multicast-transport.js +16 -1
- package/dist/multicast-transport.js.map +2 -2
- package/dist/no-modules.d.ts +1 -1
- package/dist/no-modules.d.ts.map +1 -1
- package/dist/no-modules.js +65 -12
- package/dist/no-modules.js.map +4 -4
- package/dist/phase14-catalog-override.d.ts +1 -1
- package/dist/phase14-catalog-override.d.ts.map +1 -1
- package/dist/phase14-catalog-override.js +2 -2
- package/dist/phase14-catalog-override.js.map +2 -2
- package/dist/repair-fetch.d.ts +58 -5
- package/dist/repair-fetch.d.ts.map +1 -1
- package/dist/repair-fetch.js +122 -22
- package/dist/repair-fetch.js.map +3 -3
- package/dist/source-auth.js +2688 -1
- package/dist/source-auth.js.map +4 -4
- package/package.json +5 -5
- package/schemas/catalog.schema.json +39 -9
- package/src/carp-catalog.ts +47 -10
- package/src/catalog-network-source.ts +45 -2
- package/src/fec-manager.ts +99 -14
- package/src/index.ts +5 -0
- package/src/iso-block-locator.ts +97 -6
- package/src/mmtp-fec-session.ts +7 -1
- package/src/mmtp-router.ts +24 -0
- package/src/multicast-input.ts +31 -24
- package/src/multicast-manager.ts +27 -0
- package/src/multicast-transport.ts +3 -0
- package/src/no-modules.ts +1 -1
- package/src/phase14-catalog-override.ts +3 -3
- package/src/repair-fetch.ts +204 -25
- package/test-vectors/bc-provenance-v2.json +1526 -0
- package/test-vectors/catalog/README.md +17 -0
- package/test-vectors/catalog/negative/fec-block-profile-missing.json +1 -1
- package/test-vectors/catalog/negative/fec-block-profile-retired.json +1 -1
- package/test-vectors/catalog/negative/fec-block-profile-unknown.json +1 -1
- package/test-vectors/catalog/negative/init-data-inline-without-data.json +22 -0
- package/test-vectors/catalog/negative/mmtp-mode-mpu.json +15 -0
- package/test-vectors/catalog/negative/multicast-amt-dns-without-relay.json +37 -0
- package/test-vectors/catalog/negative/presentation-anchor-unsafe.json +16 -0
- package/test-vectors/catalog/positive/fec-iso-ssbg1.json +1 -1
- package/test-vectors/catalog/positive/fec-multicast.json +1 -1
- package/test-vectors/catalog/positive/mmt01-12-1-init-ref-anchor.json +29 -0
- package/test-vectors/catalog/positive/multicast-amt-discovery-omitted.json +37 -0
- package/test-vectors/catalog/positive/multicast-amt-dns-relay.json +38 -0
- package/test-vectors/catalog/positive/presentation-anchor-negative.json +27 -0
- package/test-vectors/catalog/section-codes.json +4 -0
- package/test-vectors/generate-bc-provenance-v2.mjs +252 -0
package/README.md
CHANGED
|
@@ -203,9 +203,10 @@ interface MulticastEndpoint {
|
|
|
203
203
|
}
|
|
204
204
|
|
|
205
205
|
// Relay/tuning discovery is catalog-level, not per-endpoint:
|
|
206
|
-
// multicast.networkSource: [{ type: "amt", discovery
|
|
206
|
+
// multicast.networkSource: [{ type: "amt", discovery?: "dns" | "driad" | "manual",
|
|
207
207
|
// relay?: string, port?: number }]
|
|
208
|
-
// `relay` is REQUIRED for
|
|
208
|
+
// `relay` is REQUIRED for "dns" and "manual"; "driad" resolves it at runtime.
|
|
209
|
+
// An omitted `discovery` with a hostname relay is "dns" (multicast-01 4.2.1).
|
|
209
210
|
// An endpoint-level `relayAddress` is retired — the schema, moq-rs and
|
|
210
211
|
// `validateCmsfMmtpCatalog` (`multicast_relay_address`) all reject it.
|
|
211
212
|
|
|
@@ -249,8 +250,9 @@ DRIAD *and* a named relay — emit both entries, `[{type: "amt", discovery:
|
|
|
249
250
|
non-DRIAD AMT entry, so the manual one carries the relay while the DRIAD one
|
|
250
251
|
keeps the discovery request. An `atsc3` endpoint now
|
|
251
252
|
requires a `{type: "atsc3", …}` entry and throws `atsc3_requires_tuning`
|
|
252
|
-
without one: that entry carries the frequency
|
|
253
|
-
|
|
253
|
+
without one: that entry carries the frequency in kHz (REQUIRED) and,
|
|
254
|
+
optionally, the PLP, service id and SLS URI (draft -01 4.2.2/4.2.3) — the only
|
|
255
|
+
tuning information an ATSC3 receiver has (the SLS behind
|
|
254
256
|
`slsUri` describes the MMTP session, MP table included, per A/331:2026-04 7.2,
|
|
255
257
|
and nothing of this profile, so `manifestPort` and keys come from provisioning), and the schema
|
|
256
258
|
cannot enforce it because `networkSource` is optional there (a native join has
|