@blockcast/mmt-container 0.4.0-main.1cd3cdea89da → 0.4.0-main.1e94b11199ea
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 +3 -0
- package/dist/browser-runtime.js.map +2 -2
- package/dist/carp-catalog.d.ts.map +1 -1
- package/dist/carp-catalog.js +3 -0
- package/dist/carp-catalog.js.map +2 -2
- package/dist/catalog-fec-params.js.map +1 -1
- package/dist/mmtp-container-parser.no-modules.js +3 -0
- package/dist/mmtp-container-parser.no-modules.js.map +2 -2
- package/dist/multicast-manager.js.map +1 -1
- package/dist/no-modules.js +3 -0
- package/dist/no-modules.js.map +2 -2
- package/package.json +5 -5
- package/src/carp-catalog.ts +5 -0
- package/test-vectors/catalog/README.md +7 -1
- package/test-vectors/catalog/negative/raptorq-unaligned-symbol.json +1 -0
- package/test-vectors/catalog/section-codes.json +33 -0
package/dist/browser-runtime.js
CHANGED
|
@@ -6718,6 +6718,9 @@ function validateCmsfMmtpCatalog(value) {
|
|
|
6718
6718
|
catalogError("track_fec", `${path}.fec.${field}`, "must be a positive integer");
|
|
6719
6719
|
}
|
|
6720
6720
|
}
|
|
6721
|
+
if (algorithm === "raptorq" && config["symbolSize"] % 8 !== 0) {
|
|
6722
|
+
catalogError("track_fec", `${path}.fec.symbolSize`, "RaptorQ symbolSize must be a multiple of 8");
|
|
6723
|
+
}
|
|
6721
6724
|
if (typeof config["repairTrack"] !== "string" || config["repairTrack"].length === 0) {
|
|
6722
6725
|
catalogError("track_fec", `${path}.fec.repairTrack`, "must be a non-empty string");
|
|
6723
6726
|
}
|