minutes icon indicating copy to clipboard operation
minutes copied to clipboard

Native call capture is gated on detection: Google Meet / Teams-web are opt-in, and plain Start silently falls back to mic-only

Open silverstein opened this issue 5 months ago • 5 comments

Problem

Native call capture (mic + system audio together, via ScreenCaptureKit, no BlackHole) only kicks in when the desktop app shows a "Call detected" banner. If no call is detected, a recording started from the main Start button captures the microphone only, with no warning. The user finds out only when they read a one-sided transcript.

This bit the reporters in #239. As dean815 put it there, "macOS + zoom/meet call audio + airpods/mac mic input is probably the number 1 most common configuration" for this product, and right now that configuration is the one most likely to silently fail.

Why it happens

  • Default call detection covers Zoom, Microsoft Teams (desktop), and Webex.
  • Google Meet and Teams-in-browser are opt-in experimental toggles, off by default (config.rs; auto_call_intent also defaults false).
  • So a browser Google Meet call produces no banner unless the user has already found and enabled the experimental toggle. They press Start, get mic-only, and lose the other side of the call.

Worth noting (verified in tauri/src/index.html:7253, recordingStartArgsForCurrentUi): when the banner IS active, the generic Start button already passes intent: 'call' and does the same native dual-source capture as the banner's Record button. So the two entry points already converge once detection fires. This is not a "two divergent buttons" IA problem. The gap is purely (a) detection coverage for the most common setup and (b) the silent mic-only fallback when detection misses.

Proposed fixes

  1. Make Google Meet / Teams-web detection a real default (or, at minimum, prompt to enable it the first time a browser call is detected), since browser Meet is a top-tier use case rather than an edge case.
  2. Close the silent failure. If a known call app or call site is frontmost but no call session is active and the user starts a plain recording, surface a one-tap prompt: "You appear to be on a call. Record both sides, or just your mic?" Quietly defaulting to mic-only is the wrong behavior when we have signal that a call is happening.

Either fix alone helps; together they make the #1 setup work without the user needing to read the audio-devices doc.

Refs #239. Docs correction is in #285.

silverstein avatar Jun 09 '26 00:06 silverstein

Expanding scope based on dean815's stated end goal in #239: a single interface that records both sides of Google Meet, Zoom, and FaceTime / phone calls, auto-transcribed for an AI agent.

Current state per call type:

  • Zoom / Teams desktop / Webex: detected by default, native dual-source capture works.
  • Google Meet / Teams-web: detection exists but is an opt-in experimental Settings toggle (off by default). This is the primary fix above.
  • FaceTime: the detector already recognizes a FaceTime process and has a display name for it (tauri/src-tauri/src/call_detect.rs), but FaceTime is not in the default [call_detection].apps list and has no Settings toggle. The native capture path for FaceTime has not been validated end to end.
  • Phone calls (iPhone bridged to Mac via Continuity): not handled as a distinct case; different capture route than FaceTime.

So the full "one interface, both sides, every common call type" goal needs: (1) Meet/Teams-web on by default, (2) the silent mic-only fallback fix, (3) FaceTime promoted to a first-class detected app with a validated capture path, and (4) a decision on whether Continuity phone-call capture is in scope at all.

silverstein avatar Jun 09 '26 00:06 silverstein

Second real-world hit today, documented in #395: a Zoom call recorded with plain start captured mic-only (device = "MacBook Pro Microphone", no [recording.sources]), so the live transcript was whisper hallucinating on room leakage from the far end. The silent-fallback half is being fixed via #395; the capture-side gating this issue tracks is still the root enabler.

silverstein avatar Jul 02 '26 17:07 silverstein

I hit the same problem on desktop 0.30.4 with Google Meet in Chrome. Start Recording in Meeting mode recorded only my mic for a 74-minute call, with no warning. The log shows capture_backend: "cpal" and system_samples_read: 0.

The app also never asked for Screen Recording permission, so I had to find it in System Settings and add Minutes by hand. It would help if the first launch explained that Minutes needs this to record the other side of a call, then triggered the macOS prompt so the user only has to click Allow.

Even after I granted it, and the app showed system audio as available, Start still recorded mic only.

This config.toml setting fixed it:

[recording]
capture_backend = "core-audio-tap"

[recording.sources]
call = "auto"

Every plain Start then records separate voice and system stems. Neither setting is in docs/configuration.md. I found them in the strings inside the binary. Documenting that pair, or making it the macOS default, would cover browser calls without needing call detection at all.

astro-roro avatar Oct 20 '26 06:10 astro-roro

Thank you for following this through and reporting the route that worked. The permission grant and recording route are separate: permission makes system capture available, but it does not make plain Start select it.

I checked current v0.30.6 source and exercised the exact frontend routing function with synthetic call states. With no active detection banner, plain Start still supplies no call intent; the fresh defaults remain CPAL, no configured call source, and automatic call intent off. Your 0.30.4 report is therefore consistent with a gap still present in current source. I have not independently replayed your native recording.

I am prioritizing an explicit microphone versus microphone-and-system choice that works without detection, clear source status before recording, and permission guidance for the selected backend. A mode called Meeting should not leave someone guessing whether the other side is included. The configuration pair you found also needs documentation, with its macOS and system-output scope explained; changing every recording globally to system capture would need more care for room meetings and voice memos.

This remains tracked here. It is separate from #1176: this report lost remote audio at capture, whereas that report captured both stems and lost speech during transcription. Neither is fixed by a better speaker-clustering model alone.

silverstein avatar Oct 20 '26 12:10 silverstein

The plain-Start capture fix is available in Minutes 0.30.7. Before a Meeting starts, the desktop app now asks you to choose Microphone only or Microphone + system audio and remembers that choice for the button, tray and shortcut. Two-source capture no longer depends on a detection banner, and a native capture failure reports an error rather than silently starting a microphone-only recording.

After updating, choose Microphone + system audio for a computer call and grant the requested Microphone and Screen Recording permissions. Native desktop capture requires macOS 15 or later. The documented CLI Process Tap route on macOS 14.4+ uses both configuration keys from your report. System audio includes other apps' sounds, so microphone-only remains an explicit option for room meetings and memos.

I verified a real button-started recording in the signed Mac Dev app with call detection disabled: it saved separate microphone and system tracks, and both synthetic test tones appeared in the system track. I also verified failure and save-error handling. That check used the built-in microphone and speakers; it does not establish AirPods, FaceTime or Continuity behavior, and it does not fix the separate overlapping-speech transcription issue #1176. I am leaving this broader thread open for the remaining call-type coverage.

Thank you, @astro-roro, for finding and documenting the working route, and to everyone who reported earlier cases. This was a serious failure mode, and your detail made the fix much clearer.

silverstein avatar Oct 20 '26 23:10 silverstein