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

fix: add capability to use ScreenCaptureKit for thumbnail generation #41329

Conversation

trop[bot]
Copy link
Contributor

@trop trop bot commented Feb 14, 2024

Backport of #41328

See that PR for details.

Notes: Added support for ThumbnailCapturerMac and ScreenCaptureKitStreamPickerSonoma chromium feature flags to bypass deprecated API warning on macOS 14.4

This aligns us with Chromiums flags / capabilities in regards to using SCK for
everything. Currently on 14.4 Electron apps will pop warnings for usage of
deprecated APIs.  With this change and a few "enable-features" toggles.

`--enable-features="ScreenCaptureKitMac,ScreenCaptureKitStreamPickerSonoma,ThumbnailCapturerMac:capture_mode/sc_screenshot_manager"`

As Chromium enables these by default Electron will inherit those changes, apps wishing to skip ahead can apply these flags early.

Co-authored-by: Samuel Attard <marshallofsound@electronjs.org>
@trop trop bot requested a review from a team as a code owner February 14, 2024 04:47
@trop trop bot requested a review from MarshallOfSound February 14, 2024 04:47
@trop trop bot added 29-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes labels Feb 14, 2024
@MarshallOfSound MarshallOfSound merged commit 5c71377 into 29-x-y Feb 14, 2024
18 of 20 checks passed
@MarshallOfSound MarshallOfSound deleted the trop/29-x-y-bp-fix-add-capability-to-use-screencapturekit-for-thumbnail-generation-1707886021484 branch February 14, 2024 09:11
Copy link

release-clerk bot commented Feb 14, 2024

Release Notes Persisted

Added support for ThumbnailCapturerMac and ScreenCaptureKitStreamPickerSonoma chromium feature flags to bypass deprecated API warning on macOS 14.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
29-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant