diff --git a/Development.md b/Development.md index d2770d2..adeb7dd 100644 --- a/Development.md +++ b/Development.md @@ -21,7 +21,7 @@ php tests/php/releases.test.php # the release stor php tests/php/files.test.php # uploaded files in a folder per account (#344), the same way php tests/php/videos.test.php # the video store, its queue and the worker (#402), with the # real ffmpeg: the CI image and feuerwerk-video have it -node tools/seed-e2e.mjs && node tools/e2e.mjs # 2086 editor checks, screenshots in /tmp/gm-e2e-*.png +node tools/seed-e2e.mjs && node tools/e2e.mjs # 2088 editor checks, screenshots in /tmp/gm-e2e-*.png GM_STEPS=20 node tools/e2e.mjs # or 1-12, or 6,20 — a subset while working on one step ./e2e.sh start [GM_STEPS] # the same run detached, see below ./e2e.sh status # live progress, or the last run's result diff --git a/Videos.md b/Videos.md index d62aa89..1ceba1c 100644 --- a/Videos.md +++ b/Videos.md @@ -207,7 +207,11 @@ Two action nodes record what the game view shows, with what the master plays (#4 **Real time** off had every frame. Chrome may still put a tab to sleep that stays behind others for long, with its energy saver for one. The beat is `src/viewport/backgroundBeat.ts`; the waits of a recording use a worker's timers too (`backgroundTimers.ts`), since Chrome holds a hidden - page's own to once a second. + page's own to once a second. Behind another tab Chrome hands over no video frames + (`requestVideoFrameCallback`), so a video that opens there takes its first picture as soon as + it has data instead of waiting for one. Before, a video item that began behind another tab was + missing from the recording, sound and all, until the tab was in front again, and every frame + of it waited 3 s. Switching back and forth while recording works too. - **It leaves out the wait for a video.** While the game view leaves a video sprite out because its picture is not there yet, no frame is taken, the recorded time stands and the sound of that time is left out too, for at most 3 s at a time. A `Start recording` right after