electron icon indicating copy to clipboard operation
electron copied to clipboard

feat: support native MacOS screen capturer

Open VerteDinde opened this issue 1 year ago • 0 comments

Description of Change

This PR adds support for MacOS 15 Sequoia's native system picker as part of the desktopCapturer API. The API now includes an isDisplayMediaSystemPickerAvailable check and an option to getNativePickerSource, which returns the selected native picker media stream.

This API does not allow a user to differentiate between screens and windows, following similar MacOS API implementations - we can add that differentiation to the API.

Currently in draft to take API comments/considerations.

Ref: https://issues.chromium.org/issues/40286360

Test Gist: https://gist.github.com/8e4e41c6606efea081add0487dd2cb6d

Checklist

Release Notes

Notes: Added support for the macOS system picker in desktopCaptuerer and setDisplayMediaRequestHandler

VerteDinde avatar Aug 27 '24 17:08 VerteDinde