Interface

ActiveClip

Clip that is active at a timeline time, including its mapped source time.

Usage notes

`ActiveClip` is the bridge between timeline structure and source media. It keeps the original Clip, containing Track, inspected timeline time, source-media timestamp, source interval, and a `syncKey` that changes when timing-affecting clip data changes. Media adapters use this shape to seek a source file without duplicating timeline math.

Signature

Type Definition
Interface ActiveClip

Type parameters

NameConstraintDefaultDescription
TrackKindNonestringApp-defined track kind value carried by the containing track.

Properties

NameSignatureDescription
clipclip: ClipClip active under the playhead or inspected timeline time.
sourceRangesourceRange: ClipSourceRangeSource-media range covered by the active clip.
sourceTimesourceTime: RationalTimeSource-media time corresponding to `timelineTime`.
syncKeysyncKey: stringStable media sync signature for detecting timing-affecting clip changes.
timelineTimetimelineTime: RationalTimeTimeline time used for the lookup.
tracktrack: Track<TrackKind>Track containing the active clip.