Files
Ignacy Łątka 706e32ce02 feat(screen-recording): draw touch gestures into the recording
Enable simulator-server's built-in touch visualizer for the duration of a
recording so taps, swipes, drags, pinches and rotates are drawn straight
into the video: a pulse for a tap, a fading comet trail for a swipe/drag,
and paired markers for a two-finger gesture. This makes a recording
self-explanatory — a viewer sees where each interaction landed instead of
watching the UI react to an invisible finger.

The overlay is rendered by simulator-server into the same MJPEG stream the
recording already consumes (nothing is composited host-side), driven by the
touch events argent already sends. `screen-recording-start` turns it on
right after the encoder goes live and restores it to off when the capture
ends (stop, time-limit cap, encoder crash, or session teardown), so the
visualizer never outlives the recording it was enabled for.

On by default; pass `showTouches: false` to capture the raw screen. Enabling
is best-effort — a build without the pointer feature just yields a warning
at stop and a normal, overlay-free video.
2026-07-23 01:08:17 +02:00
..