MediaTimeline
Defined in: timeline.ts:71
The retained entries of one broadcast’s media timeline, and the independent document they make.
Properties
Section titled “Properties”document
Section titled “document”readonly document: Uint8Array;Defined in: timeline.ts:75
The independent document of the retained entries; [] before the first.
entries
Section titled “entries”readonly entries: readonly MediaTimelineEntry[];Defined in: timeline.ts:73
The retained entries, oldest first.
Methods
Section titled “Methods”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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
input |
MediaTimelineEntryInput |
Returns
Section titled “Returns”Uint8Array