@blockcast/mmt-container 0.4.0-main.bbd83cb48eff → 0.4.0-main.c7ae84be5039
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 +28 -14
- package/dist/align.d.ts +24 -18
- package/dist/align.d.ts.map +1 -1
- package/dist/align.js +23 -4
- package/dist/align.js.map +2 -2
- package/dist/browser-runtime.js +778 -272
- package/dist/browser-runtime.js.map +4 -4
- package/dist/carp-catalog.d.ts +58 -26
- package/dist/carp-catalog.d.ts.map +1 -1
- package/dist/carp-catalog.js +270 -194
- package/dist/carp-catalog.js.map +3 -3
- package/dist/catalog-fec-params.d.ts +1 -1
- package/dist/catalog-fec-params.d.ts.map +1 -1
- package/dist/catalog-fec-params.js +6 -13
- package/dist/catalog-fec-params.js.map +3 -3
- package/dist/catalog-network-source.d.ts +1 -1
- package/dist/catalog-network-source.d.ts.map +1 -1
- package/dist/catalog-network-source.js.map +1 -1
- package/dist/catalog-validator.d.ts +4 -3
- package/dist/catalog-validator.d.ts.map +1 -1
- package/dist/catalog-validator.js +0 -29
- package/dist/catalog-validator.js.map +3 -3
- package/dist/delivery-catalog.js +4 -12
- package/dist/delivery-catalog.js.map +4 -4
- package/dist/fec-manager.js.map +1 -1
- package/dist/fec-state.d.ts.map +1 -1
- package/dist/fec-state.js +14 -2
- package/dist/fec-state.js.map +3 -3
- package/dist/fec-worker-setup.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +2 -2
- package/dist/iso-block-locator.js.map +1 -1
- package/dist/manifest-auth-plan.d.ts +26 -25
- package/dist/manifest-auth-plan.d.ts.map +1 -1
- package/dist/manifest-auth-plan.js +315 -1163
- package/dist/manifest-auth-plan.js.map +4 -4
- package/dist/mfu-reassembler.js.map +2 -2
- package/dist/mmtp-container-parser.js.map +2 -2
- package/dist/mmtp-container-parser.no-modules.js +947 -278
- package/dist/mmtp-container-parser.no-modules.js.map +4 -4
- package/dist/mmtp-decode-pipeline.js.map +2 -2
- package/dist/mmtp-fec-session.d.ts +156 -0
- package/dist/mmtp-fec-session.d.ts.map +1 -0
- package/dist/mmtp-fec-session.js +522 -0
- package/dist/mmtp-fec-session.js.map +7 -0
- package/dist/mmtp-router.d.ts.map +1 -1
- package/dist/mmtp-router.js +17 -0
- package/dist/mmtp-router.js.map +2 -2
- package/dist/multicast-auth-catalog.d.ts +86 -92
- package/dist/multicast-auth-catalog.d.ts.map +1 -1
- package/dist/multicast-auth-catalog.js +331 -124
- package/dist/multicast-auth-catalog.js.map +3 -3
- package/dist/multicast-input.d.ts +26 -4
- package/dist/multicast-input.d.ts.map +1 -1
- package/dist/multicast-input.js +283 -23
- package/dist/multicast-input.js.map +3 -3
- package/dist/multicast-manager.d.ts +23 -4
- package/dist/multicast-manager.d.ts.map +1 -1
- package/dist/multicast-manager.js +59 -29
- package/dist/multicast-manager.js.map +4 -4
- package/dist/multicast-transport.js +2 -10
- package/dist/multicast-transport.js.map +4 -4
- package/dist/multicast-unwrap.js.map +2 -2
- package/dist/no-modules.d.ts +2 -0
- package/dist/no-modules.d.ts.map +1 -1
- package/dist/no-modules.js +899 -267
- package/dist/no-modules.js.map +4 -4
- package/dist/phase14-catalog-override.d.ts +1 -1
- package/dist/phase14-catalog-override.d.ts.map +1 -1
- package/dist/phase14-catalog-override.js +2 -2
- package/dist/phase14-catalog-override.js.map +2 -2
- package/dist/repair-fetch.d.ts +23 -1
- package/dist/repair-fetch.d.ts.map +1 -1
- package/dist/repair-fetch.js +35 -10
- package/dist/repair-fetch.js.map +2 -2
- package/dist/repair-layers.js.map +1 -1
- package/dist/signaling.d.ts +2 -2
- package/dist/signaling.d.ts.map +1 -1
- package/dist/signaling.js +3 -3
- package/dist/signaling.js.map +2 -2
- package/dist/source-auth.js +22 -6
- package/dist/source-auth.js.map +2 -2
- package/dist/switching-set-alignment.d.ts +1 -1
- package/dist/switching-set-alignment.js.map +1 -1
- package/dist/timestamp-codec.js.map +2 -2
- package/dist/wasm-mfu-reassembler.js.map +1 -1
- package/dist/wasm-mmtp-container-parser.js.map +2 -2
- package/package.json +5 -5
- package/schemas/catalog.schema.json +117 -34
- package/src/align.ts +52 -21
- package/src/carp-catalog.ts +120 -46
- package/src/catalog-fec-params.ts +5 -2
- package/src/catalog-network-source.ts +1 -1
- package/src/catalog-validator.ts +4 -11
- package/src/fec-state.ts +3 -2
- package/src/index.ts +18 -2
- package/src/manifest-auth-plan.ts +39 -91
- package/src/mmtp-fec-session.ts +514 -0
- package/src/mmtp-router.ts +25 -0
- package/src/multicast-auth-catalog.ts +131 -238
- package/src/multicast-input.ts +109 -54
- package/src/multicast-manager.ts +88 -14
- package/src/no-modules.ts +2 -0
- package/src/phase14-catalog-override.ts +3 -3
- package/src/repair-fetch.ts +79 -14
- package/src/signaling.ts +2 -2
- package/src/switching-set-alignment.ts +1 -1
- package/test-vectors/align.json +108 -32
- package/test-vectors/catalog/README.md +55 -3
- package/test-vectors/catalog/negative/fec-iso-symbol-size-below-floor.json +28 -0
- package/test-vectors/catalog/negative/fec-reed-solomon-iso-symbol-size-13.json +28 -0
- package/test-vectors/catalog/negative/fec-repair-overlay-source-symbols-zero.json +43 -0
- package/test-vectors/catalog/negative/fec-repair-symbols-zero.json +28 -0
- package/test-vectors/catalog/negative/fec-source-symbols-zero.json +28 -0
- package/test-vectors/catalog/negative/fec-symbol-size-zero.json +28 -0
- package/test-vectors/catalog/negative/init-data-inline-without-data.json +22 -0
- package/test-vectors/catalog/negative/mmtp-mode-mpu.json +15 -0
- package/test-vectors/catalog/negative/multicast-amt-dns-without-relay.json +37 -0
- package/test-vectors/catalog/negative/multicast-auth-asm-missing-sender-address.json +77 -0
- package/test-vectors/catalog/negative/multicast-auth-duplicate-first-epoch.json +56 -0
- package/test-vectors/catalog/negative/multicast-auth-duplicate-kid.json +56 -0
- package/test-vectors/catalog/negative/multicast-auth-endpoint-auth-without-object-auth.json +38 -0
- package/test-vectors/catalog/negative/multicast-auth-endpoint-missing-auth.json +49 -0
- package/test-vectors/catalog/negative/multicast-auth-endpoint-missing-bandwidth.json +55 -0
- package/test-vectors/catalog/negative/multicast-auth-manifest-port-equals-port.json +56 -0
- package/test-vectors/catalog/negative/multicast-auth-manifest-timer-out-of-range.json +56 -0
- package/test-vectors/catalog/negative/multicast-auth-max-auth-delay-out-of-range.json +56 -0
- package/test-vectors/catalog/negative/multicast-auth-root-dotted-key.json +55 -0
- package/test-vectors/catalog/negative/multicast-auth-sender-address-on-ssm.json +57 -0
- package/test-vectors/catalog/negative/multicast-auth-version-1.json +56 -0
- package/test-vectors/catalog/negative/multicast-auth-version-3.json +56 -0
- package/test-vectors/catalog/negative/multicast-auth-version-missing.json +55 -0
- package/test-vectors/catalog/negative/multicast-endpoint-foreign-namespace-track.json +44 -0
- package/test-vectors/catalog/negative/multicast-endpoint-protocol-amt.json +38 -0
- package/test-vectors/catalog/negative/multicast-endpoint-protocol-atsc3.json +38 -0
- package/test-vectors/catalog/negative/presentation-anchor-unsafe.json +16 -0
- package/test-vectors/catalog/positive/mmt01-12-1-init-ref-anchor.json +29 -0
- package/test-vectors/catalog/positive/multicast-amt-discovery-omitted.json +37 -0
- package/test-vectors/catalog/positive/multicast-amt-dns-relay.json +38 -0
- package/test-vectors/catalog/positive/multicast-amt-manual-relay.json +2 -2
- package/test-vectors/catalog/{negative/multicast-endpoint-missing-protocol-and-source.json → positive/multicast-asm-unprotected.json} +10 -5
- package/test-vectors/catalog/positive/multicast-auth-asm-sender.json +78 -0
- package/test-vectors/catalog/positive/multicast-auth-rotation.json +39 -38
- package/test-vectors/catalog/positive/multicast-draft01-4-1-example.json +81 -0
- package/test-vectors/catalog/positive/multicast-draft01-7-2-6-example.json +70 -0
- package/test-vectors/catalog/positive/presentation-anchor-negative.json +27 -0
- package/test-vectors/catalog/section-codes.json +27 -1
- package/test-vectors/catalog-multicast-auth-v1.json +38 -20
- package/test-vectors/catalog-validation.json +3 -2
- package/test-vectors/catalog-validator-public-api.mjs +14 -9
package/src/repair-fetch.ts
CHANGED
|
@@ -346,6 +346,30 @@ export type RepairSkipReason =
|
|
|
346
346
|
/** The player gave no usable presentation delay for the block's stream. */
|
|
347
347
|
| 'presentation-delay-unavailable'
|
|
348
348
|
|
|
349
|
+
/**
|
|
350
|
+
* Which term set a FETCH's deadline (BLO-33597): the multicast wait, the
|
|
351
|
+
* player's presentation delay past the block anchor, the keyframe budget past
|
|
352
|
+
* the anchor (when it granted more than the presentation delay), or the
|
|
353
|
+
* release gate's retention ceiling.
|
|
354
|
+
*/
|
|
355
|
+
export type RepairDeadlineBound = 'wait' | 'presentation' | 'keyframe' | 'retention'
|
|
356
|
+
|
|
357
|
+
/** The admission inputs of a FETCH the scheduler sent (BLO-33597). */
|
|
358
|
+
export interface RepairSendMeasurement {
|
|
359
|
+
/** The reliable-path RTT admission compared against `budgetMs`. */
|
|
360
|
+
readonly rttMs: number
|
|
361
|
+
/** Time left to the entry's deadline when the FETCH was sent. */
|
|
362
|
+
readonly budgetMs: number
|
|
363
|
+
/**
|
|
364
|
+
* Delay past the block anchor the deadline was computed from; null when
|
|
365
|
+
* the block had no anchor (its deadline is then the multicast wait).
|
|
366
|
+
*/
|
|
367
|
+
readonly delayMs: number | null
|
|
368
|
+
/** Time since the block anchor; null when the block had no anchor. */
|
|
369
|
+
readonly blockAgeMs: number | null
|
|
370
|
+
readonly bound: RepairDeadlineBound
|
|
371
|
+
}
|
|
372
|
+
|
|
349
373
|
/** The subset of MulticastManager the scheduler drives. */
|
|
350
374
|
export interface RepairFetchHost {
|
|
351
375
|
readonly fecManager: {
|
|
@@ -433,7 +457,8 @@ export interface RepairFetchHost {
|
|
|
433
457
|
priority: RepairPriority,
|
|
434
458
|
sbn: number,
|
|
435
459
|
packetId: number,
|
|
436
|
-
catalogTrackName
|
|
460
|
+
catalogTrackName: string | undefined,
|
|
461
|
+
measurement: RepairSendMeasurement,
|
|
437
462
|
): void
|
|
438
463
|
}
|
|
439
464
|
|
|
@@ -462,12 +487,24 @@ interface RepairEntry {
|
|
|
462
487
|
* later: a block reclassified from delta can gain the keyframe budget.
|
|
463
488
|
*/
|
|
464
489
|
deadlineAt: number
|
|
490
|
+
/** Inputs `deadlineAt` was computed from; they move with it. */
|
|
491
|
+
anchorAt: number | null
|
|
492
|
+
delayMs: number | null
|
|
493
|
+
bound: RepairDeadlineBound
|
|
465
494
|
/** Monotonic enqueue order, the EDF tie-break. */
|
|
466
495
|
readonly order: number
|
|
467
496
|
attempts: number
|
|
468
497
|
running: FetchRun | null
|
|
469
498
|
}
|
|
470
499
|
|
|
500
|
+
interface ResolvedDeadline {
|
|
501
|
+
readonly deadlineAt: number
|
|
502
|
+
readonly extensionMs: number
|
|
503
|
+
readonly anchorAt: number | null
|
|
504
|
+
readonly delayMs: number | null
|
|
505
|
+
readonly bound: RepairDeadlineBound
|
|
506
|
+
}
|
|
507
|
+
|
|
471
508
|
/**
|
|
472
509
|
* Wire the D-28 repair-fetch scheduler onto a MulticastManager.
|
|
473
510
|
*
|
|
@@ -548,12 +585,12 @@ export function wireRepairFetch(mc: RepairFetchHost, opts: WireRepairFetchOption
|
|
|
548
585
|
/**
|
|
549
586
|
* RTT admission: send only a FETCH the measured round trip says can land
|
|
550
587
|
* before the entry's deadline. A refused entry is released, not queued: the
|
|
551
|
-
* deadline only gets closer.
|
|
588
|
+
* deadline only gets closer. Returns the admitting RTT, or null when refused.
|
|
552
589
|
*/
|
|
553
|
-
const admit = (entry: RepairEntry, now: number):
|
|
590
|
+
const admit = (entry: RepairEntry, now: number): number | null => {
|
|
554
591
|
const budgetMs = entry.deadlineAt - now
|
|
555
592
|
const rttMs = readRtt()
|
|
556
|
-
if (rttMs !== null && rttMs < budgetMs) return
|
|
593
|
+
if (rttMs !== null && rttMs < budgetMs) return rttMs
|
|
557
594
|
retire(entry)
|
|
558
595
|
releaseHold(entry)
|
|
559
596
|
clearRepair(entry.sbn, entry.packetId, entry.catalogTrackName)
|
|
@@ -564,7 +601,7 @@ export function wireRepairFetch(mc: RepairFetchHost, opts: WireRepairFetchOption
|
|
|
564
601
|
entry.packetId,
|
|
565
602
|
entry.catalogTrackName,
|
|
566
603
|
)
|
|
567
|
-
return
|
|
604
|
+
return null
|
|
568
605
|
}
|
|
569
606
|
|
|
570
607
|
const retire = (entry: RepairEntry): void => {
|
|
@@ -609,9 +646,17 @@ export function wireRepairFetch(mc: RepairFetchHost, opts: WireRepairFetchOption
|
|
|
609
646
|
|
|
610
647
|
/** `counted` is false for a reprioritisation restart, which is no retry. */
|
|
611
648
|
const start = (entry: RepairEntry, counted = true): void => {
|
|
612
|
-
|
|
649
|
+
const now = performance.now()
|
|
650
|
+
const rttMs = admit(entry, now)
|
|
651
|
+
if (rttMs === null) return
|
|
613
652
|
if (counted) entry.attempts++
|
|
614
|
-
mc.noteRepairFetchSent?.(entry.priority, entry.sbn, entry.packetId, entry.catalogTrackName
|
|
653
|
+
mc.noteRepairFetchSent?.(entry.priority, entry.sbn, entry.packetId, entry.catalogTrackName, {
|
|
654
|
+
rttMs,
|
|
655
|
+
budgetMs: entry.deadlineAt - now,
|
|
656
|
+
delayMs: entry.delayMs,
|
|
657
|
+
blockAgeMs: entry.anchorAt === null ? null : Math.max(0, now - entry.anchorAt),
|
|
658
|
+
bound: entry.bound,
|
|
659
|
+
})
|
|
615
660
|
const run: FetchRun = { controller: new AbortController(), stopped: null }
|
|
616
661
|
entry.running = run
|
|
617
662
|
// Hold the block open to the presentation deadline while this FETCH can
|
|
@@ -816,6 +861,9 @@ export function wireRepairFetch(mc: RepairFetchHost, opts: WireRepairFetchOption
|
|
|
816
861
|
)
|
|
817
862
|
if (promotedDeadline !== null && promotedDeadline.deadlineAt > entry.deadlineAt) {
|
|
818
863
|
entry.deadlineAt = promotedDeadline.deadlineAt
|
|
864
|
+
entry.anchorAt = promotedDeadline.anchorAt
|
|
865
|
+
entry.delayMs = promotedDeadline.delayMs
|
|
866
|
+
entry.bound = promotedDeadline.bound
|
|
819
867
|
noteBudget(entry, promotedDeadline.extensionMs)
|
|
820
868
|
}
|
|
821
869
|
if (entry.running) {
|
|
@@ -859,14 +907,16 @@ export function wireRepairFetch(mc: RepairFetchHost, opts: WireRepairFetchOption
|
|
|
859
907
|
catalogTrackName: string | undefined,
|
|
860
908
|
now: number,
|
|
861
909
|
blockClass: BlockClass,
|
|
862
|
-
):
|
|
910
|
+
): ResolvedDeadline | null => {
|
|
863
911
|
// Undefined: the packetId is no longer configured (released), so it has
|
|
864
912
|
// no repair budget.
|
|
865
913
|
const waitMs = mc.fecManager.repairFetchTimeoutMsForBlock(sbn, packetId, catalogTrackName)
|
|
866
914
|
if (waitMs === undefined) return null
|
|
867
915
|
const waitDeadlineAt = now + waitMs
|
|
868
916
|
const anchor = mc.fecManager.blockAnchorAtMs(sbn, packetId, catalogTrackName)
|
|
869
|
-
if (anchor === undefined)
|
|
917
|
+
if (anchor === undefined) {
|
|
918
|
+
return { deadlineAt: waitDeadlineAt, extensionMs: 0, anchorAt: null, delayMs: null, bound: 'wait' }
|
|
919
|
+
}
|
|
870
920
|
let delayMs: number
|
|
871
921
|
try {
|
|
872
922
|
delayMs = opts.presentationDelayMs(packetId, catalogTrackName)
|
|
@@ -877,16 +927,28 @@ export function wireRepairFetch(mc: RepairFetchHost, opts: WireRepairFetchOption
|
|
|
877
927
|
const retentionMs = mc.fecManager.terminalRetentionMsForPacket(packetId)
|
|
878
928
|
if (retentionMs === undefined) return null
|
|
879
929
|
const ceilingAt = Math.min(anchor, earliestGatedFrameAt(packetId, catalogTrackName) ?? anchor) + retentionMs
|
|
880
|
-
const
|
|
881
|
-
|
|
930
|
+
const at = (
|
|
931
|
+
delay: number,
|
|
932
|
+
delayBound: 'presentation' | 'keyframe',
|
|
933
|
+
): { readonly deadlineAt: number; readonly bound: RepairDeadlineBound } => {
|
|
934
|
+
const presentAt = Math.min(anchor + delay, ceilingAt)
|
|
935
|
+
if (waitDeadlineAt >= presentAt) return { deadlineAt: waitDeadlineAt, bound: 'wait' }
|
|
936
|
+
return { deadlineAt: presentAt, bound: anchor + delay <= ceilingAt ? delayBound : 'retention' }
|
|
937
|
+
}
|
|
938
|
+
const base = at(delayMs, 'presentation')
|
|
882
939
|
const budgetMs =
|
|
883
940
|
keyframeBudgetEligible(blockClass, classifierMode(packetId, catalogTrackName)) &&
|
|
884
941
|
groupCanComplete(sbn, packetId, catalogTrackName)
|
|
885
942
|
? readKeyframeBudget(packetId, catalogTrackName)
|
|
886
943
|
: null
|
|
887
|
-
if (budgetMs === null || budgetMs <= delayMs) return {
|
|
888
|
-
const extended =
|
|
889
|
-
return {
|
|
944
|
+
if (budgetMs === null || budgetMs <= delayMs) return { ...base, extensionMs: 0, anchorAt: anchor, delayMs }
|
|
945
|
+
const extended = at(budgetMs, 'keyframe')
|
|
946
|
+
return {
|
|
947
|
+
...extended,
|
|
948
|
+
extensionMs: extended.deadlineAt - base.deadlineAt,
|
|
949
|
+
anchorAt: anchor,
|
|
950
|
+
delayMs: budgetMs,
|
|
951
|
+
}
|
|
890
952
|
}
|
|
891
953
|
|
|
892
954
|
const earliestGatedFrameAt = (packetId: number, catalogTrackName: string | undefined): number | undefined => {
|
|
@@ -978,6 +1040,9 @@ export function wireRepairFetch(mc: RepairFetchHost, opts: WireRepairFetchOption
|
|
|
978
1040
|
priority,
|
|
979
1041
|
subscriberPriority: wire.subscriberPriority,
|
|
980
1042
|
deadlineAt: deadline.deadlineAt,
|
|
1043
|
+
anchorAt: deadline.anchorAt,
|
|
1044
|
+
delayMs: deadline.delayMs,
|
|
1045
|
+
bound: deadline.bound,
|
|
981
1046
|
order: enqueueOrder++,
|
|
982
1047
|
attempts: 0,
|
|
983
1048
|
running: null,
|
package/src/signaling.ts
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
import {
|
|
13
13
|
ALFEC_MESSAGE_ID,
|
|
14
14
|
FEC_CODE_RAPTORQ,
|
|
15
|
-
|
|
15
|
+
FEC_CODE_REED_SOLOMON,
|
|
16
16
|
PACKET_TYPE_MPU,
|
|
17
17
|
PACKET_TYPE_REPAIR,
|
|
18
18
|
PACKET_TYPE_SIGNALING,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
export {
|
|
23
23
|
ALFEC_MESSAGE_ID,
|
|
24
24
|
FEC_CODE_RAPTORQ,
|
|
25
|
-
|
|
25
|
+
FEC_CODE_REED_SOLOMON,
|
|
26
26
|
PACKET_TYPE_MPU,
|
|
27
27
|
PACKET_TYPE_REPAIR,
|
|
28
28
|
PACKET_TYPE_SIGNALING,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Phase 14 D-15: log-only on drift (does NOT reject stream, does NOT throw).
|
|
6
6
|
* Phase 14 D-16: tolerance = Math.floor(1_000_000 / framerate / 2) microseconds.
|
|
7
7
|
* Hardcoded tolerance is FORBIDDEN — derives from framerate only.
|
|
8
|
-
* Phase 14 D-17:
|
|
8
|
+
* Phase 14 D-17: tracks with equal altGroup form one switching set; repair legs are in none.
|
|
9
9
|
* Phase 14 T-14-03 mitigation: at most ONE misalignment emit per groupId pair.
|
|
10
10
|
*/
|
|
11
11
|
|
package/test-vectors/align.json
CHANGED
|
@@ -2,113 +2,189 @@
|
|
|
2
2
|
"$comment": [
|
|
3
3
|
"Cross-language test vectors for group alignment and MMTP subgroup keys.",
|
|
4
4
|
"",
|
|
5
|
-
"Every sibling implementation (
|
|
6
|
-
"Rust
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
5
|
+
"Every sibling implementation (TS packages/container/src/align.ts,",
|
|
6
|
+
"Rust mmt-core/src/align.rs, and their downstream consumers) loads this",
|
|
7
|
+
"file and asserts its own groupId/driftCheck output matches. Any formula",
|
|
8
|
+
"change in any language that drifts from this fixture must fail CI.",
|
|
9
|
+
"",
|
|
10
|
+
"Version 2 (draft-ramadan-moq-mmt-01 Section 4.4.1): every group_id",
|
|
11
|
+
"vector carries presentation_anchor_ticks and the formula is",
|
|
12
|
+
"floor((ticks - presentation_anchor_ticks) / group_duration_ticks).",
|
|
13
|
+
"There is no clamp; group_id_reject lists inputs with ticks earlier",
|
|
14
|
+
"than the anchor, which every implementation MUST refuse.",
|
|
10
15
|
"",
|
|
11
16
|
"When adding a vector, prefer values that exercise a boundary (exact",
|
|
12
17
|
"tick, 1-off, negative, large-int near 2^53, prime divisor) rather",
|
|
13
18
|
"than arbitrary numbers."
|
|
14
19
|
],
|
|
15
|
-
"version":
|
|
20
|
+
"version": 2,
|
|
16
21
|
"group_id": [
|
|
17
22
|
{
|
|
18
23
|
"name": "t=0 → 0",
|
|
19
24
|
"ticks": 0,
|
|
20
25
|
"group_duration_ticks": 360000,
|
|
21
|
-
"expected_group_id": 0
|
|
26
|
+
"expected_group_id": 0,
|
|
27
|
+
"presentation_anchor_ticks": 0
|
|
22
28
|
},
|
|
23
29
|
{
|
|
24
30
|
"name": "90kHz, dur=4s: 3.9s before boundary → 0",
|
|
25
31
|
"ticks": 351000,
|
|
26
32
|
"group_duration_ticks": 360000,
|
|
27
|
-
"expected_group_id": 0
|
|
33
|
+
"expected_group_id": 0,
|
|
34
|
+
"presentation_anchor_ticks": 0
|
|
28
35
|
},
|
|
29
36
|
{
|
|
30
37
|
"name": "90kHz, dur=4s: exact boundary at 4s → 1",
|
|
31
38
|
"ticks": 360000,
|
|
32
39
|
"group_duration_ticks": 360000,
|
|
33
|
-
"expected_group_id": 1
|
|
40
|
+
"expected_group_id": 1,
|
|
41
|
+
"presentation_anchor_ticks": 0
|
|
34
42
|
},
|
|
35
43
|
{
|
|
36
44
|
"name": "90kHz, dur=4s: 4s + 1 tick → 1",
|
|
37
45
|
"ticks": 360001,
|
|
38
46
|
"group_duration_ticks": 360000,
|
|
39
|
-
"expected_group_id": 1
|
|
47
|
+
"expected_group_id": 1,
|
|
48
|
+
"presentation_anchor_ticks": 0
|
|
40
49
|
},
|
|
41
50
|
{
|
|
42
51
|
"name": "90kHz, dur=4s: second boundary at 8s → 2",
|
|
43
52
|
"ticks": 720000,
|
|
44
53
|
"group_duration_ticks": 360000,
|
|
45
|
-
"expected_group_id": 2
|
|
54
|
+
"expected_group_id": 2,
|
|
55
|
+
"presentation_anchor_ticks": 0
|
|
46
56
|
},
|
|
47
57
|
{
|
|
48
58
|
"name": "48kHz audio, dur=4s: aligned at 192000 ticks → 1",
|
|
49
59
|
"ticks": 192000,
|
|
50
60
|
"group_duration_ticks": 192000,
|
|
51
|
-
"expected_group_id": 1
|
|
52
|
-
|
|
53
|
-
{
|
|
54
|
-
"name": "negative clamps to 0 (base-clamp)",
|
|
55
|
-
"ticks": -1,
|
|
56
|
-
"group_duration_ticks": 360000,
|
|
57
|
-
"expected_group_id": 0
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"name": "large negative clamps to 0 (epoch skew)",
|
|
61
|
-
"ticks": -9000000,
|
|
62
|
-
"group_duration_ticks": 360000,
|
|
63
|
-
"expected_group_id": 0
|
|
61
|
+
"expected_group_id": 1,
|
|
62
|
+
"presentation_anchor_ticks": 0
|
|
64
63
|
},
|
|
65
64
|
{
|
|
66
65
|
"name": "1kHz, dur=2s: 10s → 5",
|
|
67
66
|
"ticks": 10000,
|
|
68
67
|
"group_duration_ticks": 2000,
|
|
69
|
-
"expected_group_id": 5
|
|
68
|
+
"expected_group_id": 5,
|
|
69
|
+
"presentation_anchor_ticks": 0
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
72
|
"name": "1kHz, dur=2s: 10s + 1 tick → 5 (still in bucket 5)",
|
|
73
73
|
"ticks": 10001,
|
|
74
74
|
"group_duration_ticks": 2000,
|
|
75
|
-
"expected_group_id": 5
|
|
75
|
+
"expected_group_id": 5,
|
|
76
|
+
"presentation_anchor_ticks": 0
|
|
76
77
|
},
|
|
77
78
|
{
|
|
78
79
|
"name": "1kHz, dur=2s: 12s → 6",
|
|
79
80
|
"ticks": 12000,
|
|
80
81
|
"group_duration_ticks": 2000,
|
|
81
|
-
"expected_group_id": 6
|
|
82
|
+
"expected_group_id": 6,
|
|
83
|
+
"presentation_anchor_ticks": 0
|
|
82
84
|
},
|
|
83
85
|
{
|
|
84
86
|
"name": "prime divisor (dur=7): ticks=13 → 1",
|
|
85
87
|
"ticks": 13,
|
|
86
88
|
"group_duration_ticks": 7,
|
|
87
|
-
"expected_group_id": 1
|
|
89
|
+
"expected_group_id": 1,
|
|
90
|
+
"presentation_anchor_ticks": 0
|
|
88
91
|
},
|
|
89
92
|
{
|
|
90
93
|
"name": "prime divisor (dur=7): ticks=14 → 2 (exact boundary)",
|
|
91
94
|
"ticks": 14,
|
|
92
95
|
"group_duration_ticks": 7,
|
|
93
|
-
"expected_group_id": 2
|
|
96
|
+
"expected_group_id": 2,
|
|
97
|
+
"presentation_anchor_ticks": 0
|
|
94
98
|
},
|
|
95
99
|
{
|
|
96
100
|
"name": "prime divisor (dur=7): ticks=15 → 2",
|
|
97
101
|
"ticks": 15,
|
|
98
102
|
"group_duration_ticks": 7,
|
|
99
|
-
"expected_group_id": 2
|
|
103
|
+
"expected_group_id": 2,
|
|
104
|
+
"presentation_anchor_ticks": 0
|
|
100
105
|
},
|
|
101
106
|
{
|
|
102
107
|
"name": "large-int (24h @ 90kHz): 7_776_000_000 ticks, dur=4s → 21600",
|
|
103
108
|
"ticks": 7776000000,
|
|
104
109
|
"group_duration_ticks": 360000,
|
|
105
|
-
"expected_group_id": 21600
|
|
110
|
+
"expected_group_id": 21600,
|
|
111
|
+
"presentation_anchor_ticks": 0
|
|
106
112
|
},
|
|
107
113
|
{
|
|
108
114
|
"name": "near MAX_SAFE_INTEGER (TS=2^52, dur=2): ticks=2^52 → 2^51",
|
|
109
115
|
"ticks": 4503599627370496,
|
|
110
116
|
"group_duration_ticks": 2,
|
|
111
|
-
"expected_group_id": 2251799813685248
|
|
117
|
+
"expected_group_id": 2251799813685248,
|
|
118
|
+
"presentation_anchor_ticks": 0
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"name": "mmt-01 4.4.1 worked example A: 90kHz, 10.5s → 5",
|
|
122
|
+
"ticks": 945000,
|
|
123
|
+
"group_duration_ticks": 180000,
|
|
124
|
+
"presentation_anchor_ticks": 0,
|
|
125
|
+
"expected_group_id": 5
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"name": "mmt-01 4.4.1 worked example B: 44.1kHz, 10.5s → 5",
|
|
129
|
+
"ticks": 463050,
|
|
130
|
+
"group_duration_ticks": 88200,
|
|
131
|
+
"presentation_anchor_ticks": 0,
|
|
132
|
+
"expected_group_id": 5
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"name": "mmt-01 4.4.1 negative anchor: MPU 0 ticks=-90000 → 0",
|
|
136
|
+
"ticks": -90000,
|
|
137
|
+
"group_duration_ticks": 180000,
|
|
138
|
+
"presentation_anchor_ticks": -180000,
|
|
139
|
+
"expected_group_id": 0
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"name": "mmt-01 4.4.1 negative anchor: MPU 1 ticks=90000 → 1",
|
|
143
|
+
"ticks": 90000,
|
|
144
|
+
"group_duration_ticks": 180000,
|
|
145
|
+
"presentation_anchor_ticks": -180000,
|
|
146
|
+
"expected_group_id": 1
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"name": "ticks equal to anchor → 0",
|
|
150
|
+
"ticks": -180000,
|
|
151
|
+
"group_duration_ticks": 180000,
|
|
152
|
+
"presentation_anchor_ticks": -180000,
|
|
153
|
+
"expected_group_id": 0
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"name": "positive anchor shifts the origin: ticks=360000, anchor=90000 → 1",
|
|
157
|
+
"ticks": 360000,
|
|
158
|
+
"group_duration_ticks": 180000,
|
|
159
|
+
"presentation_anchor_ticks": 90000,
|
|
160
|
+
"expected_group_id": 1
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"name": "positive anchor: one tick before the shifted boundary → 0",
|
|
164
|
+
"ticks": 269999,
|
|
165
|
+
"group_duration_ticks": 180000,
|
|
166
|
+
"presentation_anchor_ticks": 90000,
|
|
167
|
+
"expected_group_id": 0
|
|
168
|
+
}
|
|
169
|
+
],
|
|
170
|
+
"group_id_reject": [
|
|
171
|
+
{
|
|
172
|
+
"name": "reject: ticks=-1 before anchor 0 (no clamp)",
|
|
173
|
+
"ticks": -1,
|
|
174
|
+
"group_duration_ticks": 360000,
|
|
175
|
+
"presentation_anchor_ticks": 0
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"name": "reject: mmt-01 4.4.1 negative PTS with anchor 0",
|
|
179
|
+
"ticks": -90000,
|
|
180
|
+
"group_duration_ticks": 180000,
|
|
181
|
+
"presentation_anchor_ticks": 0
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"name": "reject: one tick before a positive anchor",
|
|
185
|
+
"ticks": 89999,
|
|
186
|
+
"group_duration_ticks": 180000,
|
|
187
|
+
"presentation_anchor_ticks": 90000
|
|
112
188
|
}
|
|
113
189
|
],
|
|
114
190
|
"drift": [
|
|
@@ -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
|
|
25
|
-
`networkSource[{type:"amt",relay}]
|
|
26
|
-
and rejected (`multicast_relay_address`),
|
|
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,14 @@ 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.
|
|
39
61
|
- `fec-block-profile-missing.json`: an FEC instance must name its block
|
|
40
62
|
profile; there is no default (`track_fec_block_profile`).
|
|
41
63
|
- `fec-block-profile-unknown.json`: `fec.blockProfile` is `"iso-ssbg1-v1"`; a
|
|
@@ -106,6 +128,19 @@ sit beside a GOP member whose group duration is a whole number of its groups,
|
|
|
106
128
|
because every GOP boundary is then also one of its boundaries. GOP members still
|
|
107
129
|
compare for exact equality (BLO-49202).
|
|
108
130
|
|
|
131
|
+
The draft -01 multicast positives: `multicast-draft01-4-1-example.json` and
|
|
132
|
+
`multicast-draft01-7-2-6-example.json` carry the draft's own 4.1 and 7.2.6
|
|
133
|
+
examples verbatim (the 7.2.6 `publicKey` placeholder replaced by a real
|
|
134
|
+
32-octet key, and catalog tracks added for the names they list);
|
|
135
|
+
`multicast-auth-rotation.json` is a protected SSM flow under two keys rotating at
|
|
136
|
+
epoch 17; `multicast-auth-asm-sender.json` is two protected ASM senders sharing
|
|
137
|
+
`G` and both ports, separated by `S` (`auth.senderAddress`);
|
|
138
|
+
`multicast-asm-unprotected.json` is a bare ASM endpoint (no `protocol`, no
|
|
139
|
+
`sourceAddress`), which draft -00 rejected (the former
|
|
140
|
+
`negative/multicast-endpoint-missing-protocol-and-source.json`); and
|
|
141
|
+
`multicast-amt-manual-relay.json` is an SSM endpoint reached over a manual AMT
|
|
142
|
+
relay, AMT being its `networkSource`, never its protocol.
|
|
143
|
+
|
|
109
144
|
`multicast-native-ssm-no-network-source.json` is the native-SSM shape: an
|
|
110
145
|
endpoint's `(protocol, sourceAddress, groupAddress, port)` is complete join
|
|
111
146
|
information, so a publisher reachable by native multicast has no alternate
|
|
@@ -134,3 +169,20 @@ expected to **fail** validation: its two repair tracks declare the retired
|
|
|
134
169
|
FEC sources predate the required `fec.blockProfile`. The condensed
|
|
135
170
|
FEC repair format itself is unaffected — a catalog declares it as
|
|
136
171
|
`packaging: "fec-repair"` plus `fec.repairContainer`.
|
|
172
|
+
|
|
173
|
+
Draft -01 track and root fields (BLO-15076, Blockcast/moqcast-draft@fd962fd):
|
|
174
|
+
|
|
175
|
+
- `mmt01-12-1-init-ref-anchor.json`: the mmt-01 12.1 example (root `initDataList`
|
|
176
|
+
+ track `initRef`, `presentationAnchorTicks`). Its root `version` stays `1`:
|
|
177
|
+
the draft's `"draft-01"` string is not yet accepted by either validator.
|
|
178
|
+
- `presentation-anchor-negative.json`: the mmt-01 4.4.1 negative anchor, on a
|
|
179
|
+
synchronized audio/video pair.
|
|
180
|
+
- `multicast-amt-dns-relay.json`, `multicast-amt-discovery-omitted.json`:
|
|
181
|
+
multicast-01 4.2.1 `discovery: "dns"`, and an omitted `discovery` with a
|
|
182
|
+
hostname relay (read as `"dns"`).
|
|
183
|
+
- `mmtp-mode-mpu.json`: mmt-01 12.1, `mmtpMode` MUST be `"mfu"`.
|
|
184
|
+
- `presentation-anchor-unsafe.json`: the anchor is a safe (signed) integer.
|
|
185
|
+
- `init-data-inline-without-data.json`: an `"inline"` `initDataList` entry
|
|
186
|
+
carries `data`.
|
|
187
|
+
- `multicast-amt-dns-without-relay.json`: `"dns"` (like `"manual"`) names its
|
|
188
|
+
relay.
|
|
@@ -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,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
|
+
}
|