Skip to content

feat(meetings): mute a recorded call and alert on its watched words - #510

Open
DailyXplorer wants to merge 2 commits into
mainfrom
feat/muted-meeting-alerts
Open

DailyXplorer wants to merge 2 commits into
mainfrom
feat/muted-meeting-alerts

Conversation

@DailyXplorer

Copy link
Copy Markdown
Owner

Summary

Lets the user silence a call they only half follow while Murmur keeps recording it, and tells them when their name or a watched word is said. Builds on the live meeting transcript (meetings/live/). Closes #489.

Changes

  • Mute (Apple silicon Mac, while a meeting records system audio): tray item "Mute meeting sound" / "Unmute meeting sound". murmur_system_tap_set_muted switches the existing tap's CATapDescription.muteBehavior to muted-when-tapped, so the recording and the live text go on. The tap is global, so every app but Murmur goes quiet, not only the call app (see Tradeoffs).
  • Restore: Unmute, meeting stop (tap destroyed, mute::tap_stopped), and quit or crash (the tap is private to the process). A tap rebuilt after the permission grant keeps the mute.
  • Alerts (meetings/mute.rs): while muted, each new live sentence of the system track is matched against meeting_alert_words: whole words, case and accents ignored, multi-word names, the microphone track ignored, a word alerts at most every 30 s.
  • One notification path: an overlay pill "Someone said “Jane”" with Unmute (overlay/word_alert.rs), 15 s, held while hovered, never over a dictation or another notice. No system notification.
  • Setting: Settings → Advanced, "Muted meeting alerts", a comma-separated field saved on Enter or blur (trimmed, deduplicated, at most 20 words of 50 characters), shown only where get_meeting_capabilities().mute_with_alerts is true. Six locales.
  • Commands change_meeting_alert_words_setting and set_meeting_sound_muted (the overlay may call the latter: recording-overlay.json and the reviewed list in check-platforms.ts gain allow-set-meeting-sound-muted, the only change to that pin).
  • Windows is out of scope, as the issue says. Shared hunks that are not inert on macOS-only paths: the settings field and the two commands exist there (set_meeting_sound_muted(true) returns an error, false is a no-op), mute_with_alerts is false, so no row or tray item shows.

Tradeoffs: muting one process would need a second, per-process tap; the global one is what the tap already captures and needs no process lookup. CJK names inside unspaced text do not match (whole-word matching).

Screenshots: pill, light · pill, dark · pill, French · Advanced row

Testing

  • bun run check (with Clippy): passed.
  • cargo clippy --locked --all-targets -- -D warnings: passed. cargo test --locked --lib: 1820 passed (new: matcher, cooldown, remote-side only, alert placement, word cleaning).
  • Playwright: new meeting-alert-words.spec.ts and recording-overlay-word-alert.spec.ts, plus no-all-caps, settings-labels-fit, settings-no-inline-help, windows-platform, recording-overlay-cancelled, recording-overlay-meeting-notice: all passed.
  • Not tested on a device: the Core Audio mute itself during a real call, and the sound coming back after a quit. No Windows build was run locally (all new code is behind cfg(target_os = "macos")).

While a meeting records the computer's sound on a Mac, the menu bar can
mute the speakers: the system audio tap switches to muted-when-tapped, so
the recording and the live transcript go on. While muted, the remote
side's live sentences are matched against the new alert words (the
user's name and a few words, Settings > Advanced), and a match shows one
overlay pill with Unmute. The sound comes back on Unmute, when the
meeting stops and when Murmur quits, since the tap dies with the process.

Closes #489
@coderabbitai

coderabbitai Bot commented Dec 5, 2026 •

Copy link
Copy Markdown

Explain Change →

Note

CodeRabbit ASCII loading animation

Currently processing new changes in this PR. This may take a few minutes, please wait...

Review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between a171206 and 34b34b5.

Files ignored due to path filters: 1

  • src/bindings.ts is excluded by !src/bindings.ts
Files selected for processing: 34

  • AGENTS.md
  • scripts/check-platforms.ts
  • src-tauri/build.rs
  • src-tauri/capabilities/recording-overlay.json
  • src-tauri/permissions/default.toml
  • src-tauri/src/commands/meetings.rs
  • src-tauri/src/lib.rs
  • src-tauri/src/meetings/capture/system.rs
  • src-tauri/src/meetings/manager.rs
  • src-tauri/src/meetings/mod.rs
  • src-tauri/src/meetings/mute.rs
  • src-tauri/src/meetings/mute/tests.rs
  • src-tauri/src/overlay.rs
  • src-tauri/src/overlay/word_alert.rs
  • src-tauri/src/settings.rs
  • src-tauri/src/settings/defaults.rs
  • src-tauri/src/tray.rs
  • src-tauri/swift/meeting_audio.swift
  • src/components/settings/MeetingAlertWords.tsx
  • src/components/settings/advanced/AdvancedSettings.tsx
  • src/i18n/locales/de/translation.json
  • src/i18n/locales/en/translation.json
  • src/i18n/locales/es/translation.json
  • src/i18n/locales/fr/translation.json
  • src/i18n/locales/it/translation.json
  • src/i18n/locales/pt/translation.json
  • src/overlay/RecordingOverlay.tsx
  • src/stores/settingsStore.ts
  • tests/fixtures/settings-pages/responses.ts
  • tests/globals.d.ts
  • tests/meeting-alert-words.spec.ts
  • tests/overlayHarness.ts
  • tests/recording-overlay-listeners.spec.ts
  • tests/recording-overlay-word-alert.spec.ts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

…lert words field

The four strings of the muted meeting sound are read only by macOS code, so
build.rs gates their TrayStrings fields with cfg(target_os = "macos") and
the Windows build has no dead field. The alert words input fills the control
rail like the other settings fields, and the overlay listener test counts the
word alert listener and checks it is cleaned up.

This branch has not been deployed

No deployments
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.

Idea: muted meeting monitoring with name alerts

1 participant