Interface

FirstContentTimeOptions

Options for finding the first matching content within optional timeline bounds.

Signature

Type Definition
Interface FirstContentTimeOptions

Type parameters

NameConstraintDefaultDescription
LayerNamestringstring
TrackKindNonestring

Properties

NameSignatureDescription
atOrAfter?atOrAfter?: RationalTimeInclusive lower bound for matching clip start times.
before?before?: RationalTimeExclusive upper bound for matching clip start times.
layerslayers: Record<LayerName, ActiveLayerSelector<TrackKind>>Named layer selectors, such as `{ visuals, audio, subtitles, effects }`.