@blockcast/mmt-container 2.2.0-main.e1bebe787bc9 → 2.2.0-main.ea9223dc11de

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 (124) hide show
  1. package/dist/block-policy.d.ts +33 -3
  2. package/dist/block-policy.d.ts.map +1 -1
  3. package/dist/block-policy.js +60 -24
  4. package/dist/block-policy.js.map +3 -3
  5. package/dist/browser-runtime.js +1034 -126
  6. package/dist/browser-runtime.js.map +4 -4
  7. package/dist/carp-catalog.d.ts +40 -1
  8. package/dist/carp-catalog.d.ts.map +1 -1
  9. package/dist/carp-catalog.js +163 -10
  10. package/dist/carp-catalog.js.map +4 -4
  11. package/dist/catalog-fec-params.js +34 -0
  12. package/dist/catalog-fec-params.js.map +3 -3
  13. package/dist/catalog-network-source.js +34 -0
  14. package/dist/catalog-network-source.js.map +3 -3
  15. package/dist/datagram-leg-deadline.d.ts +138 -0
  16. package/dist/datagram-leg-deadline.d.ts.map +1 -0
  17. package/dist/datagram-leg-deadline.js +229 -0
  18. package/dist/datagram-leg-deadline.js.map +7 -0
  19. package/dist/delivery-catalog.js +68 -0
  20. package/dist/delivery-catalog.js.map +4 -4
  21. package/dist/delta-fallback-config.js +34 -0
  22. package/dist/delta-fallback-config.js.map +3 -3
  23. package/dist/fec-manager.d.ts +117 -13
  24. package/dist/fec-manager.d.ts.map +1 -1
  25. package/dist/fec-manager.js +358 -42
  26. package/dist/fec-manager.js.map +4 -4
  27. package/dist/fec-state.d.ts +17 -5
  28. package/dist/fec-state.d.ts.map +1 -1
  29. package/dist/fec-state.js +36 -0
  30. package/dist/fec-state.js.map +3 -3
  31. package/dist/fec-worker-setup.js +34 -0
  32. package/dist/fec-worker-setup.js.map +3 -3
  33. package/dist/held-layer-admission.js +34 -0
  34. package/dist/held-layer-admission.js.map +3 -3
  35. package/dist/index.d.ts +6 -4
  36. package/dist/index.d.ts.map +1 -1
  37. package/dist/index.js +14 -0
  38. package/dist/index.js.map +2 -2
  39. package/dist/iso-block-locator.d.ts +16 -0
  40. package/dist/iso-block-locator.d.ts.map +1 -1
  41. package/dist/iso-block-locator.js +62 -0
  42. package/dist/iso-block-locator.js.map +3 -3
  43. package/dist/mfu-reassembler.js +34 -0
  44. package/dist/mfu-reassembler.js.map +3 -3
  45. package/dist/mmtp-container-parser.d.ts +6 -3
  46. package/dist/mmtp-container-parser.d.ts.map +1 -1
  47. package/dist/mmtp-container-parser.js +34 -0
  48. package/dist/mmtp-container-parser.js.map +3 -3
  49. package/dist/mmtp-container-parser.no-modules.js +167 -13
  50. package/dist/mmtp-container-parser.no-modules.js.map +4 -4
  51. package/dist/mmtp-decode-pipeline.js +34 -0
  52. package/dist/mmtp-decode-pipeline.js.map +3 -3
  53. package/dist/mmtp-fec-session.js +34 -0
  54. package/dist/mmtp-fec-session.js.map +3 -3
  55. package/dist/mmtp-mode-selection.d.ts +48 -0
  56. package/dist/mmtp-mode-selection.d.ts.map +1 -0
  57. package/dist/mmtp-mode-selection.js +79 -0
  58. package/dist/mmtp-mode-selection.js.map +7 -0
  59. package/dist/mmtp-router.d.ts +66 -10
  60. package/dist/mmtp-router.d.ts.map +1 -1
  61. package/dist/mmtp-router.js +204 -30
  62. package/dist/mmtp-router.js.map +4 -4
  63. package/dist/multicast-auth-catalog.js +42 -2
  64. package/dist/multicast-auth-catalog.js.map +3 -3
  65. package/dist/multicast-input.js +42 -2
  66. package/dist/multicast-input.js.map +3 -3
  67. package/dist/multicast-manager.d.ts +95 -1
  68. package/dist/multicast-manager.d.ts.map +1 -1
  69. package/dist/multicast-manager.js +613 -92
  70. package/dist/multicast-manager.js.map +4 -4
  71. package/dist/multicast-transport.js +68 -0
  72. package/dist/multicast-transport.js.map +4 -4
  73. package/dist/multicast-unwrap.js +34 -0
  74. package/dist/multicast-unwrap.js.map +3 -3
  75. package/dist/no-modules.js +167 -13
  76. package/dist/no-modules.js.map +4 -4
  77. package/dist/phase14-catalog-override.d.ts +2 -1
  78. package/dist/phase14-catalog-override.d.ts.map +1 -1
  79. package/dist/phase14-catalog-override.js +69 -2
  80. package/dist/phase14-catalog-override.js.map +3 -3
  81. package/dist/repair-fetch.d.ts.map +1 -1
  82. package/dist/repair-fetch.js +50 -0
  83. package/dist/repair-fetch.js.map +3 -3
  84. package/dist/repair-layer-subscriptions.js +34 -0
  85. package/dist/repair-layer-subscriptions.js.map +3 -3
  86. package/dist/signaling.js +34 -0
  87. package/dist/signaling.js.map +3 -3
  88. package/dist/timestamp-codec.js +34 -0
  89. package/dist/timestamp-codec.js.map +3 -3
  90. package/dist/wasm-mfu-reassembler.js +34 -0
  91. package/dist/wasm-mfu-reassembler.js.map +3 -3
  92. package/dist/wasm-mmtp-container-parser.js +34 -0
  93. package/dist/wasm-mmtp-container-parser.js.map +3 -3
  94. package/package.json +5 -5
  95. package/schemas/catalog.schema.json +2 -2
  96. package/src/block-policy.ts +108 -31
  97. package/src/carp-catalog.ts +165 -5
  98. package/src/datagram-leg-deadline.ts +370 -0
  99. package/src/fec-manager.ts +345 -33
  100. package/src/fec-state.ts +21 -5
  101. package/src/index.ts +37 -0
  102. package/src/iso-block-locator.ts +34 -0
  103. package/src/mmtp-container-parser.ts +6 -4
  104. package/src/mmtp-mode-selection.ts +80 -0
  105. package/src/mmtp-router.ts +226 -45
  106. package/src/multicast-manager.ts +126 -0
  107. package/src/phase14-catalog-override.ts +14 -3
  108. package/src/repair-fetch.ts +23 -0
  109. package/test-vectors/catalog/README.md +36 -2
  110. package/test-vectors/catalog/mmtp-siblings/ambiguous-sibling.json +158 -0
  111. package/test-vectors/catalog/mmtp-siblings/ladder-bitrate-only.json +231 -0
  112. package/test-vectors/catalog/mmtp-siblings/ladder-four-rungs.json +405 -0
  113. package/test-vectors/catalog/mmtp-siblings/ladder-other-names.json +231 -0
  114. package/test-vectors/catalog/mmtp-siblings/mmtp-mode-unknown.json +143 -0
  115. package/test-vectors/catalog/mmtp-siblings/multicast-endpoint-lists-datagram-track.json +143 -0
  116. package/test-vectors/catalog/mmtp-siblings/no-sibling.json +79 -0
  117. package/test-vectors/catalog/mmtp-siblings/rendition-mismatch.json +143 -0
  118. package/test-vectors/catalog/mmtp-siblings/stream-delivery-mode.json +143 -0
  119. package/test-vectors/catalog/mmtp-siblings/timescale-mismatch.json +143 -0
  120. package/test-vectors/catalog/mmtp-siblings/valid-pair.json +142 -0
  121. package/test-vectors/catalog/section-codes.json +3 -3
  122. package/test-vectors/catalog-timing.json +742 -1
  123. package/test-vectors/catalog-validation.json +266 -7
  124. package/test-vectors/moq/mmtp-mode-selection.json +259 -0
@@ -0,0 +1,143 @@
1
+ {
2
+ "generator": "libmmt mmtp-siblings-v1",
3
+ "sha256": "33c6b8a4e8dfce1fb6b629337b16d4d4d9d75a2c09129574cf916996bd229505",
4
+ "description": "One rung whose datagram track states another codec than the only \"mfu\" track: the two do not carry one payload, so they are not siblings and the datagram track is rejected. An implementation that reads the rendition fields only to break a tie fails this file.",
5
+ "catalog": {
6
+ "version": 1,
7
+ "streamingFormat": "mmtp",
8
+ "streamingFormatVersion": "draft-ramadan-moq-mmt-02",
9
+ "tracks": [
10
+ {
11
+ "name": "1080p",
12
+ "packaging": "mmtp",
13
+ "isLive": true,
14
+ "codec": "avc1.640028",
15
+ "framerate": 30,
16
+ "width": 1920,
17
+ "height": 1080,
18
+ "mmtpMode": "mfu",
19
+ "timescale": 90000,
20
+ "groupDurationMs": 1000,
21
+ "fec": [
22
+ {
23
+ "instanceId": 0,
24
+ "scheme": "raptorq",
25
+ "blockProfile": "iso-ssbg1-v1",
26
+ "sourceSymbols": 32,
27
+ "repairSymbols": 8,
28
+ "symbolSize": 1096,
29
+ "interleaveDepthMs": 133,
30
+ "reorderToleranceMs": 40,
31
+ "repairTrack": "1080p/repair"
32
+ }
33
+ ]
34
+ },
35
+ {
36
+ "name": "1080p/repair",
37
+ "packaging": "fec-repair",
38
+ "codec": "application/raptorq",
39
+ "source": "1080p",
40
+ "instanceId": 0,
41
+ "repairLayer": 0,
42
+ "repairSymbols": 8,
43
+ "priority": 240
44
+ },
45
+ {
46
+ "name": "1080p/datagram",
47
+ "packaging": "mmtp",
48
+ "isLive": true,
49
+ "codec": "avc1.64001f",
50
+ "framerate": 30,
51
+ "width": 1920,
52
+ "height": 1080,
53
+ "mmtpMode": "mfu-datagram",
54
+ "timescale": 90000,
55
+ "groupDurationMs": 1000,
56
+ "fec": [
57
+ {
58
+ "instanceId": 0,
59
+ "scheme": "raptorq",
60
+ "blockProfile": "iso-ssbg1-v1",
61
+ "sourceSymbols": 32,
62
+ "repairSymbols": 8,
63
+ "symbolSize": 1096,
64
+ "interleaveDepthMs": 133,
65
+ "reorderToleranceMs": 40,
66
+ "repairTrack": "1080p/datagram/repair"
67
+ }
68
+ ],
69
+ "deliveryMode": "datagram"
70
+ },
71
+ {
72
+ "name": "1080p/datagram/repair",
73
+ "packaging": "fec-repair",
74
+ "codec": "application/raptorq",
75
+ "source": "1080p/datagram",
76
+ "instanceId": 0,
77
+ "repairLayer": 0,
78
+ "repairSymbols": 8,
79
+ "priority": 240,
80
+ "deliveryMode": "datagram"
81
+ },
82
+ {
83
+ "name": "audio",
84
+ "packaging": "mmtp",
85
+ "isLive": true,
86
+ "codec": "mp4a.40.2",
87
+ "samplerate": 48000,
88
+ "channelConfig": "2",
89
+ "mmtpMode": "mfu",
90
+ "timescale": 48000,
91
+ "groupDurationMs": 1000
92
+ }
93
+ ],
94
+ "multicast": {
95
+ "endpoints": [
96
+ {
97
+ "sourceAddress": "192.0.2.10",
98
+ "groupAddress": "232.1.1.1",
99
+ "port": 5000,
100
+ "tracks": [
101
+ {
102
+ "name": "1080p",
103
+ "packetId": 1
104
+ },
105
+ {
106
+ "name": "1080p/repair",
107
+ "packetId": 2
108
+ },
109
+ {
110
+ "name": "audio",
111
+ "packetId": 3
112
+ }
113
+ ]
114
+ }
115
+ ]
116
+ }
117
+ },
118
+ "expected": {
119
+ "catalogValid": true,
120
+ "tracks": {
121
+ "1080p": {
122
+ "verdict": "accepted"
123
+ },
124
+ "1080p/repair": {
125
+ "verdict": "accepted"
126
+ },
127
+ "1080p/datagram": {
128
+ "verdict": "rejected",
129
+ "code": "track_mmtp_sibling",
130
+ "path": "$.tracks[2]"
131
+ },
132
+ "1080p/datagram/repair": {
133
+ "verdict": "dropped",
134
+ "source": "1080p/datagram"
135
+ },
136
+ "audio": {
137
+ "verdict": "accepted"
138
+ }
139
+ },
140
+ "pairs": {},
141
+ "endpointIssues": []
142
+ }
143
+ }
@@ -0,0 +1,143 @@
1
+ {
2
+ "generator": "libmmt mmtp-siblings-v1",
3
+ "sha256": "9976e36dc8fc6ecb50461d2b5ced0ff21d3494cde97256d0a1593323ff4d581e",
4
+ "description": "deliveryMode \"stream\" on an \"mfu-datagram\" track rejects that track (a stack invariant derived from mmtpMode; \"datagram\" or absent is accepted).",
5
+ "catalog": {
6
+ "version": 1,
7
+ "streamingFormat": "mmtp",
8
+ "streamingFormatVersion": "draft-ramadan-moq-mmt-02",
9
+ "tracks": [
10
+ {
11
+ "name": "1080p",
12
+ "packaging": "mmtp",
13
+ "isLive": true,
14
+ "codec": "avc1.640028",
15
+ "framerate": 30,
16
+ "width": 1920,
17
+ "height": 1080,
18
+ "mmtpMode": "mfu",
19
+ "timescale": 90000,
20
+ "groupDurationMs": 1000,
21
+ "fec": [
22
+ {
23
+ "instanceId": 0,
24
+ "scheme": "raptorq",
25
+ "blockProfile": "iso-ssbg1-v1",
26
+ "sourceSymbols": 32,
27
+ "repairSymbols": 8,
28
+ "symbolSize": 1096,
29
+ "interleaveDepthMs": 133,
30
+ "reorderToleranceMs": 40,
31
+ "repairTrack": "1080p/repair"
32
+ }
33
+ ]
34
+ },
35
+ {
36
+ "name": "1080p/repair",
37
+ "packaging": "fec-repair",
38
+ "codec": "application/raptorq",
39
+ "source": "1080p",
40
+ "instanceId": 0,
41
+ "repairLayer": 0,
42
+ "repairSymbols": 8,
43
+ "priority": 240
44
+ },
45
+ {
46
+ "name": "1080p/datagram",
47
+ "packaging": "mmtp",
48
+ "isLive": true,
49
+ "codec": "avc1.640028",
50
+ "framerate": 30,
51
+ "width": 1920,
52
+ "height": 1080,
53
+ "mmtpMode": "mfu-datagram",
54
+ "timescale": 90000,
55
+ "groupDurationMs": 1000,
56
+ "fec": [
57
+ {
58
+ "instanceId": 0,
59
+ "scheme": "raptorq",
60
+ "blockProfile": "iso-ssbg1-v1",
61
+ "sourceSymbols": 32,
62
+ "repairSymbols": 8,
63
+ "symbolSize": 1096,
64
+ "interleaveDepthMs": 133,
65
+ "reorderToleranceMs": 40,
66
+ "repairTrack": "1080p/datagram/repair"
67
+ }
68
+ ],
69
+ "deliveryMode": "stream"
70
+ },
71
+ {
72
+ "name": "1080p/datagram/repair",
73
+ "packaging": "fec-repair",
74
+ "codec": "application/raptorq",
75
+ "source": "1080p/datagram",
76
+ "instanceId": 0,
77
+ "repairLayer": 0,
78
+ "repairSymbols": 8,
79
+ "priority": 240,
80
+ "deliveryMode": "datagram"
81
+ },
82
+ {
83
+ "name": "audio",
84
+ "packaging": "mmtp",
85
+ "isLive": true,
86
+ "codec": "mp4a.40.2",
87
+ "samplerate": 48000,
88
+ "channelConfig": "2",
89
+ "mmtpMode": "mfu",
90
+ "timescale": 48000,
91
+ "groupDurationMs": 1000
92
+ }
93
+ ],
94
+ "multicast": {
95
+ "endpoints": [
96
+ {
97
+ "sourceAddress": "192.0.2.10",
98
+ "groupAddress": "232.1.1.1",
99
+ "port": 5000,
100
+ "tracks": [
101
+ {
102
+ "name": "1080p",
103
+ "packetId": 1
104
+ },
105
+ {
106
+ "name": "1080p/repair",
107
+ "packetId": 2
108
+ },
109
+ {
110
+ "name": "audio",
111
+ "packetId": 3
112
+ }
113
+ ]
114
+ }
115
+ ]
116
+ }
117
+ },
118
+ "expected": {
119
+ "catalogValid": true,
120
+ "tracks": {
121
+ "1080p": {
122
+ "verdict": "accepted"
123
+ },
124
+ "1080p/repair": {
125
+ "verdict": "accepted"
126
+ },
127
+ "1080p/datagram": {
128
+ "verdict": "rejected",
129
+ "code": "track_delivery_mode_conflict",
130
+ "path": "$.tracks[2].deliveryMode"
131
+ },
132
+ "1080p/datagram/repair": {
133
+ "verdict": "dropped",
134
+ "source": "1080p/datagram"
135
+ },
136
+ "audio": {
137
+ "verdict": "accepted"
138
+ }
139
+ },
140
+ "pairs": {},
141
+ "endpointIssues": []
142
+ }
143
+ }
@@ -0,0 +1,143 @@
1
+ {
2
+ "generator": "libmmt mmtp-siblings-v1",
3
+ "sha256": "d488cee7d9fa82a852599632bbbb8a07945edd381869ff6dd421a9559c885a24",
4
+ "description": "The datagram track declares another timescale than the only \"mfu\" candidate: identical Group and Object IDs are impossible, so it is rejected.",
5
+ "catalog": {
6
+ "version": 1,
7
+ "streamingFormat": "mmtp",
8
+ "streamingFormatVersion": "draft-ramadan-moq-mmt-02",
9
+ "tracks": [
10
+ {
11
+ "name": "1080p",
12
+ "packaging": "mmtp",
13
+ "isLive": true,
14
+ "codec": "avc1.640028",
15
+ "framerate": 30,
16
+ "width": 1920,
17
+ "height": 1080,
18
+ "mmtpMode": "mfu",
19
+ "timescale": 90000,
20
+ "groupDurationMs": 1000,
21
+ "fec": [
22
+ {
23
+ "instanceId": 0,
24
+ "scheme": "raptorq",
25
+ "blockProfile": "iso-ssbg1-v1",
26
+ "sourceSymbols": 32,
27
+ "repairSymbols": 8,
28
+ "symbolSize": 1096,
29
+ "interleaveDepthMs": 133,
30
+ "reorderToleranceMs": 40,
31
+ "repairTrack": "1080p/repair"
32
+ }
33
+ ]
34
+ },
35
+ {
36
+ "name": "1080p/repair",
37
+ "packaging": "fec-repair",
38
+ "codec": "application/raptorq",
39
+ "source": "1080p",
40
+ "instanceId": 0,
41
+ "repairLayer": 0,
42
+ "repairSymbols": 8,
43
+ "priority": 240
44
+ },
45
+ {
46
+ "name": "1080p/datagram",
47
+ "packaging": "mmtp",
48
+ "isLive": true,
49
+ "codec": "avc1.640028",
50
+ "framerate": 30,
51
+ "width": 1920,
52
+ "height": 1080,
53
+ "mmtpMode": "mfu-datagram",
54
+ "timescale": 30000,
55
+ "groupDurationMs": 1000,
56
+ "fec": [
57
+ {
58
+ "instanceId": 0,
59
+ "scheme": "raptorq",
60
+ "blockProfile": "iso-ssbg1-v1",
61
+ "sourceSymbols": 32,
62
+ "repairSymbols": 8,
63
+ "symbolSize": 1096,
64
+ "interleaveDepthMs": 133,
65
+ "reorderToleranceMs": 40,
66
+ "repairTrack": "1080p/datagram/repair"
67
+ }
68
+ ],
69
+ "deliveryMode": "datagram"
70
+ },
71
+ {
72
+ "name": "1080p/datagram/repair",
73
+ "packaging": "fec-repair",
74
+ "codec": "application/raptorq",
75
+ "source": "1080p/datagram",
76
+ "instanceId": 0,
77
+ "repairLayer": 0,
78
+ "repairSymbols": 8,
79
+ "priority": 240,
80
+ "deliveryMode": "datagram"
81
+ },
82
+ {
83
+ "name": "audio",
84
+ "packaging": "mmtp",
85
+ "isLive": true,
86
+ "codec": "mp4a.40.2",
87
+ "samplerate": 48000,
88
+ "channelConfig": "2",
89
+ "mmtpMode": "mfu",
90
+ "timescale": 48000,
91
+ "groupDurationMs": 1000
92
+ }
93
+ ],
94
+ "multicast": {
95
+ "endpoints": [
96
+ {
97
+ "sourceAddress": "192.0.2.10",
98
+ "groupAddress": "232.1.1.1",
99
+ "port": 5000,
100
+ "tracks": [
101
+ {
102
+ "name": "1080p",
103
+ "packetId": 1
104
+ },
105
+ {
106
+ "name": "1080p/repair",
107
+ "packetId": 2
108
+ },
109
+ {
110
+ "name": "audio",
111
+ "packetId": 3
112
+ }
113
+ ]
114
+ }
115
+ ]
116
+ }
117
+ },
118
+ "expected": {
119
+ "catalogValid": true,
120
+ "tracks": {
121
+ "1080p": {
122
+ "verdict": "accepted"
123
+ },
124
+ "1080p/repair": {
125
+ "verdict": "accepted"
126
+ },
127
+ "1080p/datagram": {
128
+ "verdict": "rejected",
129
+ "code": "track_mmtp_sibling",
130
+ "path": "$.tracks[2]"
131
+ },
132
+ "1080p/datagram/repair": {
133
+ "verdict": "dropped",
134
+ "source": "1080p/datagram"
135
+ },
136
+ "audio": {
137
+ "verdict": "accepted"
138
+ }
139
+ },
140
+ "pairs": {},
141
+ "endpointIssues": []
142
+ }
143
+ }
@@ -0,0 +1,142 @@
1
+ {
2
+ "generator": "libmmt mmtp-siblings-v1",
3
+ "sha256": "960236f444e4ef9b512b6fdb7683fdb0175a5c9eccc9c6f7799b710f8159adeb",
4
+ "description": "An \"mfu-datagram\" track beside the \"mfu\" track it mirrors, each with its own FEC instance and repair track; the endpoint lists the \"mfu\" family only. Accepted and paired.",
5
+ "catalog": {
6
+ "version": 1,
7
+ "streamingFormat": "mmtp",
8
+ "streamingFormatVersion": "draft-ramadan-moq-mmt-02",
9
+ "tracks": [
10
+ {
11
+ "name": "1080p",
12
+ "packaging": "mmtp",
13
+ "isLive": true,
14
+ "codec": "avc1.640028",
15
+ "framerate": 30,
16
+ "width": 1920,
17
+ "height": 1080,
18
+ "mmtpMode": "mfu",
19
+ "timescale": 90000,
20
+ "groupDurationMs": 1000,
21
+ "fec": [
22
+ {
23
+ "instanceId": 0,
24
+ "scheme": "raptorq",
25
+ "blockProfile": "iso-ssbg1-v1",
26
+ "sourceSymbols": 32,
27
+ "repairSymbols": 8,
28
+ "symbolSize": 1096,
29
+ "interleaveDepthMs": 133,
30
+ "reorderToleranceMs": 40,
31
+ "repairTrack": "1080p/repair"
32
+ }
33
+ ]
34
+ },
35
+ {
36
+ "name": "1080p/repair",
37
+ "packaging": "fec-repair",
38
+ "codec": "application/raptorq",
39
+ "source": "1080p",
40
+ "instanceId": 0,
41
+ "repairLayer": 0,
42
+ "repairSymbols": 8,
43
+ "priority": 240
44
+ },
45
+ {
46
+ "name": "1080p/datagram",
47
+ "packaging": "mmtp",
48
+ "isLive": true,
49
+ "codec": "avc1.640028",
50
+ "framerate": 30,
51
+ "width": 1920,
52
+ "height": 1080,
53
+ "mmtpMode": "mfu-datagram",
54
+ "timescale": 90000,
55
+ "groupDurationMs": 1000,
56
+ "fec": [
57
+ {
58
+ "instanceId": 0,
59
+ "scheme": "raptorq",
60
+ "blockProfile": "iso-ssbg1-v1",
61
+ "sourceSymbols": 32,
62
+ "repairSymbols": 8,
63
+ "symbolSize": 1096,
64
+ "interleaveDepthMs": 133,
65
+ "reorderToleranceMs": 40,
66
+ "repairTrack": "1080p/datagram/repair"
67
+ }
68
+ ],
69
+ "deliveryMode": "datagram"
70
+ },
71
+ {
72
+ "name": "1080p/datagram/repair",
73
+ "packaging": "fec-repair",
74
+ "codec": "application/raptorq",
75
+ "source": "1080p/datagram",
76
+ "instanceId": 0,
77
+ "repairLayer": 0,
78
+ "repairSymbols": 8,
79
+ "priority": 240,
80
+ "deliveryMode": "datagram"
81
+ },
82
+ {
83
+ "name": "audio",
84
+ "packaging": "mmtp",
85
+ "isLive": true,
86
+ "codec": "mp4a.40.2",
87
+ "samplerate": 48000,
88
+ "channelConfig": "2",
89
+ "mmtpMode": "mfu",
90
+ "timescale": 48000,
91
+ "groupDurationMs": 1000
92
+ }
93
+ ],
94
+ "multicast": {
95
+ "endpoints": [
96
+ {
97
+ "sourceAddress": "192.0.2.10",
98
+ "groupAddress": "232.1.1.1",
99
+ "port": 5000,
100
+ "tracks": [
101
+ {
102
+ "name": "1080p",
103
+ "packetId": 1
104
+ },
105
+ {
106
+ "name": "1080p/repair",
107
+ "packetId": 2
108
+ },
109
+ {
110
+ "name": "audio",
111
+ "packetId": 3
112
+ }
113
+ ]
114
+ }
115
+ ]
116
+ }
117
+ },
118
+ "expected": {
119
+ "catalogValid": true,
120
+ "tracks": {
121
+ "1080p": {
122
+ "verdict": "accepted"
123
+ },
124
+ "1080p/repair": {
125
+ "verdict": "accepted"
126
+ },
127
+ "1080p/datagram": {
128
+ "verdict": "accepted"
129
+ },
130
+ "1080p/datagram/repair": {
131
+ "verdict": "accepted"
132
+ },
133
+ "audio": {
134
+ "verdict": "accepted"
135
+ }
136
+ },
137
+ "pairs": {
138
+ "1080p": "1080p/datagram"
139
+ },
140
+ "endpointIssues": []
141
+ }
142
+ }
@@ -1,5 +1,5 @@
1
1
  {
2
- "description": "What the MMTP/timing catalog section rejects each negative fixture with. Read by packages/container/src/catalog-schema.test.ts (against validateCmsfMmtpCatalog) and mmt-fec/tests/catalog_section_vectors.rs (against mmt_fec::catalog::validate_tracks): both engines must report the same code at the same JSON path. Every negative fixture is listed exactly once; outOfSection names fields the section does not own, which the embedding catalog validates. FEC instances, repair and symbol tracks are not in the section: their binding is draft-ramadan-moq-fec-catalog-00's, validated by validateFecCatalog / mmt_fec::fec_catalog against vectors/fec-catalog-00, and no -01 FEC shape is rejected here (BLO-50171).",
2
+ "description": "What the MMTP/timing catalog section rejects each negative fixture with. Read by packages/container/src/catalog-schema.test.ts (against validateCmsfMmtpCatalog) and mmt-fec/tests/catalog_section_vectors.rs (against mmt_fec::catalog::validate_tracks): both engines must report the same code at the same JSON path. trackRejected is a track-level rejection (draft-ramadan-moq-mmt-02 13.1): the catalog validates, and mmtpTrackIssues / mmt_fec::catalog::rejected_tracks name the track with that code and path, which the consumer skips. Every negative fixture is listed exactly once; outOfSection names fields the section does not own, which the embedding catalog validates. FEC instances, repair and symbol tracks are not in the section: their binding is draft-ramadan-moq-fec-catalog-00's, validated by validateFecCatalog / mmt_fec::fec_catalog against vectors/fec-catalog-00, and no -01 FEC shape is rejected here (BLO-50171).",
3
3
  "negative": {
4
4
  "archive-origin-with-path.json": { "outOfSection": "archive" },
5
5
  "archive-unknown-field.json": { "outOfSection": "archive" },
@@ -15,8 +15,8 @@
15
15
  "init-data-inline-without-data.json": { "outOfSection": "root initDataList" },
16
16
  "legacy-selection-params.json": { "outOfSection": "common track field selectionParams" },
17
17
  "media-track-repair-layer.json": { "outOfSection": "FEC binding (validateFecCatalog; receiver outcomes in vectors/fec-catalog-00)" },
18
- "missing-mmtp-fields.json": { "code": "track_mmtp_mode", "path": "$.tracks[0].mmtpMode" },
19
- "mmtp-mode-mpu.json": { "code": "track_mmtp_mode", "path": "$.tracks[0].mmtpMode" },
18
+ "missing-mmtp-fields.json": { "code": "track_timescale", "path": "$.tracks[0].timescale" },
19
+ "mmtp-mode-mpu.json": { "trackRejected": { "code": "track_mmtp_mode", "path": "$.tracks[0].mmtpMode" } },
20
20
  "multicast-amt-dns-without-relay.json": { "outOfSection": "multicast" },
21
21
  "multicast-amt-driad-with-relay.json": { "outOfSection": "multicast" },
22
22
  "multicast-auth-asm-missing-sender-address.json": { "outOfSection": "multicast.auth" },