@linker-design-plus/timeline-track 2.1.1 → 2.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,6 +9,7 @@ export interface TimelinePreviewSyncPayload {
9
9
  autoAspectRatioClip: ActiveClipPlaybackInfo | null;
10
10
  currentTime: TimeMs;
11
11
  playState: PlayState;
12
+ requestedPlayState?: PlayState;
12
13
  speed: number;
13
14
  interactionMode?: 'steady' | 'seek' | 'scrub';
14
15
  primarySelectedClipId?: string | null;
@@ -11,7 +11,10 @@ export interface ResolvedPlaybackPlan {
11
11
  nextClips: ActiveClipPlaybackInfo[];
12
12
  firstVideoClip: ActiveClipPlaybackInfo | null;
13
13
  }
14
+ export interface ResolvePlaybackPlanOptions {
15
+ includeEndedClipsAtTime?: boolean;
16
+ }
14
17
  export declare class TimelinePlaybackResolver {
15
18
  resolveActiveClipsAtTime(tracks: PlaybackTrackSnapshot[], time: TimeMs): ActiveClipPlaybackInfo[];
16
- resolvePlaybackPlan(tracks: PlaybackTrackSnapshot[], time: TimeMs): ResolvedPlaybackPlan;
19
+ resolvePlaybackPlan(tracks: PlaybackTrackSnapshot[], time: TimeMs, options?: ResolvePlaybackPlanOptions): ResolvedPlaybackPlan;
17
20
  }
@@ -35,6 +35,7 @@ export interface TimelinePreviewSyncPayload {
35
35
  autoAspectRatioClip: ActiveClipPlaybackInfo | null;
36
36
  currentTime: TimeMs;
37
37
  playState: PlayState;
38
+ requestedPlayState?: PlayState;
38
39
  speed: number;
39
40
  interactionMode?: 'steady' | 'seek' | 'scrub';
40
41
  primarySelectedClipId?: string | null;
@@ -146,6 +147,8 @@ export declare class TimelinePreviewSession {
146
147
  private resetSlotPlaybackProgressProbe;
147
148
  private updateSlotPlaybackProgressState;
148
149
  private maybeResumeRequestedPlayback;
150
+ private canRuntimeCheckRetryBufferedPlayback;
151
+ private shouldClearRecoveredBufferingSignal;
149
152
  private preparePreloadSlot;
150
153
  private setSlotVisible;
151
154
  private getAudioContext;
@@ -75,6 +75,8 @@ export declare class TimelineManager {
75
75
  private readonly diagnostics;
76
76
  private previewRuntimeState;
77
77
  private previewActiveClipIds;
78
+ private previewClockSeekAlignmentTargetTime;
79
+ private previewClockSeekAlignmentDeadlineMs;
78
80
  private playbackAttemptId;
79
81
  private lastPreviewSyncedPlayState;
80
82
  private lastPreviewSyncSignature;
@@ -156,6 +158,7 @@ export declare class TimelineManager {
156
158
  private getTracksSortedByOrder;
157
159
  private getPlaybackTracksSnapshot;
158
160
  private buildPlaybackPlan;
161
+ private buildPreviewPlaybackPlan;
159
162
  private playbackPlanHasActiveVideoClip;
160
163
  private hasActiveTimelineVideoClip;
161
164
  private getPreviewAutoAspectRatioClipOrderMap;
@@ -166,11 +169,13 @@ export declare class TimelineManager {
166
169
  private shouldSkipSteadyPlaybackPreviewSync;
167
170
  private syncPreviewSession;
168
171
  private resolvePreviewSyncPlayState;
172
+ private resolvePreviewRequestedPlayState;
169
173
  private syncPreviewPlaybackStateIfNeeded;
170
174
  private shouldUsePreviewClockPlayback;
171
175
  private handlePreviewClockStateChange;
172
176
  private isPreviewClockForCurrentActiveClip;
173
177
  private shouldCommitUnavailablePreviewClock;
178
+ private shouldIgnorePreviewClockUntilSeekTargetAligned;
174
179
  private commitPlaybackTimeFromPreviewClock;
175
180
  private syncPreviewAfterPreviewClockCommitIfNeeded;
176
181
  private resumeWallClockPlaybackIfPreviewClockUnavailable;