Repository navigation
feat(meetings): mute a recorded call and alert on its watched words - #510
Open
DailyXplorer wants to merge 2 commits into
Open
DailyXplorer wants to merge 2 commits into
DailyXplorer wants to merge 2 commits into
Conversation
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
|
Note Currently processing new changes in this PR. This may take a few minutes, please wait...
|
…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
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.

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
murmur_system_tap_set_mutedswitches the existing tap'sCATapDescription.muteBehaviorto 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).mute::tap_stopped), and quit or crash (the tap is private to the process). A tap rebuilt after the permission grant keeps the mute.meetings/mute.rs): while muted, each new live sentence of the system track is matched againstmeeting_alert_words: whole words, case and accents ignored, multi-word names, the microphone track ignored, a word alerts at most every 30 s.overlay/word_alert.rs), 15 s, held while hovered, never over a dictation or another notice. No system notification.get_meeting_capabilities().mute_with_alertsis true. Six locales.change_meeting_alert_words_settingandset_meeting_sound_muted(the overlay may call the latter:recording-overlay.jsonand the reviewed list incheck-platforms.tsgainallow-set-meeting-sound-muted, the only change to that pin).set_meeting_sound_muted(true)returns an error,falseis a no-op),mute_with_alertsis 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).meeting-alert-words.spec.tsandrecording-overlay-word-alert.spec.ts, plusno-all-caps,settings-labels-fit,settings-no-inline-help,windows-platform,recording-overlay-cancelled,recording-overlay-meeting-notice: all passed.cfg(target_os = "macos")).