Set it for a repository
Commit a.demoman/config.json:
30 or 60, and 30 when it is not set. It is read only from this
file, so every machine and CI record the repository at the same rate.
Any other value stops the run with a sentence naming the file; it is never
read as 30. A file Demoman cannot read at all (not JSON, say) records at 30,
and the run report says so, naming the file and why.
CI has to run this release or later. A workflow written by an older Demoman
pins an older release and ignores the key: it records at 30 without a word. To
update it, run npx demoman setup --ci again: it opens one pull request that
replaces the workflow, keeping its trigger and route.
The run report says what each video was recorded at, and where that came
from.
What it costs
Measured on a 12-second flow:
At 60 a flow records in 1.5 to 2 times as long, on about the same disk. You
pay that on every refresh of every flow, so on CI it is up to twice the
minutes.
Switching
A refresh after you switch records at the new rate, and counts a different rate as a change. Every flow recorded in the background (on a held clock) is replaced on its next refresh, each with the reason:recorded at 60 fps, the committed video at 30. Switching
back replaces them again. Phone, tablet and visible-window flows record in
real time, so they stay unchanged.
When a video is still 30
- Exports at 30. Sharing quality is 30 frames a second, and an export
kept under a size (
maxMB) may drop to 30. A video recorded at 60 exports correctly; the extra frames go unused. - A visible window, a phone or a tablet. These record in real time, at the screen’s own pace, whatever the setting. The run report says that 60 was set and not applied.