Skip to content

Hold playback while shot video buffers#36

Merged
AlexNly merged 1 commit into
mainfrom
fix/video-buffering
Jul 16, 2026
Merged

Hold playback while shot video buffers#36
AlexNly merged 1 commit into
mainfrom
fix/video-buffering

Conversation

@AlexNly

@AlexNly AlexNly commented Jul 16, 2026

Copy link
Copy Markdown
Owner

The chart clock ran on wall time regardless of video readiness: on phones the clip buffered (black screen), the chart ran ahead, then the video hard-seeked to catch up and trailed to the end.

  • preload=auto: clips are 2-5 MB, fetch fully up front so playback starts with a decoded first frame
  • tick() holds the chart clock while the playing video reports readyState < 3 or is seeking
  • videoFollow no longer applies drift correction before playback has actually started

@AlexNly
AlexNly merged commit 417e3a0 into main Jul 16, 2026
3 checks passed
@AlexNly
AlexNly deleted the fix/video-buffering branch July 16, 2026 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant