Skip to content

Conversation

@Bug-Reaper
Copy link

@Bug-Reaper Bug-Reaper commented Feb 9, 2026

Description of Change

Refs electron/electron#49607

PR contains big update for desktopCapturer documentation and related nuance on macOS. Notably:

Clarify macOS desktopCapture for audio has been available since macOS 13 and higher. Prior to this it was only via signed kernel extension & not supported by Chromium/Electron directly.

More recently, Chromium switched to use Apple's newer native API for audio capture.

  • This new CoreAudio Tap API requires a new NSAudioCaptureUsageDescription in the App's Info.plist. Thus electron apps now require the same to use desktopCapturer properly on macOS >=14.2 where Apple introduced the API.
  • Chromium implements no fallback to the older Screen & System Audio Recording permissions system if the newer API fails. Meaning electron apps that don't have the new NSAudioCaptureUsageDescription key will see desktopCapturer break on version jump v39.0.0-beta.3 to v39.0.0-beta.4. In that version jump is where we see Chromium enables the new CoreAudio Tap API by default.

In addition to doc bump for desktopCapturer this PR also adds a note about the relevant breaking change to the Electron 39.0.0 Release Blog.

A lot of the findings added in this PR came from my triage/investigation in this issue

Checklist

  • This PR was not created with AI. (PRs created mainly with AI will be closed. They waste our team's time. We ban repeat offenders.)

🍏 : This page was outdated since ~macOS 13 when Apple added ways to capture audio w/o signed kernel extension. Apple's latest [`CoreAudio Tap API `](https://github.com/insidegui/AudioCap) also has some [relevant nuances](electron/electron#49607) worth mentioning.
…eam Chromium pivot in native Apple API usage

🍏 : Affects macOS >=14.2 electron apps starting in `v39.0.0-beta4`. Full triage of issue available [here](electron/electron#49607).
@Bug-Reaper Bug-Reaper requested a review from a team as a code owner February 9, 2026 03:09
@Bug-Reaper Bug-Reaper changed the title Bug reaper/update desktop capturer docs fix: Update docs around macOS & desktopCapturer Feb 9, 2026
@Bug-Reaper Bug-Reaper changed the title fix: Update docs around macOS & desktopCapturer fix: update docs around macOS & desktopCapturer Feb 9, 2026
Copy link
Member

@nikwen nikwen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much for your work on this!

Could you please add "Refs electron/electron#49607" at the beginning of the PR? That makes it easier for maintainers to find the related issue quickly.

@Bug-Reaper
Copy link
Author

Great feedback @nikwen 👍 really appreciate the maintainer support on this!

Curious is there a way to preview changes made to documentation markdown in the main electron repo?

I had assumed doc changes flowed in the opposite direction so changes could be easily previewed with local instance of the doc website when being drafted/added.

@Bug-Reaper Bug-Reaper requested a review from nikwen February 10, 2026 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants