Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add a ScreenCaptureKit backend for macOS #451

Copy link
Copy link

Description

@jholveck
Issue body actions

The macOS docs and headers indicate that CGWindowListCreateImage, the screenshot mechanism MSS uses on macOS, is now deprecated. Apple suggests using the new (as of 2022) ScreenCaptureKit instead.

I don't know offhand how widely-available ScreenCaptureKit is; it might not exist prior to macOS 13 Ventura. It also seems that the early versions were geared for streaming, not single-frame capture. Later versions added a screenshot-style API; there's some talk about the migration path in this talk.

Practically speaking, I doubt that macOS will remove CGWindowListCreateImage anytime soon; it's just too widely-used. So no urgency here.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.