Skip to content

feat(viewer): record a foldable from the panel the guest is using - #78

Merged
Mastersam07 merged 2 commits into
devfrom
feat/record-active-panel
Sep 27, 2026
Merged

Mastersam07 merged 2 commits into
devfrom
feat/record-active-panel

Conversation

@Mastersam07

@Mastersam07 Mastersam07 commented Sep 27, 2026 •

Copy link
Copy Markdown
Owner

What: A foldable now records itself from the panel the guest is drawing on. simctl io recordVideo records one display per file, the inner panel whatever the fold, so a recording made shut was a movie of a screen nobody saw. The window already receives both panels' frames; a recorder in the app writes the followed panel's frames into one H.264 movie the inner panel's size, fitting the cover on black so it keeps its shape, and the panel switch that already moves touches and screenshots moves the recording too. Ordinary devices keep simctl, through the same toggle.

Closes #70.

Follow-ups: None.

simctl records one display per file, the inner panel whatever the fold, so a recording made shut was a movie of a screen nobody saw. A foldable now records itself from the frames its window already receives, into one movie the inner panel's size with the cover fitted on black, and a fold mid recording carries on. Ordinary devices keep simctl.
The inner panel is built a quarter turn round in its housing and the model undoes that when it draws; the recorder wrote the raw framebuffer, so an open device came out turned in the movie. Each panel's frames are turned by the same quarter turns, and the movie is the inner panel's size as shown.
@Mastersam07
Mastersam07 merged commit d88d7b4 into dev Sep 27, 2026
2 checks passed
@Mastersam07
Mastersam07 deleted the feat/record-active-panel branch September 27, 2026 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Record from the screen the guest is using on a foldable

1 participant