Usage notes
`TimelineLayerSyncDetails` is emitted when playback starts, ticks, pauses,
crosses a content gap, or changes rate. Adapter code should use `reason` to
decide whether work can be skipped. For example, an audio adapter usually
reschedules on `"play"` and `"rate"`, but can ignore ordinary `"tick"` calls
while the same clip remains active.
Signature
Interface TimelineLayerSyncDetailsType parameters
| Name | Constraint | Default | Description |
|---|---|---|---|
LayerName | string | string | Named media layer keys from UseTimelineMediaPlaybackOptions.layers. |
Properties
| Name | Signature | Description |
|---|---|---|
activeLayers | activeLayers: ActiveLayerResult<LayerName> | Active clips grouped by the configured layer selectors. |
reason | reason: TimelineMediaSyncReason | Reason the external layer callback is being synchronized. |
timelineTime | timelineTime: RationalTime | Timeline time being synchronized. |