Repository navigation
feat: ask to stop when the meeting app leaves the call (#148) - #149
Draft
raphaelm22 wants to merge 1 commit into
Draft
raphaelm22 wants to merge 1 commit into
raphaelm22 wants to merge 1 commit into
Conversation
…cure#148) A forgotten Stop keeps recording silence for as long as nobody notices, and silence auto-stop can't catch it in legacy mode (ObscureAintSecure#104). Windows records which apps use the microphone for its privacy indicator; a conferencing app holds it for the whole call, muted or not, and lets go when you leave. While recording, MainWindow polls that store every 2 s. Once a meeting app (Teams, Zoom, Webex, Slack, browsers) has been on the microphone and all of them have been off it for 20 s, a stay-on-top dialog and a tray notification ask whether to stop; with no answer the recording stops after 60 s. "Keep recording" disarms it until an app takes the microphone again. On by default (Settings > General); no readable data means no prompt.
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.
Closes #148
What
While recording, TalkTrack asks whether to stop once the meeting app has left the call.
app/recording/meeting_end.py(no Qt)read_mic_usagereads Windows' microphone privacy store (CapabilityAccessManager\ConsentStore\microphone) withwinreg. It covers packaged apps by package family name and desktop apps underNonPackaged.meeting_apps_using_mickeeps the curated meeting apps whoseLastUsedTimeStopis 0, i.e. in use now. The apps are Teams (new and classic), Zoom, Webex, Slack, Skype and the browsers.MeetingEndWatcherarms when one of them is seen on the microphone. It fires once, after every armed app has been off it for 20 s.MainWindowQTimerpolls the store.MeetingEndDialogplus a tray notification.MeetingEndDialog: non-modal and stay-on-top, because the meeting app is usually in front.Why this signal
LastUsedTimeStopwas 0 during a call and was set when the call ended.Without a readable store there are no entries, and so no prompt at all, never a wrong stop.
Tests
tests/test_meeting_end.py, 19 tests. They cover key-to-app mapping, in-use detection, unreadable store / non-Windows, watcher timing (grace, blips, re-arm, several apps), MainWindow wiring against a stub window, and the dialog's text helper. Full suite: 427 passed.Draft until a recording has been stopped through this prompt at the end of a real Teams call.
🤖 Generated with Claude Code