@blockcast/mmt-container 2.2.0-main.f480a7ede8b1 → 2.2.0-main.fde7aee36726

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 (137) hide show
  1. package/README.md +5 -2
  2. package/dist/block-policy.d.ts +88 -16
  3. package/dist/block-policy.d.ts.map +1 -1
  4. package/dist/block-policy.js +164 -56
  5. package/dist/block-policy.js.map +3 -3
  6. package/dist/browser-runtime.js +2163 -303
  7. package/dist/browser-runtime.js.map +4 -4
  8. package/dist/carp-catalog.d.ts +40 -1
  9. package/dist/carp-catalog.d.ts.map +1 -1
  10. package/dist/carp-catalog.js +163 -10
  11. package/dist/carp-catalog.js.map +4 -4
  12. package/dist/catalog-fec-params.d.ts +1 -1
  13. package/dist/catalog-fec-params.d.ts.map +1 -1
  14. package/dist/catalog-fec-params.js +48 -1
  15. package/dist/catalog-fec-params.js.map +3 -3
  16. package/dist/catalog-network-source.js +34 -0
  17. package/dist/catalog-network-source.js.map +3 -3
  18. package/dist/cmaf-block-assembler.js +92 -1
  19. package/dist/cmaf-block-assembler.js.map +2 -2
  20. package/dist/codec-utils.d.ts.map +1 -1
  21. package/dist/codec-utils.js +92 -1
  22. package/dist/codec-utils.js.map +2 -2
  23. package/dist/delivery-catalog.js +68 -0
  24. package/dist/delivery-catalog.js.map +4 -4
  25. package/dist/delta-fallback-config.js +39 -1
  26. package/dist/delta-fallback-config.js.map +4 -4
  27. package/dist/fec-manager.d.ts +222 -21
  28. package/dist/fec-manager.d.ts.map +1 -1
  29. package/dist/fec-manager.js +875 -131
  30. package/dist/fec-manager.js.map +4 -4
  31. package/dist/fec-state.d.ts +17 -5
  32. package/dist/fec-state.d.ts.map +1 -1
  33. package/dist/fec-state.js +41 -1
  34. package/dist/fec-state.js.map +3 -3
  35. package/dist/fec-worker-setup.js +34 -0
  36. package/dist/fec-worker-setup.js.map +3 -3
  37. package/dist/held-layer-admission.js +34 -0
  38. package/dist/held-layer-admission.js.map +3 -3
  39. package/dist/index.d.ts +6 -5
  40. package/dist/index.d.ts.map +1 -1
  41. package/dist/index.js +9 -1
  42. package/dist/index.js.map +2 -2
  43. package/dist/iso-block-locator.d.ts +55 -13
  44. package/dist/iso-block-locator.d.ts.map +1 -1
  45. package/dist/iso-block-locator.js +142 -25
  46. package/dist/iso-block-locator.js.map +3 -3
  47. package/dist/media-router.js.map +1 -1
  48. package/dist/mfu-reassembler.js +34 -0
  49. package/dist/mfu-reassembler.js.map +3 -3
  50. package/dist/mmtp-container-parser.d.ts +72 -10
  51. package/dist/mmtp-container-parser.d.ts.map +1 -1
  52. package/dist/mmtp-container-parser.js +260 -18
  53. package/dist/mmtp-container-parser.js.map +3 -3
  54. package/dist/mmtp-container-parser.no-modules.js +411 -34
  55. package/dist/mmtp-container-parser.no-modules.js.map +4 -4
  56. package/dist/mmtp-decode-pipeline.js +260 -18
  57. package/dist/mmtp-decode-pipeline.js.map +3 -3
  58. package/dist/mmtp-fec-session.js +34 -0
  59. package/dist/mmtp-fec-session.js.map +3 -3
  60. package/dist/mmtp-mode-selection.d.ts +48 -0
  61. package/dist/mmtp-mode-selection.d.ts.map +1 -0
  62. package/dist/mmtp-mode-selection.js +79 -0
  63. package/dist/mmtp-mode-selection.js.map +7 -0
  64. package/dist/mmtp-router.d.ts +94 -16
  65. package/dist/mmtp-router.d.ts.map +1 -1
  66. package/dist/mmtp-router.js +754 -78
  67. package/dist/mmtp-router.js.map +4 -4
  68. package/dist/multicast-auth-catalog.js +42 -2
  69. package/dist/multicast-auth-catalog.js.map +3 -3
  70. package/dist/multicast-input.js +42 -2
  71. package/dist/multicast-input.js.map +3 -3
  72. package/dist/multicast-manager.d.ts +121 -4
  73. package/dist/multicast-manager.d.ts.map +1 -1
  74. package/dist/multicast-manager.js +1774 -248
  75. package/dist/multicast-manager.js.map +4 -4
  76. package/dist/multicast-transport.js +70 -2
  77. package/dist/multicast-transport.js.map +4 -4
  78. package/dist/multicast-unwrap.js +34 -0
  79. package/dist/multicast-unwrap.js.map +3 -3
  80. package/dist/no-modules.d.ts +1 -0
  81. package/dist/no-modules.d.ts.map +1 -1
  82. package/dist/no-modules.js +415 -35
  83. package/dist/no-modules.js.map +4 -4
  84. package/dist/phase14-catalog-override.d.ts +2 -1
  85. package/dist/phase14-catalog-override.d.ts.map +1 -1
  86. package/dist/phase14-catalog-override.js +69 -2
  87. package/dist/phase14-catalog-override.js.map +3 -3
  88. package/dist/repair-fetch.d.ts +38 -8
  89. package/dist/repair-fetch.d.ts.map +1 -1
  90. package/dist/repair-fetch.js +336 -27
  91. package/dist/repair-fetch.js.map +3 -3
  92. package/dist/repair-layer-subscriptions.js +34 -0
  93. package/dist/repair-layer-subscriptions.js.map +3 -3
  94. package/dist/signaling.js +34 -0
  95. package/dist/signaling.js.map +3 -3
  96. package/dist/timestamp-codec.js +34 -0
  97. package/dist/timestamp-codec.js.map +3 -3
  98. package/dist/track-session.d.ts.map +1 -1
  99. package/dist/track-session.js +1 -0
  100. package/dist/track-session.js.map +2 -2
  101. package/dist/wasm-mfu-reassembler.js +34 -0
  102. package/dist/wasm-mfu-reassembler.js.map +3 -3
  103. package/dist/wasm-mmtp-container-parser.js +260 -18
  104. package/dist/wasm-mmtp-container-parser.js.map +3 -3
  105. package/package.json +5 -5
  106. package/schemas/catalog.schema.json +2 -2
  107. package/src/block-policy.ts +324 -83
  108. package/src/carp-catalog.ts +165 -5
  109. package/src/catalog-fec-params.ts +1 -0
  110. package/src/codec-utils.ts +121 -1
  111. package/src/fec-manager.ts +835 -66
  112. package/src/fec-state.ts +21 -5
  113. package/src/index.ts +25 -0
  114. package/src/iso-block-locator.ts +148 -31
  115. package/src/mmtp-container-parser.ts +259 -24
  116. package/src/mmtp-mode-selection.ts +80 -0
  117. package/src/mmtp-router.ts +774 -86
  118. package/src/multicast-manager.ts +262 -16
  119. package/src/no-modules.ts +3 -0
  120. package/src/phase14-catalog-override.ts +14 -3
  121. package/src/repair-fetch.ts +389 -50
  122. package/src/track-session.ts +3 -0
  123. package/test-vectors/catalog/README.md +36 -2
  124. package/test-vectors/catalog/mmtp-siblings/ambiguous-sibling.json +158 -0
  125. package/test-vectors/catalog/mmtp-siblings/ladder-bitrate-only.json +231 -0
  126. package/test-vectors/catalog/mmtp-siblings/ladder-four-rungs.json +405 -0
  127. package/test-vectors/catalog/mmtp-siblings/ladder-other-names.json +231 -0
  128. package/test-vectors/catalog/mmtp-siblings/mmtp-mode-unknown.json +143 -0
  129. package/test-vectors/catalog/mmtp-siblings/multicast-endpoint-lists-datagram-track.json +143 -0
  130. package/test-vectors/catalog/mmtp-siblings/no-sibling.json +79 -0
  131. package/test-vectors/catalog/mmtp-siblings/rendition-mismatch.json +143 -0
  132. package/test-vectors/catalog/mmtp-siblings/stream-delivery-mode.json +143 -0
  133. package/test-vectors/catalog/mmtp-siblings/timescale-mismatch.json +143 -0
  134. package/test-vectors/catalog/mmtp-siblings/valid-pair.json +142 -0
  135. package/test-vectors/catalog/section-codes.json +3 -3
  136. package/test-vectors/catalog-validation.json +266 -7
  137. package/test-vectors/moq/mmtp-mode-selection.json +259 -0
@@ -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" },
@@ -1,5 +1,5 @@
1
1
  {
2
- "$comment": "Canonical accept/reject and FEC block budget (interleaveDepthMs + reorderToleranceMs of instance 0) vectors. FEC binding rules (draft-ramadan-moq-fec-catalog-00 5) are validateFecCatalog's, pinned by vectors/fec-catalog-00. Auth validation is intentionally out of scope.",
2
+ "$comment": "Canonical accept/reject and FEC block budget (interleaveDepthMs + reorderToleranceMs of instance 0) vectors. FEC binding rules (draft-ramadan-moq-fec-catalog-00 5) are validateFecCatalog's, pinned by vectors/fec-catalog-00; the tracks the validator keeps of a valid case bind with no issue, so a consumer that runs both validators over this file agrees with \"valid\". Auth validation is intentionally out of scope.",
3
3
  "version": 1,
4
4
  "cases": [
5
5
  {
@@ -99,8 +99,7 @@
99
99
  },
100
100
  {
101
101
  "name": "missing mmtpMode",
102
- "valid": false,
103
- "error_code": "track_mmtp_mode",
102
+ "valid": true,
104
103
  "catalog": {
105
104
  "version": 1,
106
105
  "tracks": [
@@ -113,12 +112,18 @@
113
112
  "groupDurationMs": 4000
114
113
  }
115
114
  ]
116
- }
115
+ },
116
+ "track_issues": [
117
+ {
118
+ "code": "track_mmtp_mode",
119
+ "path": "$.tracks[0].mmtpMode",
120
+ "name": "video"
121
+ }
122
+ ]
117
123
  },
118
124
  {
119
125
  "name": "unknown mmtpMode",
120
- "valid": false,
121
- "error_code": "track_mmtp_mode",
126
+ "valid": true,
122
127
  "catalog": {
123
128
  "version": 1,
124
129
  "tracks": [
@@ -132,7 +137,14 @@
132
137
  "groupDurationMs": 4000
133
138
  }
134
139
  ]
135
- }
140
+ },
141
+ "track_issues": [
142
+ {
143
+ "code": "track_mmtp_mode",
144
+ "path": "$.tracks[0].mmtpMode",
145
+ "name": "video"
146
+ }
147
+ ]
136
148
  },
137
149
  {
138
150
  "name": "missing timescale",
@@ -645,6 +657,253 @@
645
657
  }
646
658
  ]
647
659
  }
660
+ },
661
+ {
662
+ "name": "mfu-datagram track with a hard-set mfu sibling",
663
+ "valid": true,
664
+ "track_issues": [],
665
+ "sibling_pairs": {
666
+ "video": "video/datagram"
667
+ },
668
+ "catalog": {
669
+ "version": 1,
670
+ "tracks": [
671
+ {
672
+ "name": "video",
673
+ "packaging": "mmtp",
674
+ "isLive": true,
675
+ "codec": "avc1.640028",
676
+ "mmtpMode": "mfu",
677
+ "timescale": 90000,
678
+ "groupDurationMs": 4000,
679
+ "fec": [
680
+ {
681
+ "instanceId": 0,
682
+ "scheme": "raptorq",
683
+ "blockProfile": "iso-ssbg1-v1",
684
+ "sourceSymbols": 32,
685
+ "repairSymbols": 8,
686
+ "symbolSize": 1096,
687
+ "interleaveDepthMs": 133,
688
+ "reorderToleranceMs": 40,
689
+ "repairTrack": "video/repair"
690
+ }
691
+ ]
692
+ },
693
+ {
694
+ "name": "video/repair",
695
+ "packaging": "fec-repair",
696
+ "source": "video",
697
+ "instanceId": 0,
698
+ "repairLayer": 0,
699
+ "repairSymbols": 8,
700
+ "priority": 240
701
+ },
702
+ {
703
+ "name": "video/datagram",
704
+ "packaging": "mmtp",
705
+ "isLive": true,
706
+ "codec": "avc1.640028",
707
+ "mmtpMode": "mfu-datagram",
708
+ "timescale": 90000,
709
+ "groupDurationMs": 4000,
710
+ "fec": [
711
+ {
712
+ "instanceId": 0,
713
+ "scheme": "raptorq",
714
+ "blockProfile": "iso-ssbg1-v1",
715
+ "sourceSymbols": 32,
716
+ "repairSymbols": 8,
717
+ "symbolSize": 1096,
718
+ "interleaveDepthMs": 133,
719
+ "reorderToleranceMs": 40,
720
+ "repairTrack": "video/datagram/repair"
721
+ }
722
+ ],
723
+ "deliveryMode": "datagram"
724
+ },
725
+ {
726
+ "name": "video/datagram/repair",
727
+ "packaging": "fec-repair",
728
+ "source": "video/datagram",
729
+ "instanceId": 0,
730
+ "repairLayer": 0,
731
+ "repairSymbols": 8,
732
+ "priority": 240,
733
+ "deliveryMode": "datagram"
734
+ }
735
+ ]
736
+ }
737
+ },
738
+ {
739
+ "name": "mfu-datagram track whose mfu sibling is ambiguous",
740
+ "valid": true,
741
+ "track_issues": [
742
+ {
743
+ "code": "track_mmtp_sibling",
744
+ "path": "$.tracks[2]",
745
+ "name": "video/datagram"
746
+ }
747
+ ],
748
+ "sibling_pairs": {},
749
+ "catalog": {
750
+ "version": 1,
751
+ "tracks": [
752
+ {
753
+ "name": "video",
754
+ "packaging": "mmtp",
755
+ "isLive": true,
756
+ "codec": "avc1.640028",
757
+ "mmtpMode": "mfu",
758
+ "timescale": 90000,
759
+ "groupDurationMs": 4000,
760
+ "fec": [
761
+ {
762
+ "instanceId": 0,
763
+ "scheme": "raptorq",
764
+ "blockProfile": "iso-ssbg1-v1",
765
+ "sourceSymbols": 32,
766
+ "repairSymbols": 8,
767
+ "symbolSize": 1096,
768
+ "interleaveDepthMs": 133,
769
+ "reorderToleranceMs": 40,
770
+ "repairTrack": "video/repair"
771
+ }
772
+ ]
773
+ },
774
+ {
775
+ "name": "video2",
776
+ "packaging": "mmtp",
777
+ "isLive": true,
778
+ "codec": "avc1.640028",
779
+ "mmtpMode": "mfu",
780
+ "timescale": 90000,
781
+ "groupDurationMs": 4000
782
+ },
783
+ {
784
+ "name": "video/datagram",
785
+ "packaging": "mmtp",
786
+ "isLive": true,
787
+ "codec": "avc1.640028",
788
+ "mmtpMode": "mfu-datagram",
789
+ "timescale": 90000,
790
+ "groupDurationMs": 4000,
791
+ "fec": [
792
+ {
793
+ "instanceId": 0,
794
+ "scheme": "raptorq",
795
+ "blockProfile": "iso-ssbg1-v1",
796
+ "sourceSymbols": 32,
797
+ "repairSymbols": 8,
798
+ "symbolSize": 1096,
799
+ "interleaveDepthMs": 133,
800
+ "reorderToleranceMs": 40,
801
+ "repairTrack": "video/datagram/repair"
802
+ }
803
+ ],
804
+ "deliveryMode": "datagram"
805
+ },
806
+ {
807
+ "name": "video/repair",
808
+ "packaging": "fec-repair",
809
+ "source": "video",
810
+ "instanceId": 0,
811
+ "repairLayer": 0,
812
+ "repairSymbols": 8,
813
+ "priority": 240
814
+ },
815
+ {
816
+ "name": "video/datagram/repair",
817
+ "packaging": "fec-repair",
818
+ "source": "video/datagram",
819
+ "instanceId": 0,
820
+ "repairLayer": 0,
821
+ "repairSymbols": 8,
822
+ "priority": 240,
823
+ "deliveryMode": "datagram"
824
+ }
825
+ ]
826
+ }
827
+ },
828
+ {
829
+ "name": "mfu-datagram repair track sent on streams",
830
+ "valid": true,
831
+ "track_issues": [
832
+ {
833
+ "code": "track_delivery_mode_conflict",
834
+ "path": "$.tracks[3].deliveryMode",
835
+ "name": "video/datagram"
836
+ }
837
+ ],
838
+ "catalog": {
839
+ "version": 1,
840
+ "tracks": [
841
+ {
842
+ "name": "video",
843
+ "packaging": "mmtp",
844
+ "isLive": true,
845
+ "codec": "avc1.640028",
846
+ "mmtpMode": "mfu",
847
+ "timescale": 90000,
848
+ "groupDurationMs": 4000,
849
+ "fec": [
850
+ {
851
+ "instanceId": 0,
852
+ "scheme": "raptorq",
853
+ "blockProfile": "iso-ssbg1-v1",
854
+ "sourceSymbols": 32,
855
+ "repairSymbols": 8,
856
+ "symbolSize": 1096,
857
+ "interleaveDepthMs": 133,
858
+ "reorderToleranceMs": 40,
859
+ "repairTrack": "video/repair"
860
+ }
861
+ ]
862
+ },
863
+ {
864
+ "name": "video/repair",
865
+ "packaging": "fec-repair",
866
+ "source": "video",
867
+ "instanceId": 0,
868
+ "repairLayer": 0,
869
+ "repairSymbols": 8,
870
+ "priority": 240
871
+ },
872
+ {
873
+ "name": "video/datagram",
874
+ "packaging": "mmtp",
875
+ "isLive": true,
876
+ "codec": "avc1.640028",
877
+ "mmtpMode": "mfu-datagram",
878
+ "timescale": 90000,
879
+ "groupDurationMs": 4000,
880
+ "fec": [
881
+ {
882
+ "instanceId": 0,
883
+ "scheme": "raptorq",
884
+ "blockProfile": "iso-ssbg1-v1",
885
+ "sourceSymbols": 32,
886
+ "repairSymbols": 8,
887
+ "symbolSize": 1096,
888
+ "interleaveDepthMs": 133,
889
+ "reorderToleranceMs": 40,
890
+ "repairTrack": "video/datagram/repair"
891
+ }
892
+ ],
893
+ "deliveryMode": "datagram"
894
+ },
895
+ {
896
+ "name": "video/datagram/repair",
897
+ "packaging": "fec-repair",
898
+ "source": "video/datagram",
899
+ "instanceId": 0,
900
+ "repairLayer": 0,
901
+ "repairSymbols": 8,
902
+ "priority": 240,
903
+ "deliveryMode": "stream"
904
+ }
905
+ ]
906
+ }
648
907
  }
649
908
  ]
650
909
  }