Skip to content

MediaTimeline

Defined in: timeline.ts:71

The retained entries of one broadcast’s media timeline, and the independent document they make.

readonly document: Uint8Array;

Defined in: timeline.ts:75

The independent document of the retained entries; [] before the first.


readonly entries: readonly MediaTimelineEntry[];

Defined in: timeline.ts:73

The retained entries, oldest first.

add(input): Uint8Array;

Defined in: timeline.ts:80

Record one object, once per group of the indexed track for its first object, when that object was sent; return the document. A rejected argument throws and leaves the timeline unchanged.

Parameter Type
input MediaTimelineEntryInput

Uint8Array