@blockcast/mmt-container 0.4.0-main.bbd83cb48eff → 0.4.0-main.bbdfdbf39ded

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.
Files changed (191) hide show
  1. package/README.md +31 -17
  2. package/dist/align.d.ts +24 -18
  3. package/dist/align.d.ts.map +1 -1
  4. package/dist/align.js +23 -4
  5. package/dist/align.js.map +2 -2
  6. package/dist/browser-runtime.js +1192 -375
  7. package/dist/browser-runtime.js.map +4 -4
  8. package/dist/carp-catalog.d.ts +67 -31
  9. package/dist/carp-catalog.d.ts.map +1 -1
  10. package/dist/carp-catalog.js +291 -199
  11. package/dist/carp-catalog.js.map +3 -3
  12. package/dist/catalog-fec-params.d.ts +12 -4
  13. package/dist/catalog-fec-params.d.ts.map +1 -1
  14. package/dist/catalog-fec-params.js +40 -17
  15. package/dist/catalog-fec-params.js.map +3 -3
  16. package/dist/catalog-network-source.d.ts +24 -2
  17. package/dist/catalog-network-source.d.ts.map +1 -1
  18. package/dist/catalog-network-source.js +21 -1
  19. package/dist/catalog-network-source.js.map +2 -2
  20. package/dist/catalog-validator.d.ts +4 -3
  21. package/dist/catalog-validator.d.ts.map +1 -1
  22. package/dist/catalog-validator.js +0 -29
  23. package/dist/catalog-validator.js.map +3 -3
  24. package/dist/delivery-catalog.js +18 -12
  25. package/dist/delivery-catalog.js.map +4 -4
  26. package/dist/fec-manager.d.ts +49 -1
  27. package/dist/fec-manager.d.ts.map +1 -1
  28. package/dist/fec-manager.js +176 -23
  29. package/dist/fec-manager.js.map +3 -3
  30. package/dist/fec-state.d.ts +2 -1
  31. package/dist/fec-state.d.ts.map +1 -1
  32. package/dist/fec-state.js +18 -3
  33. package/dist/fec-state.js.map +3 -3
  34. package/dist/fec-worker-setup.d.ts +2 -0
  35. package/dist/fec-worker-setup.d.ts.map +1 -1
  36. package/dist/fec-worker-setup.js +2 -1
  37. package/dist/fec-worker-setup.js.map +2 -2
  38. package/dist/index.d.ts +5 -5
  39. package/dist/index.d.ts.map +1 -1
  40. package/dist/index.js +8 -8
  41. package/dist/index.js.map +2 -2
  42. package/dist/iso-block-locator.d.ts +29 -0
  43. package/dist/iso-block-locator.d.ts.map +1 -1
  44. package/dist/iso-block-locator.js +97 -17
  45. package/dist/iso-block-locator.js.map +3 -3
  46. package/dist/manifest-auth-plan.d.ts +26 -25
  47. package/dist/manifest-auth-plan.d.ts.map +1 -1
  48. package/dist/manifest-auth-plan.js +331 -1171
  49. package/dist/manifest-auth-plan.js.map +4 -4
  50. package/dist/mfu-reassembler.js.map +2 -2
  51. package/dist/mmtp-container-parser.js.map +2 -2
  52. package/dist/mmtp-container-parser.no-modules.js +1014 -289
  53. package/dist/mmtp-container-parser.no-modules.js.map +4 -4
  54. package/dist/mmtp-decode-pipeline.js.map +2 -2
  55. package/dist/mmtp-fec-session.d.ts +159 -0
  56. package/dist/mmtp-fec-session.d.ts.map +1 -0
  57. package/dist/mmtp-fec-session.js +531 -0
  58. package/dist/mmtp-fec-session.js.map +7 -0
  59. package/dist/mmtp-router.d.ts +17 -1
  60. package/dist/mmtp-router.d.ts.map +1 -1
  61. package/dist/mmtp-router.js +29 -0
  62. package/dist/mmtp-router.js.map +2 -2
  63. package/dist/multicast-auth-catalog.d.ts +86 -92
  64. package/dist/multicast-auth-catalog.d.ts.map +1 -1
  65. package/dist/multicast-auth-catalog.js +347 -132
  66. package/dist/multicast-auth-catalog.js.map +4 -4
  67. package/dist/multicast-input.d.ts +28 -6
  68. package/dist/multicast-input.d.ts.map +1 -1
  69. package/dist/multicast-input.js +290 -28
  70. package/dist/multicast-input.js.map +3 -3
  71. package/dist/multicast-manager.d.ts +40 -5
  72. package/dist/multicast-manager.d.ts.map +1 -1
  73. package/dist/multicast-manager.js +293 -54
  74. package/dist/multicast-manager.js.map +4 -4
  75. package/dist/multicast-transport.d.ts +6 -0
  76. package/dist/multicast-transport.d.ts.map +1 -1
  77. package/dist/multicast-transport.js +18 -11
  78. package/dist/multicast-transport.js.map +4 -4
  79. package/dist/multicast-unwrap.js.map +2 -2
  80. package/dist/no-modules.d.ts +4 -1
  81. package/dist/no-modules.d.ts.map +1 -1
  82. package/dist/no-modules.js +964 -274
  83. package/dist/no-modules.js.map +4 -4
  84. package/dist/phase14-catalog-override.d.ts +1 -1
  85. package/dist/phase14-catalog-override.d.ts.map +1 -1
  86. package/dist/phase14-catalog-override.js +2 -2
  87. package/dist/phase14-catalog-override.js.map +2 -2
  88. package/dist/repair-fetch.d.ts +81 -6
  89. package/dist/repair-fetch.d.ts.map +1 -1
  90. package/dist/repair-fetch.js +156 -31
  91. package/dist/repair-fetch.js.map +3 -3
  92. package/dist/repair-layers.d.ts +2 -0
  93. package/dist/repair-layers.d.ts.map +1 -1
  94. package/dist/repair-layers.js +19 -2
  95. package/dist/repair-layers.js.map +2 -2
  96. package/dist/signaling.d.ts +2 -2
  97. package/dist/signaling.d.ts.map +1 -1
  98. package/dist/signaling.js +3 -3
  99. package/dist/signaling.js.map +2 -2
  100. package/dist/source-auth.js +2710 -7
  101. package/dist/source-auth.js.map +4 -4
  102. package/dist/switching-set-alignment.d.ts +1 -1
  103. package/dist/switching-set-alignment.js.map +1 -1
  104. package/dist/timestamp-codec.js.map +2 -2
  105. package/dist/wasm-mfu-reassembler.js.map +1 -1
  106. package/dist/wasm-mmtp-container-parser.js.map +2 -2
  107. package/package.json +6 -9
  108. package/schemas/catalog.schema.json +124 -37
  109. package/src/align.ts +52 -21
  110. package/src/carp-catalog.ts +131 -52
  111. package/src/catalog-fec-params.ts +28 -3
  112. package/src/catalog-network-source.ts +45 -2
  113. package/src/catalog-validator.ts +4 -11
  114. package/src/fec-manager.ts +128 -14
  115. package/src/fec-state.ts +11 -4
  116. package/src/fec-worker-setup.ts +4 -1
  117. package/src/index.ts +24 -10
  118. package/src/iso-block-locator.ts +97 -6
  119. package/src/manifest-auth-plan.ts +39 -91
  120. package/src/mmtp-fec-session.ts +533 -0
  121. package/src/mmtp-router.ts +57 -0
  122. package/src/multicast-auth-catalog.ts +131 -238
  123. package/src/multicast-input.ts +119 -61
  124. package/src/multicast-manager.ts +115 -14
  125. package/src/multicast-transport.ts +3 -0
  126. package/src/no-modules.ts +7 -1
  127. package/src/phase14-catalog-override.ts +3 -3
  128. package/src/repair-fetch.ts +283 -39
  129. package/src/repair-layers.ts +22 -2
  130. package/src/signaling.ts +2 -2
  131. package/src/switching-set-alignment.ts +1 -1
  132. package/test-vectors/align.json +108 -32
  133. package/test-vectors/bc-provenance-v2.json +1526 -0
  134. package/test-vectors/catalog/README.md +60 -3
  135. package/test-vectors/catalog/negative/fec-block-profile-missing.json +1 -1
  136. package/test-vectors/catalog/negative/fec-block-profile-retired.json +1 -1
  137. package/test-vectors/catalog/negative/fec-block-profile-unknown.json +1 -1
  138. package/test-vectors/catalog/negative/fec-iso-symbol-size-below-floor.json +28 -0
  139. package/test-vectors/catalog/negative/fec-reed-solomon-iso-symbol-size-13.json +28 -0
  140. package/test-vectors/catalog/negative/fec-reed-solomon-k-plus-p-over-255.json +39 -0
  141. package/test-vectors/catalog/negative/fec-reed-solomon-overlay-over-255.json +40 -0
  142. package/test-vectors/catalog/negative/fec-repair-overlay-source-symbols-zero.json +43 -0
  143. package/test-vectors/catalog/negative/fec-repair-symbols-zero.json +28 -0
  144. package/test-vectors/catalog/negative/fec-source-symbols-zero.json +28 -0
  145. package/test-vectors/catalog/negative/fec-symbol-size-zero.json +28 -0
  146. package/test-vectors/catalog/negative/init-data-inline-without-data.json +22 -0
  147. package/test-vectors/catalog/negative/mmtp-mode-mpu.json +15 -0
  148. package/test-vectors/catalog/negative/multicast-amt-dns-without-relay.json +37 -0
  149. package/test-vectors/catalog/negative/multicast-auth-asm-missing-sender-address.json +77 -0
  150. package/test-vectors/catalog/negative/multicast-auth-duplicate-first-epoch.json +56 -0
  151. package/test-vectors/catalog/negative/multicast-auth-duplicate-kid.json +56 -0
  152. package/test-vectors/catalog/negative/multicast-auth-endpoint-auth-without-object-auth.json +38 -0
  153. package/test-vectors/catalog/negative/multicast-auth-endpoint-missing-auth.json +49 -0
  154. package/test-vectors/catalog/negative/multicast-auth-endpoint-missing-bandwidth.json +55 -0
  155. package/test-vectors/catalog/negative/multicast-auth-manifest-port-equals-port.json +56 -0
  156. package/test-vectors/catalog/negative/multicast-auth-manifest-timer-out-of-range.json +56 -0
  157. package/test-vectors/catalog/negative/multicast-auth-max-auth-delay-above-max.json +56 -0
  158. package/test-vectors/catalog/negative/multicast-auth-max-auth-delay-below-min.json +56 -0
  159. package/test-vectors/catalog/negative/multicast-auth-root-dotted-key.json +55 -0
  160. package/test-vectors/catalog/negative/multicast-auth-sender-address-on-ssm.json +57 -0
  161. package/test-vectors/catalog/negative/multicast-auth-version-1.json +56 -0
  162. package/test-vectors/catalog/negative/multicast-auth-version-3.json +56 -0
  163. package/test-vectors/catalog/negative/multicast-auth-version-missing.json +55 -0
  164. package/test-vectors/catalog/negative/multicast-endpoint-foreign-namespace-track.json +44 -0
  165. package/test-vectors/catalog/negative/multicast-endpoint-protocol-amt.json +38 -0
  166. package/test-vectors/catalog/negative/multicast-endpoint-protocol-atsc3.json +38 -0
  167. package/test-vectors/catalog/negative/presentation-anchor-unsafe.json +16 -0
  168. package/test-vectors/catalog/positive/fec-algorithm-unimplemented.json +29 -0
  169. package/test-vectors/catalog/positive/fec-iso-ssbg1.json +1 -1
  170. package/test-vectors/catalog/positive/fec-multicast.json +1 -1
  171. package/test-vectors/catalog/positive/fec-reed-solomon-layered.json +50 -0
  172. package/test-vectors/catalog/positive/mmt01-12-1-init-ref-anchor.json +29 -0
  173. package/test-vectors/catalog/positive/multicast-amt-discovery-omitted.json +37 -0
  174. package/test-vectors/catalog/positive/multicast-amt-dns-relay.json +38 -0
  175. package/test-vectors/catalog/positive/multicast-amt-manual-relay.json +2 -2
  176. package/test-vectors/catalog/{negative/multicast-endpoint-missing-protocol-and-source.json → positive/multicast-asm-unprotected.json} +10 -5
  177. package/test-vectors/catalog/positive/multicast-auth-asm-sender.json +78 -0
  178. package/test-vectors/catalog/positive/multicast-auth-rotation.json +39 -38
  179. package/test-vectors/catalog/positive/multicast-draft01-4-1-example.json +81 -0
  180. package/test-vectors/catalog/positive/multicast-draft01-7-2-6-example.json +70 -0
  181. package/test-vectors/catalog/positive/presentation-anchor-negative.json +27 -0
  182. package/test-vectors/catalog/section-codes.json +30 -1
  183. package/test-vectors/catalog-multicast-auth-v1.json +38 -20
  184. package/test-vectors/catalog-validation.json +6 -5
  185. package/test-vectors/catalog-validator-public-api.mjs +14 -9
  186. package/test-vectors/generate-bc-provenance-v2.mjs +252 -0
  187. package/dist/fec-codec.d.ts +0 -32
  188. package/dist/fec-codec.d.ts.map +0 -1
  189. package/dist/fec-codec.js +0 -47
  190. package/dist/fec-codec.js.map +0 -7
  191. package/src/fec-codec.ts +0 -61
@@ -21,9 +21,23 @@ The negatives:
21
21
  - `multicast-packet-id-signaling.json`: an endpoint track's `packetId` is
22
22
  1..65535; `packetId` 0 is the MMTP signaling flow and is never a track's.
23
23
  - `network-source-object.json`: `networkSource` is always an array.
24
- - `multicast-endpoint-relay-address.json`: the AMT relay is catalog-level
25
- `networkSource[{type:"amt",relay}]`; an endpoint `relayAddress` is retired
26
- and rejected (`multicast_relay_address`), not ignored.
24
+ - `multicast-endpoint-relay-address.json`: the AMT relay is a
25
+ `networkSource[{type:"amt",relay}]` entry (catalog-level or on the endpoint);
26
+ an endpoint `relayAddress` is retired and rejected (`multicast_relay_address`),
27
+ not ignored.
28
+ - `multicast-auth-*.json`, `multicast-endpoint-protocol-*.json`,
29
+ `multicast-endpoint-foreign-namespace-track.json`: the
30
+ draft-ramadan-moq-multicast-01 4.1 / 7.2.6 rules (BLO-49770, draft pinned at
31
+ Blockcast/moqcast-draft@fd962fd73d21ed281b60219c11ea61cc9e4e91c4). Each is one
32
+ mutation of a positive. `src/catalog-schema.test.ts` pins the schema keyword
33
+ and the runtime code and path of each (`multicastRuntimeExpectations`), and
34
+ that the transport receiver ignores exactly the endpoint it names. Four of
35
+ them the schema cannot state and accepts: a repeated `kid`, a repeated
36
+ `firstEpoch`, a `manifestPort` equal to a port of its `(S, G)`, and a track
37
+ declaring a foreign namespace. `multicast-auth-root-dotted-key.json`,
38
+ `multicast-auth-padded-key.json`, `multicast-auth-reused-track-format.json`
39
+ and `multicast-auth-trailing-pad-bits.json` are draft -00 root-key blocks kept
40
+ as negative controls: the root `"multicast.auth"` key itself is refused.
27
41
  - `multicast-network-source-empty.json`: `networkSource` is optional, but an
28
42
  empty array is not a way to say "absent" — omit the key instead.
29
43
  - `repair-track-legacy-shape.json`: repair tracks use `packaging: "fec-repair"`.
@@ -36,6 +50,19 @@ The negatives:
36
50
  - `media-track-repair-layer.json`: `repairLayer`, `repairSymbols`, `sourceSymbols`,
37
51
  and `scope` are `fec-repair` track fields only.
38
52
  - `raptorq-source-symbols-over-max.json`: RaptorQ K is at most 56403 (RFC 6330).
53
+ - `fec-iso-symbol-size-below-floor.json` (RaptorQ T=8, aligned) and
54
+ `fec-reed-solomon-iso-symbol-size-13.json`: under `iso-ssbg1-v1`
55
+ `symbolSize` is at least 14, whatever the algorithm; a shorter symbol carries
56
+ no protected MMTP packet (draft-ramadan-moq-fec-01 6.3.4 rule 13, 7.3).
57
+ - `fec-symbol-size-zero.json`, `fec-source-symbols-zero.json`,
58
+ `fec-repair-symbols-zero.json` (with a named repair track) and
59
+ `fec-repair-overlay-source-symbols-zero.json` (`track_fec_bounds` at the
60
+ overlay's `sourceSymbols`): the rule 13 / 5.1.1 lower bounds of 1.
61
+ - `fec-reed-solomon-k-plus-p-over-255.json` (base K + totalP = 256 across
62
+ layers 0 and 1) and `fec-reed-solomon-overlay-over-255.json` (overlay
63
+ K + P = 256): under `reed-solomon` every FEC instance holds at most 255
64
+ symbols (`track_fec_bounds`, draft-ramadan-moq-fec-01 6.3.4 rule 12, 4.5).
65
+ The schema cannot state a sum and accepts both.
39
66
  - `fec-block-profile-missing.json`: an FEC instance must name its block
40
67
  profile; there is no default (`track_fec_block_profile`).
41
68
  - `fec-block-profile-unknown.json`: `fec.blockProfile` is `"iso-ssbg1-v1"`; a
@@ -106,6 +133,19 @@ sit beside a GOP member whose group duration is a whole number of its groups,
106
133
  because every GOP boundary is then also one of its boundaries. GOP members still
107
134
  compare for exact equality (BLO-49202).
108
135
 
136
+ The draft -01 multicast positives: `multicast-draft01-4-1-example.json` and
137
+ `multicast-draft01-7-2-6-example.json` carry the draft's own 4.1 and 7.2.6
138
+ examples verbatim (the 7.2.6 `publicKey` placeholder replaced by a real
139
+ 32-octet key, and catalog tracks added for the names they list);
140
+ `multicast-auth-rotation.json` is a protected SSM flow under two keys rotating at
141
+ epoch 17; `multicast-auth-asm-sender.json` is two protected ASM senders sharing
142
+ `G` and both ports, separated by `S` (`auth.senderAddress`);
143
+ `multicast-asm-unprotected.json` is a bare ASM endpoint (no `protocol`, no
144
+ `sourceAddress`), which draft -00 rejected (the former
145
+ `negative/multicast-endpoint-missing-protocol-and-source.json`); and
146
+ `multicast-amt-manual-relay.json` is an SSM endpoint reached over a manual AMT
147
+ relay, AMT being its `networkSource`, never its protocol.
148
+
109
149
  `multicast-native-ssm-no-network-source.json` is the native-SSM shape: an
110
150
  endpoint's `(protocol, sourceAddress, groupAddress, port)` is complete join
111
151
  information, so a publisher reachable by native multicast has no alternate
@@ -134,3 +174,20 @@ expected to **fail** validation: its two repair tracks declare the retired
134
174
  FEC sources predate the required `fec.blockProfile`. The condensed
135
175
  FEC repair format itself is unaffected — a catalog declares it as
136
176
  `packaging: "fec-repair"` plus `fec.repairContainer`.
177
+
178
+ Draft -01 track and root fields (BLO-15076, Blockcast/moqcast-draft@fd962fd):
179
+
180
+ - `mmt01-12-1-init-ref-anchor.json`: the mmt-01 12.1 example (root `initDataList`
181
+ + track `initRef`, `presentationAnchorTicks`). Its root `version` stays `1`:
182
+ the draft's `"draft-01"` string is not yet accepted by either validator.
183
+ - `presentation-anchor-negative.json`: the mmt-01 4.4.1 negative anchor, on a
184
+ synchronized audio/video pair.
185
+ - `multicast-amt-dns-relay.json`, `multicast-amt-discovery-omitted.json`:
186
+ multicast-01 4.2.1 `discovery: "dns"`, and an omitted `discovery` with a
187
+ hostname relay (read as `"dns"`).
188
+ - `mmtp-mode-mpu.json`: mmt-01 12.1, `mmtpMode` MUST be `"mfu"`.
189
+ - `presentation-anchor-unsafe.json`: the anchor is a safe (signed) integer.
190
+ - `init-data-inline-without-data.json`: an `"inline"` `initDataList` entry
191
+ carries `data`.
192
+ - `multicast-amt-dns-without-relay.json`: `"dns"` (like `"manual"`) names its
193
+ relay.
@@ -41,7 +41,7 @@
41
41
  { "type": "amt", "discovery": "driad" },
42
42
  {
43
43
  "type": "atsc3",
44
- "frequency": 587000000,
44
+ "frequency": 587000,
45
45
  "plpId": 0,
46
46
  "serviceId": 101,
47
47
  "slsUri": "https://example.test/atsc3/service/101/sls.xml"
@@ -42,7 +42,7 @@
42
42
  { "type": "amt", "discovery": "driad" },
43
43
  {
44
44
  "type": "atsc3",
45
- "frequency": 587000000,
45
+ "frequency": 587000,
46
46
  "plpId": 0,
47
47
  "serviceId": 101,
48
48
  "slsUri": "https://example.test/atsc3/service/101/sls.xml"
@@ -42,7 +42,7 @@
42
42
  { "type": "amt", "discovery": "driad" },
43
43
  {
44
44
  "type": "atsc3",
45
- "frequency": 587000000,
45
+ "frequency": 587000,
46
46
  "plpId": 0,
47
47
  "serviceId": 101,
48
48
  "slsUri": "https://example.test/atsc3/service/101/sls.xml"
@@ -0,0 +1,28 @@
1
+ {
2
+ "version": 1,
3
+ "streamingFormat": "mmtp",
4
+ "streamingFormatVersion": "draft-ramadan-moq-mmt-00",
5
+ "tracks": [
6
+ {
7
+ "name": "video",
8
+ "packaging": "mmtp",
9
+ "codec": "avc1.640028",
10
+ "mmtpMode": "mfu",
11
+ "timescale": 90000,
12
+ "groupDurationMs": 1000,
13
+ "fec": {
14
+ "algorithm": "raptorq",
15
+ "blockProfile": "iso-ssbg1-v1",
16
+ "sourceSymbols": 32,
17
+ "repairSymbols": 8,
18
+ "symbolSize": 8,
19
+ "repairTrack": "video-repair"
20
+ }
21
+ },
22
+ {
23
+ "name": "video-repair",
24
+ "packaging": "fec-repair",
25
+ "priority": 240
26
+ }
27
+ ]
28
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "version": 1,
3
+ "streamingFormat": "mmtp",
4
+ "streamingFormatVersion": "draft-ramadan-moq-mmt-00",
5
+ "tracks": [
6
+ {
7
+ "name": "video",
8
+ "packaging": "mmtp",
9
+ "codec": "avc1.640028",
10
+ "mmtpMode": "mfu",
11
+ "timescale": 90000,
12
+ "groupDurationMs": 1000,
13
+ "fec": {
14
+ "algorithm": "reed-solomon",
15
+ "blockProfile": "iso-ssbg1-v1",
16
+ "sourceSymbols": 32,
17
+ "repairSymbols": 8,
18
+ "symbolSize": 13,
19
+ "repairTrack": "video-repair"
20
+ }
21
+ },
22
+ {
23
+ "name": "video-repair",
24
+ "packaging": "fec-repair",
25
+ "priority": 240
26
+ }
27
+ ]
28
+ }
@@ -0,0 +1,39 @@
1
+ {
2
+ "version": 1,
3
+ "streamingFormat": "mmtp",
4
+ "streamingFormatVersion": "draft-ramadan-moq-mmt-00",
5
+ "tracks": [
6
+ {
7
+ "name": "video",
8
+ "packaging": "mmtp",
9
+ "codec": "avc1.640028",
10
+ "mmtpMode": "mfu",
11
+ "timescale": 90000,
12
+ "groupDurationMs": 1000,
13
+ "fec": {
14
+ "blockProfile": "iso-ssbg1-v1",
15
+ "symbolSize": 1316,
16
+ "interleaveDepthMs": 1000,
17
+ "repairTrack": "video/repair",
18
+ "algorithm": "reed-solomon",
19
+ "sourceSymbols": 200,
20
+ "repairSymbols": 15
21
+ }
22
+ },
23
+ {
24
+ "name": "video/repair",
25
+ "packaging": "fec-repair",
26
+ "priority": 240
27
+ },
28
+ {
29
+ "name": "video/repair/1",
30
+ "packaging": "fec-repair",
31
+ "depends": [
32
+ "video"
33
+ ],
34
+ "repairLayer": 1,
35
+ "repairSymbols": 41,
36
+ "priority": 244
37
+ }
38
+ ]
39
+ }
@@ -0,0 +1,40 @@
1
+ {
2
+ "version": 1,
3
+ "streamingFormat": "mmtp",
4
+ "streamingFormatVersion": "draft-ramadan-moq-mmt-00",
5
+ "tracks": [
6
+ {
7
+ "name": "video",
8
+ "packaging": "mmtp",
9
+ "codec": "avc1.640028",
10
+ "mmtpMode": "mfu",
11
+ "timescale": 90000,
12
+ "groupDurationMs": 1000,
13
+ "fec": {
14
+ "blockProfile": "iso-ssbg1-v1",
15
+ "symbolSize": 1316,
16
+ "interleaveDepthMs": 1000,
17
+ "repairTrack": "video/repair",
18
+ "algorithm": "reed-solomon",
19
+ "sourceSymbols": 32,
20
+ "repairSymbols": 8
21
+ }
22
+ },
23
+ {
24
+ "name": "video/repair",
25
+ "packaging": "fec-repair",
26
+ "priority": 240
27
+ },
28
+ {
29
+ "name": "video/keyframe-repair",
30
+ "packaging": "fec-repair",
31
+ "depends": [
32
+ "video"
33
+ ],
34
+ "scope": "keyframe",
35
+ "sourceSymbols": 224,
36
+ "repairSymbols": 32,
37
+ "priority": 242
38
+ }
39
+ ]
40
+ }
@@ -0,0 +1,43 @@
1
+ {
2
+ "version": 1,
3
+ "streamingFormat": "mmtp",
4
+ "streamingFormatVersion": "draft-ramadan-moq-mmt-00",
5
+ "tracks": [
6
+ {
7
+ "name": "video",
8
+ "packaging": "mmtp",
9
+ "codec": "avc1.640028",
10
+ "mmtpMode": "mfu",
11
+ "timescale": 90000,
12
+ "groupDurationMs": 1000,
13
+ "fec": {
14
+ "algorithm": "raptorq",
15
+ "blockProfile": "iso-ssbg1-v1",
16
+ "sourceSymbols": 32,
17
+ "repairSymbols": 8,
18
+ "symbolSize": 1312,
19
+ "repairTrack": "video-repair"
20
+ }
21
+ },
22
+ {
23
+ "name": "video-repair",
24
+ "packaging": "fec-repair",
25
+ "priority": 240,
26
+ "depends": [
27
+ "video"
28
+ ],
29
+ "repairLayer": 0
30
+ },
31
+ {
32
+ "name": "video/keyframe-repair",
33
+ "packaging": "fec-repair",
34
+ "depends": [
35
+ "video"
36
+ ],
37
+ "scope": "keyframe",
38
+ "sourceSymbols": 0,
39
+ "repairSymbols": 32,
40
+ "priority": 242
41
+ }
42
+ ]
43
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "version": 1,
3
+ "streamingFormat": "mmtp",
4
+ "streamingFormatVersion": "draft-ramadan-moq-mmt-00",
5
+ "tracks": [
6
+ {
7
+ "name": "video",
8
+ "packaging": "mmtp",
9
+ "codec": "avc1.640028",
10
+ "mmtpMode": "mfu",
11
+ "timescale": 90000,
12
+ "groupDurationMs": 1000,
13
+ "fec": {
14
+ "algorithm": "raptorq",
15
+ "blockProfile": "iso-ssbg1-v1",
16
+ "sourceSymbols": 32,
17
+ "repairSymbols": 0,
18
+ "symbolSize": 1312,
19
+ "repairTrack": "video-repair"
20
+ }
21
+ },
22
+ {
23
+ "name": "video-repair",
24
+ "packaging": "fec-repair",
25
+ "priority": 240
26
+ }
27
+ ]
28
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "version": 1,
3
+ "streamingFormat": "mmtp",
4
+ "streamingFormatVersion": "draft-ramadan-moq-mmt-00",
5
+ "tracks": [
6
+ {
7
+ "name": "video",
8
+ "packaging": "mmtp",
9
+ "codec": "avc1.640028",
10
+ "mmtpMode": "mfu",
11
+ "timescale": 90000,
12
+ "groupDurationMs": 1000,
13
+ "fec": {
14
+ "algorithm": "raptorq",
15
+ "blockProfile": "iso-ssbg1-v1",
16
+ "sourceSymbols": 0,
17
+ "repairSymbols": 8,
18
+ "symbolSize": 1312,
19
+ "repairTrack": "video-repair"
20
+ }
21
+ },
22
+ {
23
+ "name": "video-repair",
24
+ "packaging": "fec-repair",
25
+ "priority": 240
26
+ }
27
+ ]
28
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "version": 1,
3
+ "streamingFormat": "mmtp",
4
+ "streamingFormatVersion": "draft-ramadan-moq-mmt-00",
5
+ "tracks": [
6
+ {
7
+ "name": "video",
8
+ "packaging": "mmtp",
9
+ "codec": "avc1.640028",
10
+ "mmtpMode": "mfu",
11
+ "timescale": 90000,
12
+ "groupDurationMs": 1000,
13
+ "fec": {
14
+ "algorithm": "raptorq",
15
+ "blockProfile": "iso-ssbg1-v1",
16
+ "sourceSymbols": 32,
17
+ "repairSymbols": 8,
18
+ "symbolSize": 0,
19
+ "repairTrack": "video-repair"
20
+ }
21
+ },
22
+ {
23
+ "name": "video-repair",
24
+ "packaging": "fec-repair",
25
+ "priority": 240
26
+ }
27
+ ]
28
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "version": 1,
3
+ "streamingFormat": "mmtp",
4
+ "streamingFormatVersion": "draft-ramadan-moq-mmt-01",
5
+ "tracks": [
6
+ {
7
+ "name": "video",
8
+ "packaging": "mmtp",
9
+ "codec": "avc1.640028",
10
+ "mmtpMode": "mfu",
11
+ "timescale": 90000,
12
+ "groupDurationMs": 1000,
13
+ "initRef": "video-init"
14
+ }
15
+ ],
16
+ "initDataList": [
17
+ {
18
+ "id": "video-init",
19
+ "type": "inline"
20
+ }
21
+ ]
22
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "version": 1,
3
+ "streamingFormat": "mmtp",
4
+ "streamingFormatVersion": "draft-ramadan-moq-mmt-01",
5
+ "tracks": [
6
+ {
7
+ "name": "video",
8
+ "packaging": "mmtp",
9
+ "codec": "avc1.640028",
10
+ "mmtpMode": "mpu",
11
+ "timescale": 90000,
12
+ "groupDurationMs": 1000
13
+ }
14
+ ]
15
+ }
@@ -0,0 +1,37 @@
1
+ {
2
+ "version": 1,
3
+ "streamingFormat": "mmtp",
4
+ "streamingFormatVersion": "draft-ramadan-moq-mmt-01",
5
+ "tracks": [
6
+ {
7
+ "name": "video",
8
+ "packaging": "mmtp",
9
+ "codec": "avc1.640028",
10
+ "mmtpMode": "mfu",
11
+ "timescale": 90000,
12
+ "groupDurationMs": 1000
13
+ }
14
+ ],
15
+ "multicast": {
16
+ "endpoints": [
17
+ {
18
+ "protocol": "ssm",
19
+ "sourceAddress": "192.0.2.10",
20
+ "groupAddress": "232.1.1.1",
21
+ "port": 5000,
22
+ "tracks": [
23
+ {
24
+ "name": "video",
25
+ "packetId": 1
26
+ }
27
+ ]
28
+ }
29
+ ],
30
+ "networkSource": [
31
+ {
32
+ "type": "amt",
33
+ "discovery": "dns"
34
+ }
35
+ ]
36
+ }
37
+ }
@@ -0,0 +1,77 @@
1
+ {
2
+ "version": 1,
3
+ "streamingFormat": "mmtp",
4
+ "streamingFormatVersion": "draft-ramadan-moq-mmt-01",
5
+ "tracks": [
6
+ {
7
+ "name": "video",
8
+ "packaging": "mmtp",
9
+ "codec": "avc1.640028",
10
+ "mmtpMode": "mfu",
11
+ "timescale": 90000,
12
+ "groupDurationMs": 1000
13
+ },
14
+ {
15
+ "name": "audio",
16
+ "packaging": "mmtp",
17
+ "codec": "mp4a.40.2",
18
+ "mmtpMode": "mfu",
19
+ "timescale": 48000,
20
+ "groupDurationMs": 1000
21
+ }
22
+ ],
23
+ "multicast": {
24
+ "auth": {
25
+ "scheme": "bc-provenance",
26
+ "version": 2,
27
+ "sig": "ed25519",
28
+ "keys": [
29
+ {
30
+ "kid": 1,
31
+ "publicKey": "A6EHv_POEL4dcN0Y50vAmWfk1jCbpQ1fHdyGZBJVMbg",
32
+ "firstEpoch": 1
33
+ },
34
+ {
35
+ "kid": 2,
36
+ "publicKey": "mm4Ae7fTOTrOb2d_zK9mlXVV2YgeBBvBncabOQRh1Z4",
37
+ "firstEpoch": 17
38
+ }
39
+ ],
40
+ "minEpoch": 17
41
+ },
42
+ "endpoints": [
43
+ {
44
+ "groupAddress": "239.10.20.30",
45
+ "port": 5004,
46
+ "bandwidth": 6000000,
47
+ "tracks": [
48
+ {
49
+ "name": "video",
50
+ "packetId": 1
51
+ }
52
+ ],
53
+ "auth": {
54
+ "manifestPort": 5005,
55
+ "streamId": 1
56
+ }
57
+ },
58
+ {
59
+ "protocol": "asm",
60
+ "groupAddress": "239.10.20.30",
61
+ "port": 5004,
62
+ "bandwidth": 128000,
63
+ "tracks": [
64
+ {
65
+ "name": "audio",
66
+ "packetId": 2
67
+ }
68
+ ],
69
+ "auth": {
70
+ "manifestPort": 5005,
71
+ "streamId": 2,
72
+ "senderAddress": "198.51.100.8"
73
+ }
74
+ }
75
+ ]
76
+ }
77
+ }
@@ -0,0 +1,56 @@
1
+ {
2
+ "version": 1,
3
+ "streamingFormat": "mmtp",
4
+ "streamingFormatVersion": "draft-ramadan-moq-mmt-01",
5
+ "tracks": [
6
+ {
7
+ "name": "video",
8
+ "packaging": "mmtp",
9
+ "codec": "avc1.640028",
10
+ "mmtpMode": "mfu",
11
+ "timescale": 90000,
12
+ "groupDurationMs": 1000
13
+ }
14
+ ],
15
+ "multicast": {
16
+ "auth": {
17
+ "scheme": "bc-provenance",
18
+ "version": 2,
19
+ "sig": "ed25519",
20
+ "keys": [
21
+ {
22
+ "kid": 1,
23
+ "publicKey": "A6EHv_POEL4dcN0Y50vAmWfk1jCbpQ1fHdyGZBJVMbg",
24
+ "firstEpoch": 1
25
+ },
26
+ {
27
+ "kid": 2,
28
+ "publicKey": "mm4Ae7fTOTrOb2d_zK9mlXVV2YgeBBvBncabOQRh1Z4",
29
+ "firstEpoch": 1
30
+ }
31
+ ],
32
+ "minEpoch": 17
33
+ },
34
+ "endpoints": [
35
+ {
36
+ "sourceAddress": "198.51.100.7",
37
+ "groupAddress": "232.10.20.30",
38
+ "port": 5004,
39
+ "bandwidth": 100000000,
40
+ "tracks": [
41
+ {
42
+ "name": "video",
43
+ "packetId": 1
44
+ }
45
+ ],
46
+ "auth": {
47
+ "manifestPort": 5005,
48
+ "streamId": 2864434397,
49
+ "maxAuthDelayMs": 200,
50
+ "manifestTimerMs": 20,
51
+ "manifestTrack": "video/manifest"
52
+ }
53
+ }
54
+ ]
55
+ }
56
+ }
@@ -0,0 +1,56 @@
1
+ {
2
+ "version": 1,
3
+ "streamingFormat": "mmtp",
4
+ "streamingFormatVersion": "draft-ramadan-moq-mmt-01",
5
+ "tracks": [
6
+ {
7
+ "name": "video",
8
+ "packaging": "mmtp",
9
+ "codec": "avc1.640028",
10
+ "mmtpMode": "mfu",
11
+ "timescale": 90000,
12
+ "groupDurationMs": 1000
13
+ }
14
+ ],
15
+ "multicast": {
16
+ "auth": {
17
+ "scheme": "bc-provenance",
18
+ "version": 2,
19
+ "sig": "ed25519",
20
+ "keys": [
21
+ {
22
+ "kid": 1,
23
+ "publicKey": "A6EHv_POEL4dcN0Y50vAmWfk1jCbpQ1fHdyGZBJVMbg",
24
+ "firstEpoch": 1
25
+ },
26
+ {
27
+ "kid": 1,
28
+ "publicKey": "mm4Ae7fTOTrOb2d_zK9mlXVV2YgeBBvBncabOQRh1Z4",
29
+ "firstEpoch": 17
30
+ }
31
+ ],
32
+ "minEpoch": 17
33
+ },
34
+ "endpoints": [
35
+ {
36
+ "sourceAddress": "198.51.100.7",
37
+ "groupAddress": "232.10.20.30",
38
+ "port": 5004,
39
+ "bandwidth": 100000000,
40
+ "tracks": [
41
+ {
42
+ "name": "video",
43
+ "packetId": 1
44
+ }
45
+ ],
46
+ "auth": {
47
+ "manifestPort": 5005,
48
+ "streamId": 2864434397,
49
+ "maxAuthDelayMs": 200,
50
+ "manifestTimerMs": 20,
51
+ "manifestTrack": "video/manifest"
52
+ }
53
+ }
54
+ ]
55
+ }
56
+ }