~/talk

The browser as a video rendering engine: Deep dive into time management

Talkat Demuxed 2021 · 2021-10-05..10-07· [react, frontend-architecture]
links:none on file
slides:none on file

Claims a deterministic time API with a single source of truth that derives all UI and side effects from two values (play-start timestamp and play offset), cutting inconsistent synced state and avoiding per-frame React rerenders by using useTimeSelector and useTimeEffect. Tests run faster than real time by mocking Date with MockDate and swapping requestAnimationFrame for setTimeout in Jest fake timers. Rendering shifts from real-time screen capture to frame-by-frame rendering in a headless browser, with video elements periodically reporting drift and plans to try the Web Timing API.

AI-written summary · about

  1. 0:00Start
  2. 15:16Sync issues
  3. 16:53Frame-by-frame rendering
  4. 17:58Animations
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.