hex/src/meeting
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dax 6ed0a982ad
windows: name the website of browser meeting calls (#2079)
* read the browser's page for windows meeting detection

Windows meeting detection read nothing from a browser holding the
microphone, so a Meet or Teams page in Chrome was offered as a generic
"Call in Google Chrome" and recorded under the browser's name.

Every visible window of the browser's executable is now read through UI
Automation (the Chromium utility process that holds the microphone has no
window), on a helper thread with one read in flight and a 2 s deadline;
titles are read inline, so a hung provider still answers with them. The
address and title choice matches macOS: a page that names a call wins, and
a call's tab title outranks another window's address.

* make the windows meeting read cheap and clean its window titles

Review of #2079:
- FindAll walked a page's whole content for every probe. The walk now
  follows only the browser's own chrome and stops at Document elements,
  and one UI Automation instance (one COM initialization) serves a
  whole meeting read instead of one per window.
- A Windows window title is a whole window's, not a tab's: zero-width
  characters, the browser's own name, Edge's profile name, and Edge's
  "and N more pages" are removed before detection reads it.
- macOS shares the page-choice rule (`detection::call_page`) instead of
  keeping its own copy.

* read the meeting page with one FindFirst per window

Second review of #2079:
- Dictation's foreground page read and its guard are back to origin/dev's
  own function bodies, byte for byte.
- The meeting read asks each window's root for its first Document with
  FindFirst over the Document control type. UI Automation searches in
  pre-order and stops at the first match, so page content is never
  searched however many tabs or bookmarks a window shows; the walker and
  its element cap are gone. One automation instance still serves the
  whole read, with its 2 s deadline and one-in-flight guard.
- Window title cleanup moves to meeting::window_title (detection.rs had
  reached its size limit). It keeps the notes on Edge's ambiguous profile
  segment and the English-only "and N more pages", and now also drops
  Chrome's trailing " - Google Chrome - <profile>".
2026-11-20 15:03:41 -05:00
..
watcher Keep the timer and copy controls steady as the meeting finishes 2026-11-16 10:26:33 -08:00
capture.rs
chapters.rs meeting notes: write titles and summaries in the transcript's language (#1968) (#1970) 2026-11-18 12:59:47 -05:00
chapters_tests.rs meeting notes: write titles and summaries in the transcript's language (#1968) (#1970) 2026-11-18 12:59:47 -05:00
chunk_level.rs
delta.rs
detection.rs windows: name the website of browser meeting calls (#2079) 2026-11-20 15:03:41 -05:00
echo.rs
echo_replay_tests.rs
export_name.rs feat(meetings): graduate meeting labs into normal behaviour and Meetings settings (#1821) 2026-11-16 00:51:48 -08:00
finish.rs
finished_events.rs feat(meetings): graduate meeting labs into normal behaviour and Meetings settings (#1821) 2026-11-16 00:51:48 -08:00
generator.rs
import.rs meetings: labs toggle to write notes to their own file (#1620) 2026-11-09 23:42:56 -05:00
linux.rs
live_replay_tests.rs
loopback_route.rs
macos.rs
mcp.rs
notes.rs meeting notes: write titles and summaries in the transcript's language (#1968) (#1970) 2026-11-18 12:59:47 -05:00
notes_file.rs feat(meetings): graduate meeting labs into normal behaviour and Meetings settings (#1821) 2026-11-16 00:51:48 -08:00
query.rs fix(meetings): finish recordings across quits and update restarts (#1900) 2026-11-16 12:30:57 -05:00
query_tests.rs
recording.rs fix(meetings): finish recordings across quits and update restarts (#1900) 2026-11-16 12:30:57 -05:00
recovery.rs fix(meetings): finish recordings across quits and update restarts (#1900) 2026-11-16 12:30:57 -05:00
retention.rs fix(meetings): finish recordings across quits and update restarts (#1900) 2026-11-16 12:30:57 -05:00
runtime.rs Merge dev (with the Record draft's surface model) into meeting-stop-motion 2026-11-18 22:01:53 -08:00
sweep.rs
tests.rs use 24-hour meeting times outside english (#1927) 2026-11-16 20:16:08 -05:00
transcript.rs use 24-hour meeting times outside english (#1927) 2026-11-16 20:16:08 -05:00
warning.rs
watcher.rs Merge dev (with the Record draft's surface model) into meeting-stop-motion 2026-11-18 22:01:53 -08:00
window_title.rs windows: name the website of browser meeting calls (#2079) 2026-11-20 15:03:41 -05:00
windows.rs