Skip to content

[BUG] FluidMeet stops the whole recording when the echo-cancelled microphone writer falls behind #1412

Backlog

Description

@chandima

Describe the bug

When FluidMeet records an online call through software echo cancellation (AEC3), a short stall in the microphone writer stops the whole recording. The session shows captureStoppedUnexpectedly "AEC microphone pipeline failed closed (writerQueueFull); recording was stopped to preserve transcript safety." Nothing after that point is captured, so the rest of the meeting is lost, even though the call carries on and Zoom and the microphone are still working.

It has ended 4 of my last 38 recordings, 3 of them during a live call. On Nov 23 the recording stopped 2 min 19 s into a 30-minute call.

Reproduction steps

I can't trigger it on demand. It happens during normal calls in this setup:

  1. Use an output device that isn't the built-in speakers. Mine is a USB DAC, "Sound Blaster Play! 3", which doesn't report a headphone terminal. FluidMeet logs "Meeting voice-processing capture declined: The output device is not the built-in speakers." and uses the software AEC3 path (echoProtection: softwareEchoCancelled).
  2. Use a USB microphone (Anker PowerConf C200) and record a Zoom call in online-call mode.
  3. At some point during the call, the recording stops with the event above.

Expected behavior

A momentary writer backlog drops the affected microphone audio, as it does on the raw capture path (where MeetingAudioChunkWriter.enqueue just counts a dropped sample). The recording keeps going and the transcript marks the gap.

Actual behavior

The recording stops at the first full queue, and the meeting ends with captureStoppedUnexpectedly. FluidVoice keeps running, and Zoom and the microphone are fine. The captured part is only transcribed after someone presses Retry transcription, and the rest of the call is not recorded.

App Version

1.6.13

macOS Version

macOS 27.2.1

Architecture

Apple Silicon

Logs or crash report

captureStoppedUnexpectedly "AEC microphone pipeline failed closed (writerQueueFull); recording was stopped to preserve transcript safety."
  2026-11-04  19:03:08Z to 08:59:38Z the next day (this recording had outlived its call, so no speech was lost)
  2026-11-13  18:31:59Z to 19:11:04Z
  2026-11-20  18:56:23Z to 19:44:57Z
  2026-11-23  15:33:12Z to 15:35:31Z  (2 min 19 s of a ~30 min call)

Nov 23 session.json (excerpt):
  events:
    15:33:13Z voiceProcessingDeclined  "The output device is not the built-in speakers."
    15:33:16Z echoFilteringRestored
    15:35:31Z captureStoppedUnexpectedly "AEC microphone pipeline failed closed (writerQueueFull); ..."
  microphone track: echoProtection eras unprotected -> unfiltered -> softwareEchoCancelled -> unprotected,
                    droppedSampleCount 3, status stopped
  applicationAudio track: droppedSampleCount 0, 3 chunks, all finalized

Fluid.log has no error before the stop. The next meeting line is:
  [08:35:31.426] [MeetingAutoDetector] end-of-meeting-watch-stopped reason=recording-stopped bundle=us.zoom.xos

Cause (from the source on main):

  1. With an output route that isn't the built-in speakers, the microphone goes through MeetingAECPipeline and MeetingAECOutputCommitter. Each sample is one 10 ms AEC frame, and the stream joiner can emit up to 64 frames for one input.
  2. MeetingAudioChunkWriter admits at most pendingSlotLimit (128) queued samples, so its queue covers about 1.3 s of audio on this path. On the raw path, a refused enqueue just counts a dropped sample.
  3. MeetingAECOutputCommitter.enqueueOrFail correctly demotes the track to unprotected, closes the transcript gate and queues the fail-closed safety era. It then also calls reportTerminalFailure(.writerQueueFull), and handleAECTerminalFailure stops the recording. A queueFull completion from the promotion, raw-demotion and safety-era commands is reported as terminal too, even though the writer's emergency run has already applied the demotion.

I have a small fix with regression tests ready and will link the PR here.

Activity

  1. iliasotoninunitify commented on Nov 30, 2026

    @iliasotoninunitify

    Same issue here on 1.6.13, Apple Silicon, built-in MacBook Pro microphone, online calls. On Nov 30 it stopped 4 recordings out of 10: one call broke into three pieces (4 min, 45 s, 7 s) with captureStoppedUnexpectedly "AEC microphone pipeline failed closed (writerQueueFull)", plus one earlier session failed with writerFailure "Audio chunk finalization was saturated". Each time the machine was under heavy CPU load from other processes (load average ~15 on 12 cores), so the writer stall seems load-triggered. Looking forward to #1414.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions