TimeDomainMode type

Time-aligned mode (members share the same clock) — sub-typed by the kind of timestamp the members agree on.

Signature:

export type TimeDomainMode = {
    type: "time_aligned";
    clockKind: "pts" | "dts" | "sei_source_time";
    seiTimeoutMs?: number;
    onSeiTimeout?: "fail" | "best_effort";
} | {
    type: "gop_aligned";
    walltimeThresholdMs?: number;
};