-
Notifications
You must be signed in to change notification settings - Fork 16
Description
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?