# Recording

`computer_control_record` records one app's window as video and gives back pictures
taken from a recording, spread evenly through it. Watching is reading: it needs no more
than the app being listed.

Recordings stay on the machine, in one folder of the helper's own that only the person
can open. They are kept for a day and within a size limit (2 GB unless
`PRAECISE_CONTROL_RECORDINGS_BYTES` says otherwise), the oldest removed first, and a
recording stops by itself at the length it was started with, at most ten minutes.

| | Recording |
|---|---|
| Linux | X11, through FFmpeg, which has to be installed. Sound from the machine with `audio: true`. Tried through the whole environment: start, a second start refused, stop, three pictures. Sound was not tried |
| macOS | ScreenCaptureKit, written by the system's own encoder; nothing to install. Sound from the app with `audio: true`. Tried against a window: start, a second start refused, stop, three pictures. Sound was not tried, and it was not tried through the environment |
| Windows | Pictures of the window taken the way one picture is, one after another, written as a Motion-JPEG video (`.avi`) with nothing but what is part of Windows. No sound. Tried through the whole environment; Windows itself reads the file as a video of the right length |
