Skip to content

perf(recording): stream native Windows screen recording to main process without renderer round-trip #11

Description

@joaothaira

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    upstream-portHarvested from archived upstream siddharthvaddem/openscreen

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions