Skip to content

Feature request: Use Audio Capture permission instead of Screen Recording on macOS 14.4+Β #5

@soriaventures

Description

@soriaventures

Hey!

First off, thanks for this library – it's been super helpful for our project!

We're building an AI meeting notes app and we're using electron-audio-loopback to capture system audio. It works great, but we've run into a UX problem: asking users for Screen Recording permission feels pretty heavy when we only need audio.

The problem

I recently came across AudioCap which uses the new CoreAudio Process Tap API that Apple added in macOS 14.4. It only requires "Audio Capture" permission instead of "Screen Recording", which is way less scary for users.

However, I tried implementing AudioCap's approach directly and couldn't get any audio output from it. The permission dialog shows up correctly, but the actual audio capture doesn't seem to work in an Electron context (or I'm missing something obvious πŸ˜…).

The question

Would it make sense to add proper Audio Capture API support to electron-audio-loopback?

Benefits would be:

  • Users way more comfortable granting audio-only permission
  • No app restart needed (unlike Screen Recording)
  • Semantically correct - we're not actually recording the screen

Ideally it could:

  • Use Audio Capture API on macOS 14.4+
  • Fall back to current screen recording method on older macOS
  • Auto-detect the best available method

This would be super valuable for any audio-focused Electron app. Curious what you think - is this something that would fit into the library's scope?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions