Harvested from archived upstream: siddharthvaddem#689 (duplicate: siddharthvaddem#688).
finalizeNativeWindowsRecording (src/hooks/useScreenRecorder.ts) reads the entire on-disk screen recording back into renderer memory via readBinaryFile and ships it to the main process via storeRecordedSession — a multi-GB IPC transfer for long recordings, with renderer OOM risk on stop.
Direct sequel to the webcam-sidecar streaming fix already ported from upstream PR siddharthvaddem#687 (commit a61ffe1): same memory-pressure theme, screen-track finalize path this time. Proposal in the original issue: main-process finalize of the on-disk file without the renderer round-trip.
Harvested from archived upstream: siddharthvaddem#689 (duplicate: siddharthvaddem#688).
finalizeNativeWindowsRecording(src/hooks/useScreenRecorder.ts) reads the entire on-disk screen recording back into renderer memory viareadBinaryFileand ships it to the main process viastoreRecordedSession— a multi-GB IPC transfer for long recordings, with renderer OOM risk on stop.Direct sequel to the webcam-sidecar streaming fix already ported from upstream PR siddharthvaddem#687 (commit a61ffe1): same memory-pressure theme, screen-track finalize path this time. Proposal in the original issue: main-process finalize of the on-disk file without the renderer round-trip.