[BUG] FluidMeet records silence from the system default input instead of the selected microphone
Describe the bug
In an Online call (Google Chrome), FluidMeet's microphone track recorded digital silence for the whole meeting, although "MacBook Pro Microphone" was selected and working. The session's selectedMicrophone is BuiltInMicrophoneDevice, but the microphone chunks are 44.1 kHz, which is the rate of my system default input at the time ("Background Music", a virtual device whose app wasn't running). The built-in mic runs at 48 kHz. So capture appears to use the system default input rather than the selected device.
The final transcript had nothing from the room, and no warning was shown during or after recording.
Reproduction steps
- Set System Settings → Sound → Input to a virtual device that delivers silence (here: Background Music, with its app not running).
- In FluidMeet, choose Online call → Google Chrome, microphone "MacBook Pro Microphone".
- Record for a minute while speaking.
Expected behavior
The selected microphone is recorded, or FluidMeet warns that the microphone is silent.
Actual behavior
The microphone track is all zeros (peak 0.0000 over 917 s and 2,015 s in two meetings on Oct 26; again on Nov 2). health.silentForSeconds equals the meeting length. Switching the system default input to the built-in mic fixes it for the next recording.
MeetingScreenCaptureAudioSettings.apply sets microphoneCaptureDeviceID = microphone.avCaptureDeviceID. If that ID is nil, ScreenCaptureKit falls back to the default input. That may be the path here, but I haven't confirmed it.
App Version
1.6.12
macOS Version
15.7.4 (24G517)
Architecture
Apple Silicon (Mac14,10)
Related: #1135 (warn when the microphone is dropped).
wanna check the latest beta to check if it helps?!
Thanks! I retested with a build from current main (same capture and chunk-writer code as 1.6.13-beta.2):
- #1275: With the system default input set to a silent virtual device (BlackHole 2ch) and "MacBook Pro Microphone" selected in the picker, the microphone track now records normally at 48 kHz. I think "Keep the chosen microphone when opening the picker" (#1265) fixed the case I hit.
- #1276: Still happens, and I've found a better trigger than the 44.1 kHz output. In an hour-long Google Meet call today (AirPods at 48 kHz as output), recording was clean for 15 minutes. Then FluidMeet logged
microphoneChanged: "Capture moved to the settled microphone BlackHole 2ch". From that second on:- the microphone track was silent for the rest of the call, because it had moved to a virtual loopback device;
- the Chrome track broke into ~40 ms chunks: 15,519 chunks, 12,969 failed with "finalization was saturated".
So the fragmentation seems to start when capture is reconfigured mid-meeting, not because of the output sample rate itself. The 44.1 kHz cases may have been the same thing triggered by a device change. Two suggestions: don't auto-switch to virtual loopback devices (BlackHole, Background Music, Teams Audio) as a "settled microphone", and keep the application-audio timeline intact across a capture restart.
This issue has been marked stale because it has had no activity for 7 days. It will be closed in 3 days if there is no further activity. Add the keep-open or pinned label to prevent automatic closure.
Closing: with 1.6.13-beta.2's capture code this no longer reproduces (the selected microphone is kept even when the system default input is a silent virtual device), so I believe #1265 fixed it. Thanks!