Observer transcribes both sides of a call while it's happening, without a bot joining the meeting. That sounds simple until you try it. A meeting app on someone's laptop is a black box: you can't ask Zoom or Teams for "the other person's audio". All you have is what the computer hears through the microphone and what it plays through its speakers or headphones.
So Observer listens to two things on the user's own machine:
- The microphone, which is you.
- The call audio, everything the computer plays, which is everyone else.
Keeping these as two separate streams is what lets us label who said what without guessing from voices. This post is about the second one, the call audio, because that's where most of the surprises were.
The first version on Windows missed calls
Observer is an Electron app, so the obvious way to capture system audio on Windows is Chromium's built-in loopback. It works, and for a while that's what we shipped.
Then we noticed meetings where the other side never appeared in the transcript, or appeared labelled as "You".
The cause was a detail of how Windows routes sound. Chromium's loopback records only the default playback device. Call apps often don't play there. Windows has a separate "default communications device", and Teams, Zoom and Meet all let you pick a speaker or headset in their own settings. When the call played on a different device than the default one, we captured silence. If the user had no headphones, the microphone picked up the other person from the speakers instead, so their words were transcribed as the user's.
Listening to every output, not just the default
The fix was to stop guessing which device the call was using. Observer now captures what every active playback device on the computer is playing, using Windows' own audio APIs, and mixes it into one stream. Speakers, a USB headset and a monitor's HDMI audio all count, so it no longer matters where the meeting app decided to send the call.
Doing that well raised a few problems we hadn't expected:
- Devices come and go mid-call. People plug in a headset after the call has started, or their Bluetooth earbuds reconnect. The capture has to notice new devices on its own, without a restart and without a gap in the transcript.
- Device clocks drift. Two sound devices that both claim the same sample rate never run at exactly the same speed. Left alone, one slowly gets ahead of the other and the delay grows over a long call. We correct for that continuously, in steps far too small to hear.
- Silence is still a stream. When nothing is playing, the rest of the pipeline should still see a steady flow of audio, not a stop and start. It keeps everything downstream simpler.
macOS was kinder
On macOS, ScreenCaptureKit (macOS 13 and later) can capture what the system plays, and it can leave out an app's own sound. That second part matters: anything Observer itself plays can never loop back into the transcript.
The catch is permission. Capturing system audio on a Mac needs the Screen & System Audio Recording permission. Observer asks for it during setup, and if it's missing, capture stops cleanly instead of retrying over and over in the background.
Capture runs in its own small program
On both systems, audio capture runs as a small separate program next to the app, rather than inside it. Two reasons:
- Crashes stay contained. If capture fails for some reason, the app starts it again while the meeting carries on.
- It can never keep recording on its own. The capture program stops as soon as the app quits or crashes. There is no situation where it keeps listening after Observer is gone.
That second property was a design requirement from the start. A tool that hears your calls has to be predictable about when it stops.
Only sending audio when someone is talking
Speech-to-text services usually charge for the audio you send them, and most of a meeting is silence on at least one side. So each stream passes through a speech gate: Observer only sends audio while someone is actually talking.
The tricky part is rooms. A quiet office and a café need different ideas of what "talking" sounds like, so the gate adapts to each stream's background noise instead of using one fixed level. It also keeps a little audio before speech starts and after it ends, so the first and last words of a sentence aren't clipped.
Removing echo without headphones
Without headphones, the microphone hears the speakers. The other person's words come in twice: once on the call audio, where they belong, and again a moment later through the microphone, where they'd be labelled as you.
Matching on text alone doesn't work, because people repeat each other all the time. If someone says "exactly" and you reply "yes, exactly", that's you, not an echo. So Observer treats a word from the microphone as echo only when the same word played on the call audio at almost the same moment. Your replies come after the other person, so they stay. And because the call audio is always the other side, only words from the microphone are ever removed.
What I'd tell someone building the same thing
- Don't trust "the" output device. On Windows especially, there usually isn't just one.
- Keep capture separate from the app, and make "stops when the app stops" a rule, not a hope.
- Gate before you stream. If you pay for streamed audio, you shouldn't be paying for silence.
- Use timing to tell echo from agreement. Text alone can't.
If you want to see the result, Observer is free to try on Mac and Windows. Questions are welcome at [email protected].