TamsPlayEnd type

Where a TAMS play range ends: anywhere a TamsPlayPosition can be, or a length measured from wherever the range starts. The latter composes with a relative start — from: { beforeEndMs: 30000 }, to: { durationMs: 10000 } is "ten seconds, starting thirty seconds behind live".

Signature:

export type TamsPlayEnd = TamsPlayPosition | {
    durationMs: number;
};

References: TamsPlayPosition