Interface

UseTimelineMediaPlaybackOptions

Options for coordinating timeline playback with an external media clock.

Signature

Type Definition
Interface UseTimelineMediaPlaybackOptions

Type parameters

NameConstraintDefaultDescription
LayerNamestringstringNo type parameter summary yet.

Properties

NameSignatureDescription
getClockTime(): numberReturns current timeline seconds from the external media clock.
layerslayers: Record<LayerName, ActiveLayerSelector>Named active layer selectors used by the external media surface.
onStatus?(status: TimelineContentPlaybackStatus): voidReceives high-level playback status changes.
stopClock?(): voidStops the external media clock when timeline playback pauses or leaves active content.
syncLayers?(details: TimelineLayerSyncDetails<LayerName>): MaybePromise<void>Synchronizes external rendering, audio, text, or effects for the active layers.