Repository navigation
Ask for System Audio Recording so macOS meetings record the call. - #106
Merged
Merged
Conversation
- Electron 42 records macOS system audio through a Core Audio tap, which needs System Audio Recording (kTCCServiceAudioCapture). Chromium only checks it, so the track ended at once and Lyra was never listed to allow. A new audiocapture helper reads and requests it. - On macOS 14.2+ the display-media handler answers with Lyra's own window as the (discarded) video track, so Screen Recording is no longer needed. Older macOS keeps the ScreenCaptureKit path with the primary screen. - `pnpm dev` launches Electron through a dev-only devlaunch helper that disclaims responsibility, so macOS asks Electron.app rather than the terminal (which can't be asked). - The permission kind 'screen' becomes 'systemAudio' across Settings, the blocked warning and docs.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
On macOS, meetings recorded only the mic: the log said
capture: system audio started, then every heartbeat showed"system":"none". Three stacked causes:kTCCServiceAudioCapture), not Screen Recording. Chromium only checks it and never prompts, so the track ended at once and Lyra was never listed in System Settings.native/mac/audiocapture.swifthelper (status/request) via TCC'sTCCAccessPreflight/TCCAccessRequest.ensureSystemAudioAsked()runs before answeringgetDisplayMedia, prompting only while macOS has never asked.PermissionKind'screen'→'systemAudio'; Settings row, blocked warning, README, PLAN updated.{ video: request.frame, audio: 'loopback' }: the discarded video track is Lyra's own window. macOS before 14.2 (no tap) keeps the ScreenCaptureKit path with the primary screen and Screen Recording (usesAudioTap).pnpm devasked the terminal. TCC asks the responsible app; Warp/Terminal/iTerm lackNSAudioCaptureUsageDescription, so macOS refused silently.pnpm devnow runsscripts/dev.cjs, which builds stale helpers and launches Electron throughbuild/helpers/devlaunch(dev only) usingresponsibility_spawnattrs_setdisclaim, so macOS asks Electron.app.Packaging ships
audiocapture;release.ymlfails if either shipped helper is missing.How it was verified
pnpm devprompted for "Electron" and a meeting recorded system audio.pnpm check(684 tests),pnpm smoke:ui(ui-smoke: ok),pnpm smokepass.audiocapture statusprintsnot-determinedon a fresh machine;devlaunchpasses args and exit codes through.Not verified
pnpm build:mac): prompt names "Lyra",Contents/Resources/audiocapturepresent, hardened runtime allows the TCCdlopen.qa-test/ eval runs from AGENTS.md for audio changes.not-determined, so no "blocked" warning shows.