Interface

UseTimelineMediaPlaybackResult

Result returned by `useTimelineMediaPlayback`.

Signature

Type Definition
Interface UseTimelineMediaPlaybackResult

Properties

NameSignatureDescription
pause(): TimelineCommandResultStops timeline playback and synchronizes external media into a paused state.
play(): TimelineCommandResultStarts timeline playback using the configured external clock callbacks.
playbackRateplaybackRate: numberCurrent timeline playback speed multiplier.
playingplaying: booleanWhether the timeline engine is currently playing against the external clock.
setPlaybackRate(rate: number): TimelineCommandResultUpdates the timeline playback rate and resynchronizes active layers.