@blockcast/mmt-container 0.3.0 → 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/README.md +33 -16
- package/dist/browser-runtime.js +14816 -14254
- package/dist/browser-runtime.js.map +4 -4
- package/dist/carp-catalog.d.ts +24 -19
- package/dist/carp-catalog.d.ts.map +1 -1
- package/dist/carp-catalog.js +32 -14
- package/dist/carp-catalog.js.map +4 -4
- package/dist/catalog-fec-params.d.ts +88 -28
- package/dist/catalog-fec-params.d.ts.map +1 -1
- package/dist/catalog-fec-params.js +60 -23
- package/dist/catalog-fec-params.js.map +4 -4
- package/dist/catalog-network-source.js +1 -7
- package/dist/catalog-network-source.js.map +4 -4
- package/dist/cmaf-block-assembler.d.ts +0 -2
- package/dist/cmaf-block-assembler.d.ts.map +1 -1
- package/dist/cmaf-block-assembler.js +0 -1
- package/dist/cmaf-block-assembler.js.map +2 -2
- package/dist/cmcd-producer.d.ts.map +1 -1
- package/dist/cmcd-producer.js +0 -4
- package/dist/cmcd-producer.js.map +2 -2
- package/dist/delivery-catalog.d.ts +124 -0
- package/dist/delivery-catalog.d.ts.map +1 -0
- package/dist/delivery-catalog.js +1857 -0
- package/dist/delivery-catalog.js.map +7 -0
- package/dist/delta-fallback-config.d.ts +42 -0
- package/dist/delta-fallback-config.d.ts.map +1 -0
- package/dist/delta-fallback-config.js +59 -0
- package/dist/delta-fallback-config.js.map +7 -0
- package/dist/fec-manager.d.ts +52 -30
- package/dist/fec-manager.d.ts.map +1 -1
- package/dist/fec-manager.js +338 -293
- package/dist/fec-manager.js.map +4 -4
- package/dist/fec-state.d.ts +19 -31
- package/dist/fec-state.d.ts.map +1 -1
- package/dist/fec-state.js +4 -10
- package/dist/fec-state.js.map +4 -4
- package/dist/fec-worker-setup.d.ts +18 -14
- package/dist/fec-worker-setup.d.ts.map +1 -1
- package/dist/fec-worker-setup.js +81 -96
- package/dist/fec-worker-setup.js.map +4 -4
- package/dist/index.d.ts +5 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +16 -0
- package/dist/index.js.map +2 -2
- package/dist/iso-block-locator.js +1 -7
- package/dist/iso-block-locator.js.map +4 -4
- package/dist/media-router.d.ts +20 -8
- package/dist/media-router.d.ts.map +1 -1
- package/dist/media-router.js +46 -21
- package/dist/media-router.js.map +2 -2
- package/dist/mfu-reassembler.js +24 -30
- package/dist/mfu-reassembler.js.map +4 -4
- package/dist/mmtp-container-parser.d.ts +14 -11
- package/dist/mmtp-container-parser.d.ts.map +1 -1
- package/dist/mmtp-container-parser.js +126 -99
- package/dist/mmtp-container-parser.js.map +4 -4
- package/dist/mmtp-container-parser.no-modules.js +154 -108
- package/dist/mmtp-container-parser.no-modules.js.map +4 -4
- package/dist/mmtp-decode-pipeline.js +126 -99
- package/dist/mmtp-decode-pipeline.js.map +4 -4
- package/dist/mmtp-router.d.ts +51 -29
- package/dist/mmtp-router.d.ts.map +1 -1
- package/dist/mmtp-router.js +260 -326
- package/dist/mmtp-router.js.map +4 -4
- package/dist/multicast-input.js +1 -7
- package/dist/multicast-input.js.map +4 -4
- package/dist/multicast-manager.d.ts +72 -6
- package/dist/multicast-manager.d.ts.map +1 -1
- package/dist/multicast-manager.js +882 -673
- package/dist/multicast-manager.js.map +4 -4
- package/dist/multicast-transport.d.ts +1 -1
- package/dist/multicast-transport.d.ts.map +1 -1
- package/dist/multicast-transport.js +44 -26
- package/dist/multicast-transport.js.map +4 -4
- package/dist/multicast-unwrap.js +29 -35
- package/dist/multicast-unwrap.js.map +4 -4
- package/dist/no-modules.js +150 -106
- package/dist/no-modules.js.map +4 -4
- package/dist/repair-fetch.d.ts +116 -21
- package/dist/repair-fetch.d.ts.map +1 -1
- package/dist/repair-fetch.js +114 -34
- package/dist/repair-fetch.js.map +4 -4
- package/dist/repair-layers.d.ts +18 -7
- package/dist/repair-layers.d.ts.map +1 -1
- package/dist/repair-layers.js +12 -10
- package/dist/repair-layers.js.map +4 -4
- package/dist/signaling.js +2 -11
- package/dist/signaling.js.map +4 -4
- package/dist/timestamp-codec.js +24 -30
- package/dist/timestamp-codec.js.map +4 -4
- package/dist/track-session.d.ts +7 -0
- package/dist/track-session.d.ts.map +1 -1
- package/dist/track-session.js +15 -8
- package/dist/track-session.js.map +2 -2
- package/dist/wasm-mfu-reassembler.js +1 -7
- package/dist/wasm-mfu-reassembler.js.map +4 -4
- package/dist/wasm-mmtp-container-parser.js +126 -99
- package/dist/wasm-mmtp-container-parser.js.map +4 -4
- package/package.json +7 -14
- package/schemas/catalog.schema.json +3 -3
- package/src/carp-catalog.ts +51 -24
- package/src/catalog-fec-params.ts +173 -64
- package/src/cmaf-block-assembler.ts +1 -4
- package/src/cmcd-producer.ts +0 -6
- package/src/delivery-catalog.ts +498 -0
- package/src/delta-fallback-config.ts +72 -0
- package/src/fec-manager.ts +457 -334
- package/src/fec-state.ts +20 -32
- package/src/fec-worker-setup.ts +109 -90
- package/src/index.ts +32 -0
- package/src/media-router.ts +59 -21
- package/src/mmtp-container-parser.ts +106 -20
- package/src/mmtp-router.ts +189 -330
- package/src/multicast-manager.ts +265 -86
- package/src/multicast-transport.ts +16 -9
- package/src/repair-fetch.ts +273 -43
- package/src/repair-layers.ts +28 -8
- package/src/track-session.ts +28 -9
- package/test-vectors/catalog/README.md +44 -18
- package/test-vectors/catalog/negative/fec-block-profile-retired.json +52 -0
- package/test-vectors/catalog/negative/fec-enhancement-repair-removed.json +1 -1
- package/test-vectors/catalog/negative/fec-repair-layer-geometry.json +1 -1
- package/test-vectors/catalog/negative/fec-repair-layer-missing-symbols.json +1 -1
- package/test-vectors/catalog/negative/fec-repair-multiple-depends.json +1 -1
- package/test-vectors/catalog/negative/fec-repair-overlay-with-layer.json +1 -1
- package/test-vectors/catalog/negative/fec-repair-priority-out-of-band.json +1 -1
- package/test-vectors/catalog/negative/fec-repair-source-symbols-without-scope.json +1 -1
- package/test-vectors/catalog/negative/multicast-endpoint-relay-address.json +39 -0
- package/test-vectors/catalog/negative/multicast-network-source-empty.json +1 -1
- package/test-vectors/catalog/negative/raptorq-source-symbols-over-max.json +1 -1
- package/test-vectors/catalog/negative/raptorq-unaligned-symbol.json +2 -1
- package/test-vectors/catalog/positive/fec-layered-repair.json +2 -2
- package/test-vectors/catalog/positive/fec-multicast.json +2 -1
- package/test-vectors/catalog/positive/multicast-amt-manual-relay.json +38 -0
- package/test-vectors/catalog/positive/multicast-native-ssm-no-network-source.json +2 -1
- package/test-vectors/catalog/section-codes.json +33 -0
- package/test-vectors/catalog-timing.json +356 -0
- package/test-vectors/catalog-validation.json +40 -5
- package/test-vectors/delivery-catalog/README.md +11 -0
- package/test-vectors/delivery-catalog/negative/missing-block-profile.json +58 -0
- package/test-vectors/delivery-catalog/negative/packet-id-signaling.json +59 -0
- package/test-vectors/delivery-catalog/negative/retired-k-padded-block-profile.json +59 -0
- package/test-vectors/delivery-catalog/positive/dash.json +56 -0
- package/test-vectors/delivery-catalog/positive/mmtp-source-only.json +43 -0
- package/node_modules/@blockcast/fec-worker/README.md +0 -223
- package/node_modules/@blockcast/fec-worker/dist/.build-stamp +0 -0
- package/node_modules/@blockcast/fec-worker/dist/block-order.d.ts +0 -38
- package/node_modules/@blockcast/fec-worker/dist/block-order.d.ts.map +0 -1
- package/node_modules/@blockcast/fec-worker/dist/block-order.js +0 -78
- package/node_modules/@blockcast/fec-worker/dist/block-order.js.map +0 -1
- package/node_modules/@blockcast/fec-worker/dist/fec-worker-client.d.ts +0 -93
- package/node_modules/@blockcast/fec-worker/dist/fec-worker-client.d.ts.map +0 -1
- package/node_modules/@blockcast/fec-worker/dist/fec-worker-client.js +0 -346
- package/node_modules/@blockcast/fec-worker/dist/fec-worker-client.js.map +0 -1
- package/node_modules/@blockcast/fec-worker/dist/fec-worker-types.d.ts +0 -380
- package/node_modules/@blockcast/fec-worker/dist/fec-worker-types.d.ts.map +0 -1
- package/node_modules/@blockcast/fec-worker/dist/fec-worker-types.js +0 -11
- package/node_modules/@blockcast/fec-worker/dist/fec-worker-types.js.map +0 -1
- package/node_modules/@blockcast/fec-worker/dist/fec-worker.d.ts +0 -14
- package/node_modules/@blockcast/fec-worker/dist/fec-worker.d.ts.map +0 -1
- package/node_modules/@blockcast/fec-worker/dist/fec-worker.js +0 -859
- package/node_modules/@blockcast/fec-worker/dist/fec-worker.js.map +0 -7
- package/node_modules/@blockcast/fec-worker/dist/index.d.ts +0 -10
- package/node_modules/@blockcast/fec-worker/dist/index.d.ts.map +0 -1
- package/node_modules/@blockcast/fec-worker/dist/index.js +0 -8
- package/node_modules/@blockcast/fec-worker/dist/index.js.map +0 -1
- package/node_modules/@blockcast/fec-worker/dist/shred-fec-worker.d.ts +0 -20
- package/node_modules/@blockcast/fec-worker/dist/shred-fec-worker.d.ts.map +0 -1
- package/node_modules/@blockcast/fec-worker/dist/shred-fec-worker.js +0 -370
- package/node_modules/@blockcast/fec-worker/dist/shred-fec-worker.js.map +0 -7
- package/node_modules/@blockcast/fec-worker/dist/shred-worker-client.d.ts +0 -104
- package/node_modules/@blockcast/fec-worker/dist/shred-worker-client.d.ts.map +0 -1
- package/node_modules/@blockcast/fec-worker/dist/shred-worker-client.js +0 -181
- package/node_modules/@blockcast/fec-worker/dist/shred-worker-client.js.map +0 -1
- package/node_modules/@blockcast/fec-worker/dist/shred-worker-types.d.ts +0 -194
- package/node_modules/@blockcast/fec-worker/dist/shred-worker-types.d.ts.map +0 -1
- package/node_modules/@blockcast/fec-worker/dist/shred-worker-types.js +0 -62
- package/node_modules/@blockcast/fec-worker/dist/shred-worker-types.js.map +0 -1
- package/node_modules/@blockcast/fec-worker/dist/transfer.d.ts +0 -9
- package/node_modules/@blockcast/fec-worker/dist/transfer.d.ts.map +0 -1
- package/node_modules/@blockcast/fec-worker/dist/transfer.js +0 -13
- package/node_modules/@blockcast/fec-worker/dist/transfer.js.map +0 -1
- package/node_modules/@blockcast/fec-worker/package.json +0 -59
- package/node_modules/@blockcast/fec-worker/src/block-order.ts +0 -93
- package/node_modules/@blockcast/fec-worker/src/fec-worker-client.ts +0 -392
- package/node_modules/@blockcast/fec-worker/src/fec-worker-types.ts +0 -399
- package/node_modules/@blockcast/fec-worker/src/fec-worker.ts +0 -1502
- package/node_modules/@blockcast/fec-worker/src/index.ts +0 -35
- package/node_modules/@blockcast/fec-worker/src/shred-fec-worker.ts +0 -589
- package/node_modules/@blockcast/fec-worker/src/shred-worker-client.ts +0 -222
- package/node_modules/@blockcast/fec-worker/src/shred-worker-types.ts +0 -209
- package/node_modules/@blockcast/fec-worker/src/transfer.ts +0 -12
- package/node_modules/@blockcast/mmt-alta-parse/README.md +0 -181
- package/node_modules/@blockcast/mmt-alta-parse/dist/.build-stamp +0 -0
- package/node_modules/@blockcast/mmt-alta-parse/dist/index.d.ts +0 -57
- package/node_modules/@blockcast/mmt-alta-parse/dist/index.d.ts.map +0 -1
- package/node_modules/@blockcast/mmt-alta-parse/dist/index.js +0 -115
- package/node_modules/@blockcast/mmt-alta-parse/dist/index.js.map +0 -1
- package/node_modules/@blockcast/mmt-alta-parse/package.json +0 -50
- package/node_modules/@blockcast/mmt-alta-parse/src/index.ts +0 -136
- package/node_modules/@blockcast/mmt-base/README.md +0 -134
- package/node_modules/@blockcast/mmt-base/dist/.build-stamp +0 -0
- package/node_modules/@blockcast/mmt-base/dist/fec-block-profile.d.ts +0 -55
- package/node_modules/@blockcast/mmt-base/dist/fec-block-profile.d.ts.map +0 -1
- package/node_modules/@blockcast/mmt-base/dist/fec-block-profile.js +0 -128
- package/node_modules/@blockcast/mmt-base/dist/fec-block-profile.js.map +0 -1
- package/node_modules/@blockcast/mmt-base/dist/index.d.ts +0 -7
- package/node_modules/@blockcast/mmt-base/dist/index.d.ts.map +0 -1
- package/node_modules/@blockcast/mmt-base/dist/index.js +0 -7
- package/node_modules/@blockcast/mmt-base/dist/index.js.map +0 -1
- package/node_modules/@blockcast/mmt-base/dist/mmtp.d.ts +0 -292
- package/node_modules/@blockcast/mmt-base/dist/mmtp.d.ts.map +0 -1
- package/node_modules/@blockcast/mmt-base/dist/mmtp.js +0 -612
- package/node_modules/@blockcast/mmt-base/dist/mmtp.js.map +0 -1
- package/node_modules/@blockcast/mmt-base/dist/net-constants.d.ts +0 -18
- package/node_modules/@blockcast/mmt-base/dist/net-constants.d.ts.map +0 -1
- package/node_modules/@blockcast/mmt-base/dist/net-constants.js +0 -18
- package/node_modules/@blockcast/mmt-base/dist/net-constants.js.map +0 -1
- package/node_modules/@blockcast/mmt-base/dist/ntp-short.d.ts +0 -47
- package/node_modules/@blockcast/mmt-base/dist/ntp-short.d.ts.map +0 -1
- package/node_modules/@blockcast/mmt-base/dist/ntp-short.js +0 -54
- package/node_modules/@blockcast/mmt-base/dist/ntp-short.js.map +0 -1
- package/node_modules/@blockcast/mmt-base/dist/serial-number.d.ts +0 -57
- package/node_modules/@blockcast/mmt-base/dist/serial-number.d.ts.map +0 -1
- package/node_modules/@blockcast/mmt-base/dist/serial-number.js +0 -98
- package/node_modules/@blockcast/mmt-base/dist/serial-number.js.map +0 -1
- package/node_modules/@blockcast/mmt-base/dist/signalling.d.ts +0 -312
- package/node_modules/@blockcast/mmt-base/dist/signalling.d.ts.map +0 -1
- package/node_modules/@blockcast/mmt-base/dist/signalling.js +0 -637
- package/node_modules/@blockcast/mmt-base/dist/signalling.js.map +0 -1
- package/node_modules/@blockcast/mmt-base/package.json +0 -49
- package/node_modules/@blockcast/mmt-base/src/fec-block-profile.ts +0 -145
- package/node_modules/@blockcast/mmt-base/src/index.ts +0 -6
- package/node_modules/@blockcast/mmt-base/src/mmtp.ts +0 -892
- package/node_modules/@blockcast/mmt-base/src/net-constants.ts +0 -17
- package/node_modules/@blockcast/mmt-base/src/ntp-short.ts +0 -67
- package/node_modules/@blockcast/mmt-base/src/serial-number.ts +0 -107
- package/node_modules/@blockcast/mmt-base/src/signalling.ts +0 -862
- package/node_modules/@blockcast/mmt-fec/README.md +0 -271
- package/node_modules/@blockcast/mmt-fec/dist/.build-stamp +0 -0
- package/node_modules/@blockcast/mmt-fec/dist/block-manager.d.ts +0 -82
- package/node_modules/@blockcast/mmt-fec/dist/block-manager.d.ts.map +0 -1
- package/node_modules/@blockcast/mmt-fec/dist/block-manager.js +0 -296
- package/node_modules/@blockcast/mmt-fec/dist/block-manager.js.map +0 -1
- package/node_modules/@blockcast/mmt-fec/dist/block-processor.d.ts +0 -106
- package/node_modules/@blockcast/mmt-fec/dist/block-processor.d.ts.map +0 -1
- package/node_modules/@blockcast/mmt-fec/dist/block-processor.js +0 -288
- package/node_modules/@blockcast/mmt-fec/dist/block-processor.js.map +0 -1
- package/node_modules/@blockcast/mmt-fec/dist/cmaf-recovery.d.ts +0 -46
- package/node_modules/@blockcast/mmt-fec/dist/cmaf-recovery.d.ts.map +0 -1
- package/node_modules/@blockcast/mmt-fec/dist/cmaf-recovery.js +0 -96
- package/node_modules/@blockcast/mmt-fec/dist/cmaf-recovery.js.map +0 -1
- package/node_modules/@blockcast/mmt-fec/dist/cmaf-symbols.d.ts +0 -33
- package/node_modules/@blockcast/mmt-fec/dist/cmaf-symbols.d.ts.map +0 -1
- package/node_modules/@blockcast/mmt-fec/dist/cmaf-symbols.js +0 -57
- package/node_modules/@blockcast/mmt-fec/dist/cmaf-symbols.js.map +0 -1
- package/node_modules/@blockcast/mmt-fec/dist/fec-block-mapper.d.ts +0 -205
- package/node_modules/@blockcast/mmt-fec/dist/fec-block-mapper.d.ts.map +0 -1
- package/node_modules/@blockcast/mmt-fec/dist/fec-block-mapper.js +0 -240
- package/node_modules/@blockcast/mmt-fec/dist/fec-block-mapper.js.map +0 -1
- package/node_modules/@blockcast/mmt-fec/dist/index.d.ts +0 -28
- package/node_modules/@blockcast/mmt-fec/dist/index.d.ts.map +0 -1
- package/node_modules/@blockcast/mmt-fec/dist/index.js +0 -28
- package/node_modules/@blockcast/mmt-fec/dist/index.js.map +0 -1
- package/node_modules/@blockcast/mmt-fec/dist/loc-symbols.d.ts +0 -20
- package/node_modules/@blockcast/mmt-fec/dist/loc-symbols.d.ts.map +0 -1
- package/node_modules/@blockcast/mmt-fec/dist/loc-symbols.js +0 -28
- package/node_modules/@blockcast/mmt-fec/dist/loc-symbols.js.map +0 -1
- package/node_modules/@blockcast/mmt-fec/dist/oti.d.ts +0 -258
- package/node_modules/@blockcast/mmt-fec/dist/oti.d.ts.map +0 -1
- package/node_modules/@blockcast/mmt-fec/dist/oti.js +0 -382
- package/node_modules/@blockcast/mmt-fec/dist/oti.js.map +0 -1
- package/node_modules/@blockcast/mmt-fec/dist/reorder-buffer.d.ts +0 -41
- package/node_modules/@blockcast/mmt-fec/dist/reorder-buffer.d.ts.map +0 -1
- package/node_modules/@blockcast/mmt-fec/dist/reorder-buffer.js +0 -81
- package/node_modules/@blockcast/mmt-fec/dist/reorder-buffer.js.map +0 -1
- package/node_modules/@blockcast/mmt-fec/dist/repair-group.d.ts +0 -82
- package/node_modules/@blockcast/mmt-fec/dist/repair-group.d.ts.map +0 -1
- package/node_modules/@blockcast/mmt-fec/dist/repair-group.js +0 -170
- package/node_modules/@blockcast/mmt-fec/dist/repair-group.js.map +0 -1
- package/node_modules/@blockcast/mmt-fec/node_modules/@blockcast/mmt-alta-parse/README.md +0 -181
- package/node_modules/@blockcast/mmt-fec/node_modules/@blockcast/mmt-alta-parse/dist/.build-stamp +0 -0
- package/node_modules/@blockcast/mmt-fec/node_modules/@blockcast/mmt-alta-parse/dist/index.d.ts +0 -57
- package/node_modules/@blockcast/mmt-fec/node_modules/@blockcast/mmt-alta-parse/dist/index.d.ts.map +0 -1
- package/node_modules/@blockcast/mmt-fec/node_modules/@blockcast/mmt-alta-parse/dist/index.js +0 -115
- package/node_modules/@blockcast/mmt-fec/node_modules/@blockcast/mmt-alta-parse/dist/index.js.map +0 -1
- package/node_modules/@blockcast/mmt-fec/node_modules/@blockcast/mmt-alta-parse/package.json +0 -50
- package/node_modules/@blockcast/mmt-fec/node_modules/@blockcast/mmt-alta-parse/src/index.ts +0 -136
- package/node_modules/@blockcast/mmt-fec/node_modules/@blockcast/mmt-base/README.md +0 -134
- package/node_modules/@blockcast/mmt-fec/node_modules/@blockcast/mmt-base/dist/.build-stamp +0 -0
- package/node_modules/@blockcast/mmt-fec/node_modules/@blockcast/mmt-base/dist/fec-block-profile.d.ts +0 -55
- package/node_modules/@blockcast/mmt-fec/node_modules/@blockcast/mmt-base/dist/fec-block-profile.d.ts.map +0 -1
- package/node_modules/@blockcast/mmt-fec/node_modules/@blockcast/mmt-base/dist/fec-block-profile.js +0 -128
- package/node_modules/@blockcast/mmt-fec/node_modules/@blockcast/mmt-base/dist/fec-block-profile.js.map +0 -1
- package/node_modules/@blockcast/mmt-fec/node_modules/@blockcast/mmt-base/dist/index.d.ts +0 -7
- package/node_modules/@blockcast/mmt-fec/node_modules/@blockcast/mmt-base/dist/index.d.ts.map +0 -1
- package/node_modules/@blockcast/mmt-fec/node_modules/@blockcast/mmt-base/dist/index.js +0 -7
- package/node_modules/@blockcast/mmt-fec/node_modules/@blockcast/mmt-base/dist/index.js.map +0 -1
- package/node_modules/@blockcast/mmt-fec/node_modules/@blockcast/mmt-base/dist/mmtp.d.ts +0 -292
- package/node_modules/@blockcast/mmt-fec/node_modules/@blockcast/mmt-base/dist/mmtp.d.ts.map +0 -1
- package/node_modules/@blockcast/mmt-fec/node_modules/@blockcast/mmt-base/dist/mmtp.js +0 -612
- package/node_modules/@blockcast/mmt-fec/node_modules/@blockcast/mmt-base/dist/mmtp.js.map +0 -1
- package/node_modules/@blockcast/mmt-fec/node_modules/@blockcast/mmt-base/dist/net-constants.d.ts +0 -18
- package/node_modules/@blockcast/mmt-fec/node_modules/@blockcast/mmt-base/dist/net-constants.d.ts.map +0 -1
- package/node_modules/@blockcast/mmt-fec/node_modules/@blockcast/mmt-base/dist/net-constants.js +0 -18
- package/node_modules/@blockcast/mmt-fec/node_modules/@blockcast/mmt-base/dist/net-constants.js.map +0 -1
- package/node_modules/@blockcast/mmt-fec/node_modules/@blockcast/mmt-base/dist/ntp-short.d.ts +0 -47
- package/node_modules/@blockcast/mmt-fec/node_modules/@blockcast/mmt-base/dist/ntp-short.d.ts.map +0 -1
- package/node_modules/@blockcast/mmt-fec/node_modules/@blockcast/mmt-base/dist/ntp-short.js +0 -54
- package/node_modules/@blockcast/mmt-fec/node_modules/@blockcast/mmt-base/dist/ntp-short.js.map +0 -1
- package/node_modules/@blockcast/mmt-fec/node_modules/@blockcast/mmt-base/dist/serial-number.d.ts +0 -57
- package/node_modules/@blockcast/mmt-fec/node_modules/@blockcast/mmt-base/dist/serial-number.d.ts.map +0 -1
- package/node_modules/@blockcast/mmt-fec/node_modules/@blockcast/mmt-base/dist/serial-number.js +0 -98
- package/node_modules/@blockcast/mmt-fec/node_modules/@blockcast/mmt-base/dist/serial-number.js.map +0 -1
- package/node_modules/@blockcast/mmt-fec/node_modules/@blockcast/mmt-base/dist/signalling.d.ts +0 -312
- package/node_modules/@blockcast/mmt-fec/node_modules/@blockcast/mmt-base/dist/signalling.d.ts.map +0 -1
- package/node_modules/@blockcast/mmt-fec/node_modules/@blockcast/mmt-base/dist/signalling.js +0 -637
- package/node_modules/@blockcast/mmt-fec/node_modules/@blockcast/mmt-base/dist/signalling.js.map +0 -1
- package/node_modules/@blockcast/mmt-fec/node_modules/@blockcast/mmt-base/package.json +0 -49
- package/node_modules/@blockcast/mmt-fec/node_modules/@blockcast/mmt-base/src/fec-block-profile.ts +0 -145
- package/node_modules/@blockcast/mmt-fec/node_modules/@blockcast/mmt-base/src/index.ts +0 -6
- package/node_modules/@blockcast/mmt-fec/node_modules/@blockcast/mmt-base/src/mmtp.ts +0 -892
- package/node_modules/@blockcast/mmt-fec/node_modules/@blockcast/mmt-base/src/net-constants.ts +0 -17
- package/node_modules/@blockcast/mmt-fec/node_modules/@blockcast/mmt-base/src/ntp-short.ts +0 -67
- package/node_modules/@blockcast/mmt-fec/node_modules/@blockcast/mmt-base/src/serial-number.ts +0 -107
- package/node_modules/@blockcast/mmt-fec/node_modules/@blockcast/mmt-base/src/signalling.ts +0 -862
- package/node_modules/@blockcast/mmt-fec/package.json +0 -79
- package/node_modules/@blockcast/mmt-fec/src/block-manager.ts +0 -371
- package/node_modules/@blockcast/mmt-fec/src/block-processor.ts +0 -439
- package/node_modules/@blockcast/mmt-fec/src/cmaf-recovery.ts +0 -127
- package/node_modules/@blockcast/mmt-fec/src/cmaf-symbols.ts +0 -68
- package/node_modules/@blockcast/mmt-fec/src/fec-block-mapper.ts +0 -310
- package/node_modules/@blockcast/mmt-fec/src/index.ts +0 -94
- package/node_modules/@blockcast/mmt-fec/src/loc-symbols.ts +0 -34
- package/node_modules/@blockcast/mmt-fec/src/oti.ts +0 -463
- package/node_modules/@blockcast/mmt-fec/src/reorder-buffer.ts +0 -101
- package/node_modules/@blockcast/mmt-fec/src/repair-group.ts +0 -195
- package/node_modules/@blockcast/mmt-manifest-verify/dist/.build-stamp +0 -0
- package/node_modules/@blockcast/mmt-manifest-verify/dist/admission.d.ts +0 -28
- package/node_modules/@blockcast/mmt-manifest-verify/dist/admission.d.ts.map +0 -1
- package/node_modules/@blockcast/mmt-manifest-verify/dist/admission.js +0 -128
- package/node_modules/@blockcast/mmt-manifest-verify/dist/admission.js.map +0 -1
- package/node_modules/@blockcast/mmt-manifest-verify/dist/index.d.ts +0 -4
- package/node_modules/@blockcast/mmt-manifest-verify/dist/index.d.ts.map +0 -1
- package/node_modules/@blockcast/mmt-manifest-verify/dist/index.js +0 -4
- package/node_modules/@blockcast/mmt-manifest-verify/dist/index.js.map +0 -1
- package/node_modules/@blockcast/mmt-manifest-verify/dist/source-auth.d.ts +0 -37
- package/node_modules/@blockcast/mmt-manifest-verify/dist/source-auth.d.ts.map +0 -1
- package/node_modules/@blockcast/mmt-manifest-verify/dist/source-auth.js +0 -179
- package/node_modules/@blockcast/mmt-manifest-verify/dist/source-auth.js.map +0 -1
- package/node_modules/@blockcast/mmt-manifest-verify/dist/verifier.d.ts +0 -99
- package/node_modules/@blockcast/mmt-manifest-verify/dist/verifier.d.ts.map +0 -1
- package/node_modules/@blockcast/mmt-manifest-verify/dist/verifier.js +0 -492
- package/node_modules/@blockcast/mmt-manifest-verify/dist/verifier.js.map +0 -1
- package/node_modules/@blockcast/mmt-manifest-verify/package.json +0 -45
- package/node_modules/@blockcast/mmt-manifest-verify/src/admission.ts +0 -171
- package/node_modules/@blockcast/mmt-manifest-verify/src/index.ts +0 -3
- package/node_modules/@blockcast/mmt-manifest-verify/src/source-auth.ts +0 -230
- package/node_modules/@blockcast/mmt-manifest-verify/src/verifier.ts +0 -669
- package/node_modules/@noble/hashes/LICENSE +0 -21
- package/node_modules/@noble/hashes/README.md +0 -521
- package/node_modules/@noble/hashes/_assert.d.ts +0 -17
- package/node_modules/@noble/hashes/_assert.d.ts.map +0 -1
- package/node_modules/@noble/hashes/_assert.js +0 -18
- package/node_modules/@noble/hashes/_assert.js.map +0 -1
- package/node_modules/@noble/hashes/_blake.d.ts +0 -14
- package/node_modules/@noble/hashes/_blake.d.ts.map +0 -1
- package/node_modules/@noble/hashes/_blake.js +0 -50
- package/node_modules/@noble/hashes/_blake.js.map +0 -1
- package/node_modules/@noble/hashes/_md.d.ts +0 -51
- package/node_modules/@noble/hashes/_md.d.ts.map +0 -1
- package/node_modules/@noble/hashes/_md.js +0 -162
- package/node_modules/@noble/hashes/_md.js.map +0 -1
- package/node_modules/@noble/hashes/_u64.d.ts +0 -55
- package/node_modules/@noble/hashes/_u64.d.ts.map +0 -1
- package/node_modules/@noble/hashes/_u64.js +0 -90
- package/node_modules/@noble/hashes/_u64.js.map +0 -1
- package/node_modules/@noble/hashes/argon2.d.ts +0 -32
- package/node_modules/@noble/hashes/argon2.d.ts.map +0 -1
- package/node_modules/@noble/hashes/argon2.js +0 -401
- package/node_modules/@noble/hashes/argon2.js.map +0 -1
- package/node_modules/@noble/hashes/blake1.d.ts +0 -106
- package/node_modules/@noble/hashes/blake1.d.ts.map +0 -1
- package/node_modules/@noble/hashes/blake1.js +0 -459
- package/node_modules/@noble/hashes/blake1.js.map +0 -1
- package/node_modules/@noble/hashes/blake2.d.ts +0 -116
- package/node_modules/@noble/hashes/blake2.d.ts.map +0 -1
- package/node_modules/@noble/hashes/blake2.js +0 -420
- package/node_modules/@noble/hashes/blake2.js.map +0 -1
- package/node_modules/@noble/hashes/blake2b.d.ts +0 -11
- package/node_modules/@noble/hashes/blake2b.d.ts.map +0 -1
- package/node_modules/@noble/hashes/blake2b.js +0 -14
- package/node_modules/@noble/hashes/blake2b.js.map +0 -1
- package/node_modules/@noble/hashes/blake2s.d.ts +0 -20
- package/node_modules/@noble/hashes/blake2s.d.ts.map +0 -1
- package/node_modules/@noble/hashes/blake2s.js +0 -24
- package/node_modules/@noble/hashes/blake2s.js.map +0 -1
- package/node_modules/@noble/hashes/blake3.d.ts +0 -54
- package/node_modules/@noble/hashes/blake3.d.ts.map +0 -1
- package/node_modules/@noble/hashes/blake3.js +0 -255
- package/node_modules/@noble/hashes/blake3.js.map +0 -1
- package/node_modules/@noble/hashes/crypto.d.ts +0 -2
- package/node_modules/@noble/hashes/crypto.d.ts.map +0 -1
- package/node_modules/@noble/hashes/crypto.js +0 -5
- package/node_modules/@noble/hashes/crypto.js.map +0 -1
- package/node_modules/@noble/hashes/cryptoNode.d.ts +0 -2
- package/node_modules/@noble/hashes/cryptoNode.d.ts.map +0 -1
- package/node_modules/@noble/hashes/cryptoNode.js +0 -18
- package/node_modules/@noble/hashes/cryptoNode.js.map +0 -1
- package/node_modules/@noble/hashes/eskdf.d.ts +0 -47
- package/node_modules/@noble/hashes/eskdf.d.ts.map +0 -1
- package/node_modules/@noble/hashes/eskdf.js +0 -166
- package/node_modules/@noble/hashes/eskdf.js.map +0 -1
- package/node_modules/@noble/hashes/esm/_assert.d.ts +0 -17
- package/node_modules/@noble/hashes/esm/_assert.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/_assert.js +0 -15
- package/node_modules/@noble/hashes/esm/_assert.js.map +0 -1
- package/node_modules/@noble/hashes/esm/_blake.d.ts +0 -14
- package/node_modules/@noble/hashes/esm/_blake.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/_blake.js +0 -45
- package/node_modules/@noble/hashes/esm/_blake.js.map +0 -1
- package/node_modules/@noble/hashes/esm/_md.d.ts +0 -51
- package/node_modules/@noble/hashes/esm/_md.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/_md.js +0 -155
- package/node_modules/@noble/hashes/esm/_md.js.map +0 -1
- package/node_modules/@noble/hashes/esm/_u64.d.ts +0 -55
- package/node_modules/@noble/hashes/esm/_u64.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/_u64.js +0 -67
- package/node_modules/@noble/hashes/esm/_u64.js.map +0 -1
- package/node_modules/@noble/hashes/esm/argon2.d.ts +0 -32
- package/node_modules/@noble/hashes/esm/argon2.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/argon2.js +0 -392
- package/node_modules/@noble/hashes/esm/argon2.js.map +0 -1
- package/node_modules/@noble/hashes/esm/blake1.d.ts +0 -106
- package/node_modules/@noble/hashes/esm/blake1.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/blake1.js +0 -452
- package/node_modules/@noble/hashes/esm/blake1.js.map +0 -1
- package/node_modules/@noble/hashes/esm/blake2.d.ts +0 -116
- package/node_modules/@noble/hashes/esm/blake2.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/blake2.js +0 -413
- package/node_modules/@noble/hashes/esm/blake2.js.map +0 -1
- package/node_modules/@noble/hashes/esm/blake2b.d.ts +0 -11
- package/node_modules/@noble/hashes/esm/blake2b.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/blake2b.js +0 -11
- package/node_modules/@noble/hashes/esm/blake2b.js.map +0 -1
- package/node_modules/@noble/hashes/esm/blake2s.d.ts +0 -20
- package/node_modules/@noble/hashes/esm/blake2s.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/blake2s.js +0 -21
- package/node_modules/@noble/hashes/esm/blake2s.js.map +0 -1
- package/node_modules/@noble/hashes/esm/blake3.d.ts +0 -54
- package/node_modules/@noble/hashes/esm/blake3.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/blake3.js +0 -251
- package/node_modules/@noble/hashes/esm/blake3.js.map +0 -1
- package/node_modules/@noble/hashes/esm/crypto.d.ts +0 -2
- package/node_modules/@noble/hashes/esm/crypto.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/crypto.js +0 -2
- package/node_modules/@noble/hashes/esm/crypto.js.map +0 -1
- package/node_modules/@noble/hashes/esm/cryptoNode.d.ts +0 -2
- package/node_modules/@noble/hashes/esm/cryptoNode.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/cryptoNode.js +0 -15
- package/node_modules/@noble/hashes/esm/cryptoNode.js.map +0 -1
- package/node_modules/@noble/hashes/esm/eskdf.d.ts +0 -47
- package/node_modules/@noble/hashes/esm/eskdf.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/eskdf.js +0 -160
- package/node_modules/@noble/hashes/esm/eskdf.js.map +0 -1
- package/node_modules/@noble/hashes/esm/hkdf.d.ts +0 -36
- package/node_modules/@noble/hashes/esm/hkdf.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/hkdf.js +0 -82
- package/node_modules/@noble/hashes/esm/hkdf.js.map +0 -1
- package/node_modules/@noble/hashes/esm/hmac.d.ts +0 -35
- package/node_modules/@noble/hashes/esm/hmac.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/hmac.js +0 -86
- package/node_modules/@noble/hashes/esm/hmac.js.map +0 -1
- package/node_modules/@noble/hashes/esm/index.d.ts +0 -2
- package/node_modules/@noble/hashes/esm/index.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/index.js +0 -33
- package/node_modules/@noble/hashes/esm/index.js.map +0 -1
- package/node_modules/@noble/hashes/esm/legacy.d.ts +0 -71
- package/node_modules/@noble/hashes/esm/legacy.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/legacy.js +0 -281
- package/node_modules/@noble/hashes/esm/legacy.js.map +0 -1
- package/node_modules/@noble/hashes/esm/package.json +0 -10
- package/node_modules/@noble/hashes/esm/pbkdf2.d.ts +0 -23
- package/node_modules/@noble/hashes/esm/pbkdf2.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/pbkdf2.js +0 -97
- package/node_modules/@noble/hashes/esm/pbkdf2.js.map +0 -1
- package/node_modules/@noble/hashes/esm/ripemd160.d.ts +0 -13
- package/node_modules/@noble/hashes/esm/ripemd160.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/ripemd160.js +0 -13
- package/node_modules/@noble/hashes/esm/ripemd160.js.map +0 -1
- package/node_modules/@noble/hashes/esm/scrypt.d.ts +0 -34
- package/node_modules/@noble/hashes/esm/scrypt.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/scrypt.js +0 -228
- package/node_modules/@noble/hashes/esm/scrypt.js.map +0 -1
- package/node_modules/@noble/hashes/esm/sha1.d.ts +0 -11
- package/node_modules/@noble/hashes/esm/sha1.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/sha1.js +0 -11
- package/node_modules/@noble/hashes/esm/sha1.js.map +0 -1
- package/node_modules/@noble/hashes/esm/sha2.d.ts +0 -159
- package/node_modules/@noble/hashes/esm/sha2.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/sha2.js +0 -375
- package/node_modules/@noble/hashes/esm/sha2.js.map +0 -1
- package/node_modules/@noble/hashes/esm/sha256.d.ts +0 -20
- package/node_modules/@noble/hashes/esm/sha256.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/sha256.js +0 -20
- package/node_modules/@noble/hashes/esm/sha256.js.map +0 -1
- package/node_modules/@noble/hashes/esm/sha3-addons.d.ts +0 -142
- package/node_modules/@noble/hashes/esm/sha3-addons.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/sha3-addons.js +0 -393
- package/node_modules/@noble/hashes/esm/sha3-addons.js.map +0 -1
- package/node_modules/@noble/hashes/esm/sha3.d.ts +0 -53
- package/node_modules/@noble/hashes/esm/sha3.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/sha3.js +0 -234
- package/node_modules/@noble/hashes/esm/sha3.js.map +0 -1
- package/node_modules/@noble/hashes/esm/sha512.d.ts +0 -26
- package/node_modules/@noble/hashes/esm/sha512.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/sha512.js +0 -26
- package/node_modules/@noble/hashes/esm/sha512.js.map +0 -1
- package/node_modules/@noble/hashes/esm/utils.d.ts +0 -161
- package/node_modules/@noble/hashes/esm/utils.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/utils.js +0 -281
- package/node_modules/@noble/hashes/esm/utils.js.map +0 -1
- package/node_modules/@noble/hashes/hkdf.d.ts +0 -36
- package/node_modules/@noble/hashes/hkdf.d.ts.map +0 -1
- package/node_modules/@noble/hashes/hkdf.js +0 -88
- package/node_modules/@noble/hashes/hkdf.js.map +0 -1
- package/node_modules/@noble/hashes/hmac.d.ts +0 -35
- package/node_modules/@noble/hashes/hmac.d.ts.map +0 -1
- package/node_modules/@noble/hashes/hmac.js +0 -91
- package/node_modules/@noble/hashes/hmac.js.map +0 -1
- package/node_modules/@noble/hashes/index.d.ts +0 -1
- package/node_modules/@noble/hashes/index.d.ts.map +0 -1
- package/node_modules/@noble/hashes/index.js +0 -33
- package/node_modules/@noble/hashes/index.js.map +0 -1
- package/node_modules/@noble/hashes/legacy.d.ts +0 -71
- package/node_modules/@noble/hashes/legacy.d.ts.map +0 -1
- package/node_modules/@noble/hashes/legacy.js +0 -287
- package/node_modules/@noble/hashes/legacy.js.map +0 -1
- package/node_modules/@noble/hashes/package.json +0 -266
- package/node_modules/@noble/hashes/pbkdf2.d.ts +0 -23
- package/node_modules/@noble/hashes/pbkdf2.d.ts.map +0 -1
- package/node_modules/@noble/hashes/pbkdf2.js +0 -101
- package/node_modules/@noble/hashes/pbkdf2.js.map +0 -1
- package/node_modules/@noble/hashes/ripemd160.d.ts +0 -13
- package/node_modules/@noble/hashes/ripemd160.d.ts.map +0 -1
- package/node_modules/@noble/hashes/ripemd160.js +0 -16
- package/node_modules/@noble/hashes/ripemd160.js.map +0 -1
- package/node_modules/@noble/hashes/scrypt.d.ts +0 -34
- package/node_modules/@noble/hashes/scrypt.d.ts.map +0 -1
- package/node_modules/@noble/hashes/scrypt.js +0 -232
- package/node_modules/@noble/hashes/scrypt.js.map +0 -1
- package/node_modules/@noble/hashes/sha1.d.ts +0 -11
- package/node_modules/@noble/hashes/sha1.d.ts.map +0 -1
- package/node_modules/@noble/hashes/sha1.js +0 -14
- package/node_modules/@noble/hashes/sha1.js.map +0 -1
- package/node_modules/@noble/hashes/sha2.d.ts +0 -159
- package/node_modules/@noble/hashes/sha2.d.ts.map +0 -1
- package/node_modules/@noble/hashes/sha2.js +0 -384
- package/node_modules/@noble/hashes/sha2.js.map +0 -1
- package/node_modules/@noble/hashes/sha256.d.ts +0 -20
- package/node_modules/@noble/hashes/sha256.d.ts.map +0 -1
- package/node_modules/@noble/hashes/sha256.js +0 -23
- package/node_modules/@noble/hashes/sha256.js.map +0 -1
- package/node_modules/@noble/hashes/sha3-addons.d.ts +0 -142
- package/node_modules/@noble/hashes/sha3-addons.d.ts.map +0 -1
- package/node_modules/@noble/hashes/sha3-addons.js +0 -402
- package/node_modules/@noble/hashes/sha3-addons.js.map +0 -1
- package/node_modules/@noble/hashes/sha3.d.ts +0 -53
- package/node_modules/@noble/hashes/sha3.d.ts.map +0 -1
- package/node_modules/@noble/hashes/sha3.js +0 -239
- package/node_modules/@noble/hashes/sha3.js.map +0 -1
- package/node_modules/@noble/hashes/sha512.d.ts +0 -26
- package/node_modules/@noble/hashes/sha512.d.ts.map +0 -1
- package/node_modules/@noble/hashes/sha512.js +0 -29
- package/node_modules/@noble/hashes/sha512.js.map +0 -1
- package/node_modules/@noble/hashes/src/_assert.ts +0 -22
- package/node_modules/@noble/hashes/src/_blake.ts +0 -50
- package/node_modules/@noble/hashes/src/_md.ts +0 -176
- package/node_modules/@noble/hashes/src/_u64.ts +0 -91
- package/node_modules/@noble/hashes/src/argon2.ts +0 -497
- package/node_modules/@noble/hashes/src/blake1.ts +0 -534
- package/node_modules/@noble/hashes/src/blake2.ts +0 -486
- package/node_modules/@noble/hashes/src/blake2b.ts +0 -10
- package/node_modules/@noble/hashes/src/blake2s.ts +0 -20
- package/node_modules/@noble/hashes/src/blake3.ts +0 -272
- package/node_modules/@noble/hashes/src/crypto.ts +0 -9
- package/node_modules/@noble/hashes/src/cryptoNode.ts +0 -15
- package/node_modules/@noble/hashes/src/eskdf.ts +0 -187
- package/node_modules/@noble/hashes/src/hkdf.ts +0 -88
- package/node_modules/@noble/hashes/src/hmac.ts +0 -94
- package/node_modules/@noble/hashes/src/index.ts +0 -31
- package/node_modules/@noble/hashes/src/legacy.ts +0 -293
- package/node_modules/@noble/hashes/src/pbkdf2.ts +0 -122
- package/node_modules/@noble/hashes/src/ripemd160.ts +0 -12
- package/node_modules/@noble/hashes/src/scrypt.ts +0 -257
- package/node_modules/@noble/hashes/src/sha1.ts +0 -10
- package/node_modules/@noble/hashes/src/sha2.ts +0 -402
- package/node_modules/@noble/hashes/src/sha256.ts +0 -24
- package/node_modules/@noble/hashes/src/sha3-addons.ts +0 -499
- package/node_modules/@noble/hashes/src/sha3.ts +0 -258
- package/node_modules/@noble/hashes/src/sha512.ts +0 -34
- package/node_modules/@noble/hashes/src/utils.ts +0 -395
- package/node_modules/@noble/hashes/utils.d.ts +0 -161
- package/node_modules/@noble/hashes/utils.d.ts.map +0 -1
- package/node_modules/@noble/hashes/utils.js +0 -313
- package/node_modules/@noble/hashes/utils.js.map +0 -1
|
@@ -1,380 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @blockcast/fec-worker — Shared Type Definitions
|
|
3
|
-
*
|
|
4
|
-
* Defines the Worker message protocol (commands/events), FecTrackStats shape
|
|
5
|
-
* consumed by fec-panel (Phase 5) and CmcdProducer (Phase 6), and auth
|
|
6
|
-
* interface stubs (ALTA + relay block sig).
|
|
7
|
-
*
|
|
8
|
-
* Types here are importable from both main thread and Worker contexts.
|
|
9
|
-
*/
|
|
10
|
-
/**
|
|
11
|
-
* FEC block profile (BLO-35597, ISO/IEC 23008-1 Annex C): the catalog
|
|
12
|
-
* `fec.blockProfile` token. Both profiles carry identical wire tuples whose
|
|
13
|
-
* block math differs, so it is required and never inferred.
|
|
14
|
-
*
|
|
15
|
-
* - `k-padded-v1` (legacy): SBN = floor(SS_ID / K), ESI = SS_ID % K;
|
|
16
|
-
* SS_Start = SBN * K; repair ESI = K + RS_ID.
|
|
17
|
-
* - `iso-ssbg1-v1` (C.3.3 ssbg_mode1): SS_ID increments by one per source
|
|
18
|
-
* packet mod 2^32; a block is `[SS_Start, SS_Start + SSB_length)` keyed by
|
|
19
|
-
* SS_Start; `k` is only the maximum SSB_length; repair ESI =
|
|
20
|
-
* SSB_length + RS_ID.
|
|
21
|
-
*
|
|
22
|
-
* Mirrors @blockcast/mmt-base `FecBlockProfile`.
|
|
23
|
-
*/
|
|
24
|
-
export type FecBlockProfile = "k-padded-v1" | "iso-ssbg1-v1";
|
|
25
|
-
/** Per-track FEC configuration. Matches design spec section 3.2 FecTrackConfig. */
|
|
26
|
-
export interface FecTrackConfig {
|
|
27
|
-
/** Codec string, e.g. 'avc1.64001f', 'mp4a.40.2' */
|
|
28
|
-
codec: string;
|
|
29
|
-
/** Track name from catalog */
|
|
30
|
-
trackName: string;
|
|
31
|
-
/** Track media type */
|
|
32
|
-
trackType: "video" | "audio";
|
|
33
|
-
/** Video resolution (omitted for audio) */
|
|
34
|
-
resolution?: {
|
|
35
|
-
w: number;
|
|
36
|
-
h: number;
|
|
37
|
-
};
|
|
38
|
-
/** Video framerate (omitted for audio) */
|
|
39
|
-
framerate?: number;
|
|
40
|
-
/** Audio sample rate (omitted for video) */
|
|
41
|
-
sampleRate?: number;
|
|
42
|
-
/** FEC algorithm identifier: 'raptor', 'reed-solomon', 'none' */
|
|
43
|
-
algorithm: string;
|
|
44
|
-
/** Block profile; the Worker refuses to configure without a known token. */
|
|
45
|
-
blockProfile: FecBlockProfile;
|
|
46
|
-
/** Source symbols per block (K). Under `iso-ssbg1-v1` the maximum SSB_length (kMax). */
|
|
47
|
-
k: number;
|
|
48
|
-
/** Repair symbols per block (P). NOT symbol size. */
|
|
49
|
-
repairCount: number;
|
|
50
|
-
/** Bytes per symbol */
|
|
51
|
-
symbolSize: number;
|
|
52
|
-
/** Retained decoder horizon as a BLOCK COUNT (SBN distance), not D.
|
|
53
|
-
* `isRetiredSbn` retires blocks more than this many blocks behind
|
|
54
|
-
* `liveSbn` (serial order on SS_ID, BLO-35597 iso:5) and
|
|
55
|
-
* `MmtFecDecoder::new` documents it as "the number of interleaved blocks".
|
|
56
|
-
* Under `iso-ssbg1-v1` the distance is `isoBlocksBehind(SS_ID, live SS_ID, k)`
|
|
57
|
-
* (block-order.ts), the lower bound every ISO receiver layer shares.
|
|
58
|
-
* Never assign `deriveFecInterleaveDepth()` here — that returns media units
|
|
59
|
-
* per block, which is a different quantity (BLO-35597). */
|
|
60
|
-
interleaveDepth: number;
|
|
61
|
-
/** Interleave depth in milliseconds (D * frameDurationMs) */
|
|
62
|
-
interleaveMs: number;
|
|
63
|
-
/** Catalog-derived source+repair delivery window used for decoder cleanup. */
|
|
64
|
-
deliveryWindowMs: number;
|
|
65
|
-
/** FEC encoding mode */
|
|
66
|
-
fecMode: "subframe" | "object";
|
|
67
|
-
/** MoQ repair track name (optional) */
|
|
68
|
-
repairTrack?: string;
|
|
69
|
-
/** Whether ALTA publisher auth is enabled (AUTH-01) */
|
|
70
|
-
altaEnabled: boolean;
|
|
71
|
-
/** Whether relay block signature verification is enabled (AUTH-01) */
|
|
72
|
-
relayBlockSigEnabled: boolean;
|
|
73
|
-
}
|
|
74
|
-
/** Per-block snapshot for live block visualization and stats. */
|
|
75
|
-
export interface FecBlockSnapshot {
|
|
76
|
-
/** Block key: the source block number under `k-padded-v1`, the block's
|
|
77
|
-
* SS_Start under `iso-ssbg1-v1`. */
|
|
78
|
-
sbn: number;
|
|
79
|
-
/** Current block state */
|
|
80
|
-
state: "collecting" | "complete" | "recovered" | "failed";
|
|
81
|
-
/** Number of source symbols received */
|
|
82
|
-
sourceReceived: number;
|
|
83
|
-
/** Number of repair symbols received */
|
|
84
|
-
repairReceived: number;
|
|
85
|
-
/** Configured source-block geometry (K); under `iso-ssbg1-v1` the block's SSB_length. */
|
|
86
|
-
k: number;
|
|
87
|
-
/** Authored source symbols (SSB_length) once a repair symbol declared it.
|
|
88
|
-
* Under `iso-ssbg1-v1` a block is only known from a repair symbol, so it is
|
|
89
|
-
* always set — except on a cleanup tombstone for a block the Worker never
|
|
90
|
-
* saw, whose length nothing declared. */
|
|
91
|
-
ssbLength?: number;
|
|
92
|
-
/** Expected repair symbols (P) */
|
|
93
|
-
repairCount: number;
|
|
94
|
-
/** Timestamp of first symbol arrival (ms) */
|
|
95
|
-
firstSymbolTs: number;
|
|
96
|
-
/** Timestamp of last symbol arrival (ms) */
|
|
97
|
-
lastSymbolTs: number;
|
|
98
|
-
/** Timestamp when block completed (ms), undefined if not yet complete */
|
|
99
|
-
completedTs?: number;
|
|
100
|
-
/** Deadline timestamp for block completion (ms) */
|
|
101
|
-
deadlineTs: number;
|
|
102
|
-
/** Count of source symbols with valid ALTA signature (AUTH-02) */
|
|
103
|
-
altaVerified: number;
|
|
104
|
-
/** Relay block signature validity: true/false after verification, null if not yet verified (AUTH-02) */
|
|
105
|
-
relayBlockSigValid: boolean | null;
|
|
106
|
-
}
|
|
107
|
-
/** Aggregate per-track FEC statistics. Consumed by fec-panel and CmcdProducer. */
|
|
108
|
-
export interface FecTrackStats {
|
|
109
|
-
/** Track configuration */
|
|
110
|
-
config: FecTrackConfig;
|
|
111
|
-
/** Total source symbols received */
|
|
112
|
-
sourceSymbols: number;
|
|
113
|
-
/** Total repair symbols received */
|
|
114
|
-
repairSymbols: number;
|
|
115
|
-
/** Blocks completed without recovery needed */
|
|
116
|
-
blocksComplete: number;
|
|
117
|
-
/** Blocks recovered via FEC */
|
|
118
|
-
blocksRecovered: number;
|
|
119
|
-
/** Blocks that failed (unrecoverable) */
|
|
120
|
-
blocksFailed: number;
|
|
121
|
-
/** Recovery success rate 0-100 */
|
|
122
|
-
recoveryRate: number;
|
|
123
|
-
/** Packets with valid publisher ALTA signature */
|
|
124
|
-
altaVerified: number;
|
|
125
|
-
/** Packets with MAC / signature / hash-chain mismatch (tamper-confirmed) */
|
|
126
|
-
altaFailed: number;
|
|
127
|
-
/** Packets that couldn't be verified due to missing trailer / not-ready verifier /
|
|
128
|
-
* late-joiner bootstrap gap. Neither tamper nor error — just unverifiable. */
|
|
129
|
-
altaPending: number;
|
|
130
|
-
/** Deferred-queue entries evicted by cap (queue full). Separate counter so
|
|
131
|
-
* cap misconfiguration is distinguishable from natural bootstrap-gap noise. */
|
|
132
|
-
altaPendingEvictedCap: number;
|
|
133
|
-
/** Deferred-queue entries evicted by TTL (retry window expired). */
|
|
134
|
-
altaPendingEvictedTtl: number;
|
|
135
|
-
/** verifyDetached / parse threw an exception (WASM trap, OOM, unmarshal panic).
|
|
136
|
-
* Not counted as altaFailed because the cause isn't crypto — helps ops
|
|
137
|
-
* distinguish infrastructure flake from tamper. */
|
|
138
|
-
altaError: number;
|
|
139
|
-
/** True if ALTA was enabled at configure time but the verifier WASM init
|
|
140
|
-
* failed. Ops alerting should treat this as "ALTA disabled due to error",
|
|
141
|
-
* distinct from "ALTA disabled by config" (altaEnabled flag not present). */
|
|
142
|
-
altaInitFailed: boolean;
|
|
143
|
-
/** Diagnostic: last ≤16 altaFailed events with full context (seq, error
|
|
144
|
-
* string from the verifier, auth+payload lengths, and which code path
|
|
145
|
-
* raised the failure). Bounded so it can't blow memory. Intended for
|
|
146
|
-
* investigation — not a stable API; consumers should treat it as
|
|
147
|
-
* opt-in and defensive (may be undefined). */
|
|
148
|
-
altaFailedDetails?: Array<{
|
|
149
|
-
seq: number;
|
|
150
|
-
error: string;
|
|
151
|
-
authLen: number;
|
|
152
|
-
payloadLen: number;
|
|
153
|
-
path: string;
|
|
154
|
-
}>;
|
|
155
|
-
/** Blocks with valid relay signature */
|
|
156
|
-
relayBlocksVerified: number;
|
|
157
|
-
/** Blocks with invalid relay signature */
|
|
158
|
-
relayBlocksFailed: number;
|
|
159
|
-
/** Live media position: the newest source block number under
|
|
160
|
-
* `k-padded-v1`, the newest accepted SS_ID / SS_Start under `iso-ssbg1-v1`. */
|
|
161
|
-
liveSbn: number;
|
|
162
|
-
/** Active block snapshots */
|
|
163
|
-
blocks: FecBlockSnapshot[];
|
|
164
|
-
/** Number of blocks in the FEC block span */
|
|
165
|
-
interleaveWindowBlocks: number;
|
|
166
|
-
/** Average recovery latency (ms) */
|
|
167
|
-
avgRecoveryMs: number;
|
|
168
|
-
/** Maximum recovery latency (ms) */
|
|
169
|
-
maxRecoveryMs: number;
|
|
170
|
-
/** Repair symbols rejected before WASM because their byte length did not match T. */
|
|
171
|
-
repairSymbolSizeMismatch?: number;
|
|
172
|
-
/**
|
|
173
|
-
* Source symbols whose SBN had already fallen below the retained window.
|
|
174
|
-
*
|
|
175
|
-
* This and its two peers below are dropped before WASM and narrow the
|
|
176
|
-
* explanations for a block that settles at K-1 source symbols (BLO-35597
|
|
177
|
-
* defect 2): a late symbol past retention, a symbol for a block that had
|
|
178
|
-
* already settled (complete, recovered *or failed*), or a repeated
|
|
179
|
-
* (SBN, ESI).
|
|
180
|
-
*
|
|
181
|
-
* They narrow; they do not uniquely attribute. A symbol lost in transit
|
|
182
|
-
* never reaches the worker and increments nothing, so all three reading
|
|
183
|
-
* zero on a short block means only that no *receiver-side* drop was
|
|
184
|
-
* recorded — wire loss and a short authored block both remain open. Use
|
|
185
|
-
* `FecBlockSnapshot.ssbLength` to separate them: below `k` is a genuinely
|
|
186
|
-
* short authored block, equal to `k` with fewer accepted is loss-or-late.
|
|
187
|
-
* `ssbLength` is undefined until a repair symbol declares it, in which case
|
|
188
|
-
* both stay open.
|
|
189
|
-
*
|
|
190
|
-
* All three are cumulative across decoder epochs: `configure` clears block
|
|
191
|
-
* tracking but none of them, so they stay comparable against the
|
|
192
|
-
* `sourceSymbols` denominator. Only a reset zeroes them.
|
|
193
|
-
*/
|
|
194
|
-
sourceDroppedRetired?: number;
|
|
195
|
-
/** Source symbols for a block that had already completed, recovered or failed. */
|
|
196
|
-
sourceDroppedTerminal?: number;
|
|
197
|
-
/**
|
|
198
|
-
* Source symbols repeating an (SBN, ESI) already accepted in the current
|
|
199
|
-
* epoch; `configure` clears the accepted-ESI sets.
|
|
200
|
-
*
|
|
201
|
-
* Unlike the other two, this one cannot fire once a block settles — the
|
|
202
|
-
* terminal check returns first, and marking a block terminal retires its
|
|
203
|
-
* accepted-ESI set anyway — so a non-zero value means the repeat reached
|
|
204
|
-
* the worker while the block was **still collecting**. It attributes the
|
|
205
|
-
* timing, not the origin: usually a duplicate packet on the wire,
|
|
206
|
-
* sometimes an SBN/ESI derivation collision.
|
|
207
|
-
*/
|
|
208
|
-
sourceDroppedDuplicate?: number;
|
|
209
|
-
/**
|
|
210
|
-
* `iso-ssbg1-v1` only: accepted source symbols whose block never became
|
|
211
|
-
* known (no repair symbol named a range containing them) before their
|
|
212
|
-
* SS_ID fell behind the retained horizon. They were already fed to the
|
|
213
|
-
* decoder and routed directly; this counts the bookkeeping retired with
|
|
214
|
-
* them, i.e. evidence that a block's repair symbols never arrived.
|
|
215
|
-
*/
|
|
216
|
-
sourceUnplacedRetired?: number;
|
|
217
|
-
/** Native decoder counters, converted to numbers so browser diagnostics remain JSON-safe. */
|
|
218
|
-
decoder?: {
|
|
219
|
-
sourcePackets: number;
|
|
220
|
-
repairPackets: number;
|
|
221
|
-
blocksComplete: number;
|
|
222
|
-
blocksRecovered: number;
|
|
223
|
-
blocksFailed: number;
|
|
224
|
-
bytesRecovered: number;
|
|
225
|
-
pendingBlocks: number;
|
|
226
|
-
};
|
|
227
|
-
}
|
|
228
|
-
/** Stable identities for Worker failures whose message text contains live values. */
|
|
229
|
-
export type FecWorkerErrorCode = "recovered-symbol-size-unconfigured" | "recovered-block-too-short" | "recovered-symbol-ssb-length-invalid" | "repair-symbol-size-mismatch" | "repair-ssb-length-conflict"
|
|
230
|
-
/** `iso-ssbg1-v1`: a repair's `[SS_Start, SS_Start + SSB_length)` overlaps a different known block. */
|
|
231
|
-
| "repair-block-overlap"
|
|
232
|
-
/** `iso-ssbg1-v1`: a recovered symbol's ssbg_mode1 length field exceeds T-2 or its padding is non-zero. */
|
|
233
|
-
| "recovered-ssbg1-symbol-invalid"
|
|
234
|
-
/** `iso-ssbg1-v1`: the decoder returned a recovered block for a source the Worker could not place in a known block. */
|
|
235
|
-
| "recovered-block-unplaced" | "reset-failed" | "unknown-command" | "command-failed" | "worker-runtime" | "worker-message";
|
|
236
|
-
/** Per-frame metadata emitted with frame events from Worker. */
|
|
237
|
-
export interface FrameMeta {
|
|
238
|
-
/** ALTA verification result: true/false after check, null when ALTA not configured (AUTH-04) */
|
|
239
|
-
altaVerified: boolean | null;
|
|
240
|
-
/** Whether this frame was recovered via FEC (not received directly) */
|
|
241
|
-
recovered: boolean;
|
|
242
|
-
/** Block key this frame belongs to: SBN (`k-padded-v1`) or SS_Start (`iso-ssbg1-v1`) */
|
|
243
|
-
sbn: number;
|
|
244
|
-
/** Encoding Symbol ID within the recovered source block (0..ssbLength-1).
|
|
245
|
-
* Under `iso-ssbg1-v1` a recovered frame is the full T-byte ssbg_mode1
|
|
246
|
-
* symbol (length field, packet, zero padding); the Worker validates but
|
|
247
|
-
* never trims it. */
|
|
248
|
-
esi?: number;
|
|
249
|
-
/**
|
|
250
|
-
* Authored source-symbol count of the recovered block (the repair
|
|
251
|
-
* symbols' SSB_length, 1..K). Recovered frames are ESI 0..ssbLength-1;
|
|
252
|
-
* ESIs ssbLength..K-1 are encoder zero padding and are never emitted.
|
|
253
|
-
*/
|
|
254
|
-
ssbLength?: number;
|
|
255
|
-
}
|
|
256
|
-
/** Discriminated union of all commands sent from main thread to Worker. */
|
|
257
|
-
export type FecWorkerCommand = {
|
|
258
|
-
type: "configure";
|
|
259
|
-
config: FecTrackConfig;
|
|
260
|
-
wasmModule: WebAssembly.Module;
|
|
261
|
-
/**
|
|
262
|
-
* ALTA public key as PKCS#8 SubjectPublicKeyInfo DER bytes (self-describing).
|
|
263
|
-
* Algorithm (Ed25519 or ECDSA P-256) is auto-detected from the SPKI OID.
|
|
264
|
-
* Ed25519 SPKI is 44 bytes; P-256 uncompressed is 91 bytes.
|
|
265
|
-
*/
|
|
266
|
-
altaPublicKey?: ArrayBuffer;
|
|
267
|
-
/** Pre-compiled ALTA WASM module. Structured-cloneable (NOT transferable) — do not add to transfer list. */
|
|
268
|
-
altaWasmModule?: WebAssembly.Module;
|
|
269
|
-
} | {
|
|
270
|
-
type: "feedSource";
|
|
271
|
-
/** Flat 32-bit Source Symbol ID from the MMTP Source FEC Payload ID
|
|
272
|
-
* (ISO 23008-1 §C.5.2). Under `k-padded-v1` the WASM decoder derives
|
|
273
|
-
* SBN = floor(ssId/K) and ESI = ssId % K internally — do NOT
|
|
274
|
-
* pre-compute. Under `iso-ssbg1-v1` SS_IDs are consecutive per source
|
|
275
|
-
* packet mod 2^32 and the block comes from a repair's range. */
|
|
276
|
-
ssId: number;
|
|
277
|
-
/** `k-padded-v1`: the source symbol. `iso-ssbg1-v1`: the protected
|
|
278
|
-
* packet exactly, unpadded and without its SS_ID (at most T-2 bytes). */
|
|
279
|
-
data: ArrayBuffer;
|
|
280
|
-
ts: number;
|
|
281
|
-
/** Optional ALTA authenticator bytes (detached mode — 08-07 MMTP
|
|
282
|
-
* trailer). Present when the source packet carried a
|
|
283
|
-
* `[0xF0A1][len][auth]` trailer and ALTA is enabled at the worker.
|
|
284
|
-
* When omitted, the worker skips verification and the packet
|
|
285
|
-
* counts as `altaPending`. */
|
|
286
|
-
altaAuth?: ArrayBuffer;
|
|
287
|
-
/** Byte offset within `data` where the signed MMTP payload ends
|
|
288
|
-
* (== where the trailer began on the wire). Required when
|
|
289
|
-
* `altaAuth` is present. Worker constructs
|
|
290
|
-
* `payload = new Uint8Array(data, 0, altaPayloadEnd)` for
|
|
291
|
-
* `verifyDetached(altaAuth, payload)`. */
|
|
292
|
-
altaPayloadEnd?: number;
|
|
293
|
-
} | {
|
|
294
|
-
type: "feedRepair";
|
|
295
|
-
/** SS_Start: SS_ID of the first source symbol in the block, from the
|
|
296
|
-
* MMTP Repair FEC Payload ID (ISO 23008-1 §C.5.3). `k-padded-v1`:
|
|
297
|
-
* = SBN * configured K. `iso-ssbg1-v1`: any uint32; the block key. */
|
|
298
|
-
ssStart: number;
|
|
299
|
-
/** Authored source-symbol count for this block; 1..configured K. */
|
|
300
|
-
ssbLength: number;
|
|
301
|
-
/** RS_ID: repair symbol index within the block; WASM maps to repair
|
|
302
|
-
* ESI = configured K + RS_ID (`k-padded-v1`) or SSB_length + RS_ID
|
|
303
|
-
* (`iso-ssbg1-v1`). */
|
|
304
|
-
rsId: number;
|
|
305
|
-
data: ArrayBuffer;
|
|
306
|
-
ts: number;
|
|
307
|
-
} | {
|
|
308
|
-
/**
|
|
309
|
-
* Every source and repair symbol the page fed in one task, in feed
|
|
310
|
-
* order, sharing one transfer list. The client sends symbols this
|
|
311
|
-
* way instead of one message per symbol (BLO-36599); the Worker
|
|
312
|
-
* handles each record exactly like the single-symbol command of the
|
|
313
|
-
* same `type`, and a record that fails does not stop the others.
|
|
314
|
-
*/
|
|
315
|
-
type: "feedSymbols";
|
|
316
|
-
symbols: FecSymbolCommand[];
|
|
317
|
-
} | {
|
|
318
|
-
type: "relayBlockSig";
|
|
319
|
-
sbn: number;
|
|
320
|
-
sig: ArrayBuffer;
|
|
321
|
-
hash: ArrayBuffer;
|
|
322
|
-
} | {
|
|
323
|
-
type: "cleanup";
|
|
324
|
-
/** Every timed-out block covered by this coalesced queue-drain barrier,
|
|
325
|
-
* by block key: SBN (`k-padded-v1`) or SS_Start (`iso-ssbg1-v1`). */
|
|
326
|
-
sbns: number[];
|
|
327
|
-
} | {
|
|
328
|
-
type: "reset";
|
|
329
|
-
}
|
|
330
|
-
/**
|
|
331
|
-
* Ask the Worker to post a blockUpdate on every block transition. Without
|
|
332
|
-
* it the Worker posts none: each one is a structured clone and a task on
|
|
333
|
-
* the page thread, and the player does not consume them (BLO-36599).
|
|
334
|
-
* Sent only to a Worker that announced it in `capabilities`.
|
|
335
|
-
*/
|
|
336
|
-
| {
|
|
337
|
-
type: "subscribeBlockUpdates";
|
|
338
|
-
} | {
|
|
339
|
-
type: "dispose";
|
|
340
|
-
};
|
|
341
|
-
/** One symbol record of a `feedSymbols` batch. */
|
|
342
|
-
export type FecSymbolCommand = Extract<FecWorkerCommand, {
|
|
343
|
-
type: "feedSource";
|
|
344
|
-
} | {
|
|
345
|
-
type: "feedRepair";
|
|
346
|
-
}>;
|
|
347
|
-
/** Discriminated union of all events emitted from Worker to main thread. */
|
|
348
|
-
export type FecWorkerEvent = {
|
|
349
|
-
type: "frame";
|
|
350
|
-
data: ArrayBuffer;
|
|
351
|
-
meta: FrameMeta;
|
|
352
|
-
} | {
|
|
353
|
-
type: "snapshot";
|
|
354
|
-
stats: FecTrackStats;
|
|
355
|
-
} | {
|
|
356
|
-
type: "blockUpdate";
|
|
357
|
-
block: FecBlockSnapshot;
|
|
358
|
-
} | {
|
|
359
|
-
type: "cleanupComplete";
|
|
360
|
-
sbns: number[];
|
|
361
|
-
} | {
|
|
362
|
-
type: "resetComplete";
|
|
363
|
-
}
|
|
364
|
-
/**
|
|
365
|
-
* Optional commands this Worker accepts, posted once it is configured.
|
|
366
|
-
* The client uses `feedSymbols` only after the Worker names it, so a page
|
|
367
|
-
* that meets an older cached Worker bundle keeps sending one command per
|
|
368
|
-
* symbol instead of a batch that Worker would reject (BLO-36599).
|
|
369
|
-
*/
|
|
370
|
-
| {
|
|
371
|
-
type: "capabilities";
|
|
372
|
-
commands: FecWorkerOptionalCommand[];
|
|
373
|
-
} | {
|
|
374
|
-
type: "error";
|
|
375
|
-
message: string;
|
|
376
|
-
code?: FecWorkerErrorCode;
|
|
377
|
-
};
|
|
378
|
-
/** Commands a client may send only after the Worker announced them. */
|
|
379
|
-
export type FecWorkerOptionalCommand = "feedSymbols" | "subscribeBlockUpdates";
|
|
380
|
-
//# sourceMappingURL=fec-worker-types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fec-worker-types.d.ts","sourceRoot":"","sources":["../src/fec-worker-types.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,eAAe,GAAG,aAAa,GAAG,cAAc,CAAC;AAE7D,mFAAmF;AACnF,MAAM,WAAW,cAAc;IAC9B,oDAAoD;IACpD,KAAK,EAAE,MAAM,CAAC;IACd,8BAA8B;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,uBAAuB;IACvB,SAAS,EAAE,OAAO,GAAG,OAAO,CAAC;IAC7B,2CAA2C;IAC3C,UAAU,CAAC,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IACtC,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,4CAA4C;IAC5C,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,iEAAiE;IACjE,SAAS,EAAE,MAAM,CAAC;IAClB,4EAA4E;IAC5E,YAAY,EAAE,eAAe,CAAC;IAC9B,wFAAwF;IACxF,CAAC,EAAE,MAAM,CAAC;IACV,qDAAqD;IACrD,WAAW,EAAE,MAAM,CAAC;IACpB,uBAAuB;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB;;;;;;;gEAO4D;IAC5D,eAAe,EAAE,MAAM,CAAC;IACxB,6DAA6D;IAC7D,YAAY,EAAE,MAAM,CAAC;IACrB,8EAA8E;IAC9E,gBAAgB,EAAE,MAAM,CAAC;IACzB,wBAAwB;IACxB,OAAO,EAAE,UAAU,GAAG,QAAQ,CAAC;IAC/B,uCAAuC;IACvC,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,uDAAuD;IAC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GAC3C;IAAE,IAAI,EAAE,eAAe,CAAA;CAAE;AAC3B;;;;;GAKG;GACD;IAAE,IAAI,EAAE,cAAc,CAAC;IAAC,QAAQ,EAAE,wBAAwB,EAAE,CAAA;CAAE,GAC9D;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,kBAAkB,CAAA;CAAE,CAAC;AAEjE,uEAAuE;AACvE,MAAM,MAAM,wBAAwB,GAAG,aAAa,GAAG,uBAAuB,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @blockcast/fec-worker — Shared Type Definitions
|
|
3
|
-
*
|
|
4
|
-
* Defines the Worker message protocol (commands/events), FecTrackStats shape
|
|
5
|
-
* consumed by fec-panel (Phase 5) and CmcdProducer (Phase 6), and auth
|
|
6
|
-
* interface stubs (ALTA + relay block sig).
|
|
7
|
-
*
|
|
8
|
-
* Types here are importable from both main thread and Worker contexts.
|
|
9
|
-
*/
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=fec-worker-types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fec-worker-types.js","sourceRoot":"","sources":["../src/fec-worker-types.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @blockcast/fec-worker — Worker Entry Point
|
|
3
|
-
*
|
|
4
|
-
* Runs inside DedicatedWorkerGlobalScope. Receives FecWorkerCommand messages,
|
|
5
|
-
* drives the MmtFecDecoder WASM module, emits FecWorkerEvent messages back.
|
|
6
|
-
*
|
|
7
|
-
* WASM bindings are resolved via:
|
|
8
|
-
* 1. (self as any).__MMT_WASM_BINDINGS__ — set by consumer's loader/importmap
|
|
9
|
-
* 2. Falls back to error if not available (no defaults)
|
|
10
|
-
*
|
|
11
|
-
* This file must NOT import DOM globals incompatible with Worker scope.
|
|
12
|
-
*/
|
|
13
|
-
export {};
|
|
14
|
-
//# sourceMappingURL=fec-worker.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fec-worker.d.ts","sourceRoot":"","sources":["../src/fec-worker.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG"}
|