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
Interface ActiveClipType parameters
| Name | Constraint | Default | Description |
|---|---|---|---|
TrackKind | None | string | App-defined track kind value carried by the containing track. |
Properties
| Name | Signature | Description |
|---|---|---|
clip | clip: Clip | Clip active under the playhead or inspected timeline time. |
sourceRange | sourceRange: ClipSourceRange | Source-media range covered by the active clip. |
sourceTime | sourceTime: RationalTime | Source-media time corresponding to `timelineTime`. |
syncKey | syncKey: string | Stable media sync signature for detecting timing-affecting clip changes. |
timelineTime | timelineTime: RationalTime | Timeline time used for the lookup. |
track | track: Track<TrackKind> | Track containing the active clip. |