Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support native MacOS screen capturer #43492

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from
Draft

Conversation

VerteDinde
Copy link
Member

@VerteDinde VerteDinde commented Aug 27, 2024

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

@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Aug 27, 2024
@VerteDinde VerteDinde added target/33-x-y PR should also be added to the "33-x-y" branch. and removed new-pr 🌱 PR opened in the last 24 hours labels Aug 27, 2024
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Aug 27, 2024
@VerteDinde VerteDinde force-pushed the sckp-macos15 branch 2 times, most recently from 8081536 to 9a99cd9 Compare September 2, 2024 12:15
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
target/33-x-y PR should also be added to the "33-x-y" branch.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants