web-bugs icon indicating copy to clipboard operation
web-bugs copied to clipboard

meet.google.com - Issues with microphone loudness in a meeting

Open ducoquelicot opened this issue 2 years ago • 8 comments

URL: https://meet.google.com

Browser / Version: Firefox 122.0 Operating System: Mac OS X 10.15 Tested Another Browser: Yes Chrome

Problem type: Something else Description: microphone quiet for 5-10 seconds in Google Meet, only on Firefox Steps to Reproduce: Whenever I join a Google Meet, for the first 5-10 seconds my audio is very quiet. On my side, I will hear an echo, and everyone else in the meeting almost can't hear me. The problem fixes itself within a couple of seconds, after which everything is normal.

I also have a Mac (14 inch MBPro M1 chip running Sonoma 14.3.1) with Firefox 122.0.1. (64-bit) where I don't have this problem. I have talked with our helpdesk team, but their only suggestion is switching to Chrome, because the problem doesn't occur there. That's not an acceptable solution to me because I stopped using Chrome for privacy and performance reasons.

The macbook I'm currently working on is new, I only had it for about a week or so. The problem has existed since day one. I found an old Bugzilla report from 2020 that seems to report the exact same issue: https://bugzilla.mozilla.org/show_bug.cgi?id=1636614

Browser Configuration
  • None

From webcompat.com with ❤️

ducoquelicot avatar Feb 13 '24 13:02 ducoquelicot

@ducoquelicot We appreciate your report. I was not able to reproduce the issue following the steps to reproduce

Tested with:

Browser / Version: Firefox Release 122.0.1 (64-bit) Operating System: Mac Ventura 13.1

Suggestion: Try clearing cache/data/cookies, disabling add-ons and Ad-blocker (if available) and extensions or use a clean profile, and check again? If there are any changes made to the default settings of the browser (e.g. in about:config) please revert to the default settings and try again. Also, have the required cookies been accepted for this page?

[qa_07/2024]

softvision-raul-bucata avatar Feb 15 '24 15:02 softvision-raul-bucata

I'm experiencing a similar issue in Google Meet and can reproduce it in a new profile. The sound from my mic is very quiet at first, but improves over several minutes.

I'm using a M3 Pro Macbook Pro, and am 99% sure this problem was introduced in either Firefox 122 or MacOS Sonoma 14.3. Meet worked perfectly fine before installing those updates.

Browser / Version: Firefox Release 122.0.1 (64-bit) Operating System: MacOS Sonoma 14.3.1 Tested Another Browser: Chrome

Palindromordnilap avatar Feb 19 '24 09:02 Palindromordnilap

@Palindromordnilap Thanks for that. I will move the issue.

[inv_08/2024]

softvision-raul-bucata avatar Feb 19 '24 11:02 softvision-raul-bucata

Hi, were you able to find a solution for this problem?

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: softvision-raul-bucata @.> Sent: Monday, February 19, 2024 12:26:49 PM To: webcompat/web-bugs @.> Cc: Fabienne Meijer @.>; Mention @.> Subject: Re: [webcompat/web-bugs] meet.google.com - see bug description (Issue #133374)

@Palindromordnilaphttps://github.com/Palindromordnilap Thanks for that. I will move the issue.

[inv_08/2024]

— Reply to this email directly, view it on GitHubhttps://github.com/webcompat/web-bugs/issues/133374#issuecomment-1952248605, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALIJ6TFPYVWKRPML3GDKHUTYUMZHTAVCNFSM6AAAAABDGQJ7LSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJSGI2DQNRQGU. You are receiving this because you were mentioned.Message ID: @.***>

ducoquelicot avatar Mar 18 '24 08:03 ducoquelicot

I'm experiencing a similar issue in Google Meet and can reproduce it in a new profile. The sound from my mic is very quiet at first, but improves over several minutes.

I'm encountering basically the same symptoms as @Palindromordnilap

  • M5 Max Macbook Pro
  • MacOS Tahoe (26.4.1)
  • Firefox 149.0.2

Chrome takes 2-3 seconds before my audio can be heard by other meeting participants; Firefox takes something like 20-30 seconds before I'm audible.

mkeeter avatar Apr 20 '26 18:04 mkeeter

Still reproducible on current macOS and Firefox. I have a clean A/B that may help with the needsinfo state: the delay only happens with the built-in microphone. An external USB microphone is audible immediately.

Environment

  • MacBook Pro (Mac15,3), Apple M3
  • macOS 26.3 (25D125)
  • Firefox 155.0.1
  • Chrome 152 on the same machine and network connects in a few seconds

Repro / workaround

Microphone Time until other participants hear me
Built-in "MacBook Pro Microphone" ~10s typically, ~30s at worst
FIFINE K670 USB microphone immediate

Hand-timed over several calls. Switching input device is the only change.

Both devices use VPIO, so that is not the difference

I initially assumed Firefox force-enables Apple's VoiceProcessingIO on built-in mics only. That is wrong. cubeb logs (about:logging, "Media playback" preset) show every input stream opening with voice processing in both cases:

built-in:  3 x  Opening input side: rate 48000, channels 1, ... prefs VOICE
USB:       2 x  Opening input side: rate 48000, channels 1, ... prefs VOICE
           1 x  Opening input side: rate 48000, channels 2, ... prefs VOICE

No unprocessed input stream is opened for either device.

The VPIO force list is not involved

The logs do contain Input device N is on the VPIO force list because it is built in, and its volume is known to be very low without VPIO ... in both sessions, but tracing it in cubeb-coreaudio-rs shows it is a red herring:

  • should_force_vpio_for_input_device is a single transport-type comparison (kAudioDeviceTransportTypeBuiltIn). It measures nothing; the "volume is known to be very low" wording is a static comment explaining the rule.
  • The messages we captured originate in get_channel_count(), i.e. device enumeration, where the rule is used to assume a mono channel count. That is why the USB-microphone session still logs it against the built-in device.
  • At the decision site, prefs().contains(StreamPrefs::VOICE) || should_force_vpio_for_input_device(...) short-circuits, and prefs VOICE was already set on every stream, so the force list was never consulted for either device.

Voice processing here comes from the VOICE stream pref that Gecko passes down, not from the force list.

Voice processing is enabled despite Meet asking for raw audio

Meet requests unprocessed audio and runs its own gain control in-page. In Chrome, its getUserMedia constraints are:

{"echoCancellation": {"exact": false},
 "autoGainControl":  {"exact": false},
 "noiseSuppression": {"exact": false},
 "voiceIsolation":   {"exact": false},
 "latency": {"ideal": 0.01}, "channelCount": {"ideal": 1}}

Every input stream nevertheless opens with prefs VOICE, so Gecko applies platform voice processing on top of a signal the page asked to receive raw. media.getusermedia.audio.processing.platform.enabled=false does not change this.

The built-in mic cannot be opened without VPIO (two independent paths)

media.getusermedia.microphone.prefer_voice_stream_with_processing.enabled is the only thing that ORs CUBEB_STREAM_PREF_VOICE into the input params on macOS (GetDefaultStreamPrefs returns NONE; the RAW flag is XP_WIN-only). Setting it false does remove the stream pref -- and changes nothing, because the force list then becomes load-bearing. All 219 input-stream openings in that session logged:

Opening input side: rate 48000, channels 1, format Float32LE, layout 0x0,
  prefs 0x0, latency in frames 256, voice processing true.

prefs 0x0 with voice processing true is the force list catching what the pref no longer sets, exactly as prefs().contains(VOICE) || should_force_vpio_for_input_device(id) implies. So on macOS there is no configuration in which Firefox opens a built-in microphone without Apple voice processing, which means Meet's {exact: false} processing constraints cannot be honoured on this hardware.

That pref combination is also independently broken

Worth flagging separately: with that pref false the microphone produced no audible audio at all, not merely delayed audio. The session shows the input stream being re-created in a loop -- 219 openings across 31 distinct stream objects -- with 209 underrun during resampling: got 255 frames, expected 258 errors, while the hardware reports mSampleRate: 44100.0 against a requested 48000. I have not chased the loop's trigger. Reproducible by setting that single pref false on macOS with the built-in mic.

That mismatch is the same for both microphones, so it does not by itself explain why only the built-in one is delayed. A plausible remaining hypothesis is that Meet's in-page gain control takes several seconds to converge on the quieter built-in signal and none on a hotter external mic, which would match this issue's title and @Palindromordnilap's "very quiet at first, but improves over several minutes". I have not measured audio levels, so that part is speculation -- but the device A/B above is reproducible regardless.

The delay is not audio-stack setup time

log stream --predicate 'subsystem BEGINSWITH "com.apple.coreaudio"' across full 2-minute calls shows the audio side settling quickly, then idling. On a cold-start call, input_running changed state 4 times between 11:56:30.679 and 11:56:32.001, settled at 11:56:33.854 (~3.2s after the first input start), then logged nothing but a 3-6 event idle heartbeat for the remaining ~110 seconds:

11:56:29      67
11:56:30     959
11:56:31    1177
11:56:32     232
11:56:33      28
11:56:41       3   <- idle heartbeat only, to end of call

No capture contains any event near the 30-second mark. A second capture, taken while Firefox already had an active PlayAndRecord session, totals 154 lines over 2 minutes with zero VoiceProcessor lines and no input-side work.

This suggests the VoiceProcessingIO creation cost addressed in bug 1880244 / bug 1903002 does not account for the residual delay on Firefox 155.

ICE detail, in case it is relevant

about:webrtc, identical across two calls. Meet supplies an empty iceServers list and answers a=ice-lite, and Firefox gathers no srflx candidate:

Raw Local Candidate
  host(IP4:192.168.50.203:49677/UDP)
  host(IP4:192.168.50.203:54384/TCP) active
  prflx
  prflx active

All host candidate pairs fail; the pair carrying audio uses a peer-reflexive local candidate, which can only be discovered during connectivity checks:

ICE State  Nominated Selected  Local Candidate                 Remote Candidate          Bytes sent
succeeded  true      true      169.1.217.53:54181/udp(prflx)   74.125.250.248:3478/udp    1513634
failed     false     false     192.168.50.203:49677/udp(host)  74.125.250.248:3478/udp          0
failed     false     false     192.168.50.203:49677/udp(host)  74.125.250.248:19305/udp         0
failed     false     false     192.168.50.203:54384/tcp(host)  74.125.250.130:19305/tcp         0

I suspect this is not the cause, since switching microphone fixes the delay while leaving the network path unchanged. Included for completeness. Once connected the link is healthy: 0 packets lost, ~25 ms RTT.

Prefs tried, with no effect

  • media.getusermedia.audio.processing.platform.enabled=false -- no change; VoiceProcessor still created.
  • media.peerconnection.ice.obfuscate_host_addresses=false -- no change.
  • media.peerconnection.default_iceservers set to a Google STUN server -- no change and no srflx candidate appeared, presumably because Meet passes an explicit empty iceServers array rather than omitting it.

Ruled out

  • Split-tunnel VPN (OpenVPN Connect): identical delay with the tunnel up and down.
  • Endpoint security (Sophos): its network extension logged 71 TCP flows and zero UDP flows during a 2-minute call, so it does not intercept WebRTC media.
  • Microphone contention: corespeechd held the input device for an entire call while audio started working anyway.
  • UDP egress: STUN binding requests to stun.l.google.com:19302 succeed in ~27 ms.
  • Input volume 100; mic mode Standard, not Voice Isolation. NDI virtual audio devices installed but not selected and inactive in all captures.

Workarounds

  • Use an external microphone (works immediately).
  • The leave-call-and-rejoin sequence from bug 1636614 has no effect on current Meet.

SwCharlie avatar Sep 17 '26 11:09 SwCharlie

Thanks for the report. I was unable to reproduce, but based on the data you provided think it is likely a valid issue.

Valid issues are moved to our Bugzilla component; please see: https://bugzilla.mozilla.org/show_bug.cgi?id=2074016

Closing as moved.

[inv_38/2026]

softvision-raul-bucata avatar Sep 21 '26 09:09 softvision-raul-bucata

I am still experiencing this issue and it's the reason why I cannot use firefox for work. Just putting my +1 here. No issues on Chromium-based browsers.

andrejbalazdesign avatar Nov 03 '26 14:11 andrejbalazdesign