WhatsApp Connector: agent audio clean in the room, fuzzy on the caller's phone on some calls

We answer inbound WhatsApp calls from Kenya with the WhatsApp Connector (beta) and a Node.js agent (agents-js 1.9, Gemini Live, worker in Germany 2). On some calls the caller hears the agent as fuzzy or muffled for the whole call. Other calls from the same phone, minutes apart, are clear.

We’ve narrowed it to the connector ↔ Meta leg:

  • On a fuzzy call, a hidden subscriber in the same room hears the agent’s track crystal clear while the phone hears fuzz.
  • The Agent insights recording is clean, and the agent output peaks around −1 dBFS with no clipping.
  • Meta’s offer is identical on clear and fuzzy calls: Opus, maxaveragebitrate=20000, maxplaybackrate=16000, useinbandfec=1, same relay.
  • It isn’t the connector region: we’ve had clear and fuzzy calls with the connector in both Jeddah and Frankfurt.
  • Switching the phone between Wi-Fi and mobile data doesn’t change it.

Questions:

  1. Can we see packet loss, jitter, bitrate or any concealment for the connector → Meta direction? The session page has no stats for it.
  2. Does the connector re-encode the agent’s audio for WhatsApp, and could its encoder settings vary per call (bitrate, bandwidth, FEC)?
  3. Has anyone else seen per-call quality differences on the WhatsApp leg?

Happy to share session IDs privately with LiveKit staff.

Hi LiveKit support - if you read this, here’s a pair of sessions that had the problem. The first was clear in the whatsapp call. The second was fuzzy.

They started 20 seconds apart, from the same phone, with the same relay, the same codec offer and the same connector region.

clear

https://cloud.livekit.io/projects/p_2nfar0hkel6/sessions/RM_uP3r2hKNjXMq/observability?mode=metrics

fuzzy

https://cloud.livekit.io/projects/p_2nfar0hkel6/sessions/RM_gAst6LEpk4BN/observability?mode=metrics

┌─────────────────┬───────┬──────────────┬──────────────┬───────────────┐
│     Session     │ Heard │  Connector   │    Agent     │  Meta relay   │
├─────────────────┼───────┼──────────────┼──────────────┼───────────────┤
│ RM_uP3r2hKNjXMq │ clear │ ofrankfurt1b │ ofrankfurt1b │ 57.144.139.49 │
├─────────────────┼───────┼──────────────┼──────────────┼───────────────┤
│ RM_gAst6LEpk4BN │ fuzzy │ ofrankfurt1b │ ofrankfurt1b │ 57.144.139.49 │
└─────────────────┴───────┴──────────────┴──────────────┴───────────────┘

Can you get a recording of what the “fuzzy” call sounds like? In the observability view, they both sound very similar, and the “fuzzy” one actually has a slightly better noise floor in the recording.

Hey @CWilson
Here’s a recording from my phone onto my laptop https://drive.google.com/file/d/1d9j-Ik_jq7yzgBXx7elcGgbCjNwZBiwK/view?usp=sharing - it’s pretty low quality, but I think it gets the point across.

Here’s the corresponding LiveKit session. https://cloud.livekit.io/projects/p_2nfar0hkel6/sessions/RM_ncWKQMFCJNYx/observability?mode=metrics&t=1793039449655 It also sounds clear, like the two sessions I shared previously.

So… it seems like something in the connector or Meta jumps is going wrong, but I haven’t been able to track it down any further. It’s late in my timezone, but happy to assist in any way tomorrow.

A “good call” with recording on both sides would actually be helpful from your end. So we can compare them.

Here’s clear and fuzzy recordings for the same line.

Good / clear

https://cloud.livekit.io/projects/p_2nfar0hkel6/sessions/RM_vsKuH7RZLtEk/observability?mode=metrics

CLEAR  RM_vsKuH7RZLtEk  job AJ_MsvfCLM7EShx  2026-10-27 11:55:59–11:56:23 UTC
Meta call id wacid.IhggMDA0QjRCMEI5MEQzMTJFOUQ5MzJDN0UxMjFERkJCMTYcGAwyNTQxODMxOTc4MDMVAgAVGAA=
connector ofrankfurt1b, agent ofrankfurt1b

Bad / fuzzy

https://cloud.livekit.io/projects/p_2nfar0hkel6/sessions/RM_W85LnmPFLeP7/observability?mode=metrics

FUZZY  RM_W85LnmPFLeP7  job AJ_BM277UAAs5nW  2026-10-27 11:43:12–11:43:39 UTC
Meta call id wacid.IhggMDA5MDk1M0YwRTkzQUNGREIzMzMxMkIzQzZBRkRENDEcGAwyNTQxODMxOTc4MDMVAgAVGAA=
connector ojeddah1a, agent ofrankfurt1b

Identical on both: Meta relay 57.144.139.49:3480; Opus offer maxaveragebitrate=20000;
maxplaybackrate=16000;minptime=20;sprop-maxcapturerate=16000;useinbandfec=1, ptime 20;
agent output peak -1.2 / -0.3 dBFS, RMS about -11.5 dBFS, no clipping; Agent insights recordings clean.

On an earlier fuzzy call a hidden subscriber in the room heard the agent track clean while the phone
heard fuzz, so we think the degradation is on the connector → Meta leg. Region alone doesn’t explain it:
we’ve had clear and fuzzy calls with the connector in both ojeddah1a and ofrankfurt1b.

(btw, sorry for the non-clickable session link, the forum wasn’t letting me post with the link : “sorry you can’t post a link to that host”)

@Mark_Nuttall-Smith, I pulled both clips and measured them. Both roll off at 8 kHz, so the WhatsApp leg is wideband Opus on the clear and fuzzy call alike. The band is not narrower on the bad one. The damage is inside the band: on the fuzzy call the harmonics smear, the dynamics collapse (crest factor about 19 dB clear vs 11 dB fuzzy, peaks lower but average held), with quantization noise leaking above 8 kHz. No dropouts, continuous for the whole clip, and not clipping. That is a low-bitrate Opus encode held low for the call, not packet loss and not a bandwidth change.

So on Q2: an identical offer only caps the receiver side. The connector re-encodes (“resampling, mixing, and codec translation”, connectors/whatsapp), and that egress encoder’s real rate can adapt down on a congested path, which the SDP never shows. That leg lives in the Cloud connector, so the session page has no stats for it; your paired session IDs are what the team needs to read it.

It also fits the one variable that flips in your pair: the fuzzy call ran the connector in ojeddah1a with the agent in ofrankfurt1b, cross-region, while the clear call had both in ofrankfurt1b. A worse agent-to-connector or connector-to-Meta path is what drives an Opus rate controller down for a whole call. Bucket clear vs fuzzy by whether the connector region matched the agent region; if fuzz tracks the cross-region calls, that is the smoking gun.

Thanks Muhammad, that measurement is very useful: wideband on both calls, with a low-bitrate encode held for the whole fuzzy call.

I tested the cross-region idea. The agent always runs in ofrankfurt1b, so since this morning we’ve passed destinationCountry: "DE" on AcceptWhatsAppCall to keep the connector there too. It was followed on every call: connector and agent both in ofrankfurt1b. The fuzz still comes and goes:

Time (UTC, 28 Oct) Session Connector / agent Heard Meta call ID
06:12:35 RM_fRqNJH9dcpDk ofrankfurt1b / ofrankfurt1b clear wacid.IhggMDAzNDVCQjlGMzZBMjdGQkU5MzEwQUExRkE1NUZDOTYcGAwyNTQxMTY3OTA0MjEVAgAVGAA=
06:13:02 RM_ohWBEYhGURw6 ofrankfurt1b / ofrankfurt1b clear wacid.IhggMDA3MDVDRUI2NDNDNzY3NzY4NTFGODAzMDk0ODJBOTccGAwyNTQxODMxOTc4MDMVAgAVGAA=
07:19:18 RM_7FSNXEgEn4wM ofrankfurt1b / ofrankfurt1b clear wacid.IhggMDA2MTgwMTEyNDJDQUUzMTM0QzA2M0U0MUU4OTRFNTEcGAwyNTQxODMxOTc4MDMVAgAVGAA=
07:19:37 RM_kcbpiFMRTCR9 ofrankfurt1b / ofrankfurt1b fuzzy wacid.IhggMDAxQUQ1QzlFRUY2RjA1MjMxNkU0MkE1NzA5RDkwNkUcGAwyNTQxMTY3OTA0MjEVAgAVGAA=

That’s the third fuzzy call with connector and agent in the same region, after RM_gAst6LEpk4BN (post 2) and one earlier. Counting all our calls before the pinning, 4 of 7 cross-region calls were fuzzy and 2 of 5 same-region ones. So cross-region may raise the odds, but it isn’t what drives the encoder down.

Everything we can see was the same on RM_kcbpiFMRTCR9 (fuzzy) and RM_7FSNXEgEn4wM (clear), 19 seconds apart from the same phone:

  • Meta relay 57.144.139.49:3480
  • Opus offer maxaveragebitrate=20000;maxplaybackrate=16000;minptime=20;sprop-maxcapturerate=16000;useinbandfec=1
  • agent output peaks −0.8 / −1.5 dBFS, RMS −12.2 / −11.7 dBFS, no clipping
  • Meta’s terminate webhook: COMPLETED with no errors on both

@CWilson, could the connectors team read the connector’s egress encoder for these pairs? Specifically the target bitrate over the call, the bandwidth estimate, and RTCP loss and RTT on the connector ↔ Meta leg:

  • fuzzy RM_kcbpiFMRTCR9 against clear RM_7FSNXEgEn4wM (above, both in ofrankfurt1b)
  • fuzzy RM_gAst6LEpk4BN against clear RM_uP3r2hKNjXMq (post 2, both in ofrankfurt1b)
  • fuzzy RM_W85LnmPFLeP7 against clear RM_vsKuH7RZLtEk (post 6, with recordings)

If the encoder settles low early and stays there, is there a way to set a minimum or starting bitrate for the WhatsApp leg? Meta’s offer allows up to 20 kbps.

We have reviewed the calls and all the data available to us. The calls look identical on our side. We are adding more diagnostic data to make it easier to identify what might be happening.

I will follow up when I hear more from the connectors team.

Hey @CWilson, any update from the connector team? I’m happy to try and trigger the issue again when the extra monitoring is in place

I do not have an update yet. I believe the connector team is trying to get the additional logging out in the next week or so.

Hi @Mark_Nuttall-Smith, Pawel from ai-coustics here. Do you have a way to put numbers on the clear vs. fuzzy difference? It might help you guys to narrow it down.

Out of curiosity I ran the two recordings from this thread through Tyto, a speech-quality scorer we build, and fuzzy scored 0.41 risk with 43% of the audio degraded, while clear scored 0.03 with nothing degraded.

The top driver on the fuzzy call was packet-loss. However, mind that these are estimated from the audio itself, not from network stats, but they line up with your theory that the degradation happens on the connector to Meta leg. If you capture a few more calls, I’m happy to score them too and see whether the pattern holds.

Pawel, I don’t think those issues sound or were caused by packet loss.

Worth reconciling the last two posts, because I don’t think the Tyto numbers and what @CWilson said actually conflict.

In that table, the clear call already scores 0.38 on packet loss and sounds fine. Fuzzy is 0.64. So loss is read on both and doesn’t separate them cleanly. The columns that move are noise, 0.06 to 0.48, and codec degradation, 0.17 to 0.36. Noise is the largest relative jump in the row, and “quantization noise leaking above 8 kHz” is exactly what Muhammad measured directly in post 7. A scorer working from audio alone will often read low-bitrate codec artifacts as loss concealment, since both smear harmonics the same way. So I’d read Tyto as agreeing with post 7, not contradicting it.

If that holds, one test separates the two explanations that are left, and it doesn’t need the connector logging.

Both posted clips are 8 and 11 seconds. That is too short to see whether the encoder ever recovers. A rate controller that dropped on a congested path should ramp back up once the path clears. An encoder that came up low and never ramps will not.

So take one fuzzy call and hold it for two or three minutes with the agent talking throughout, then check whether it is fuzzy end to end or clears partway:

  • clears partway, then it is congestion response, and the question becomes what the path did
  • fuzzy for the full three minutes, 20 seconds after a clear call on the same relay, then it isn’t adaptation and the starting bitrate is the thing to read

On the region split: 4 of 7 against 2 of 5 is twelve calls. I wouldn’t read the gap either way yet.

I’ve never listened to a fuzzy call for three minutes, but I’m sure its stayed fuzzy for at least one minute. I’ve never heard it recover.

That helps. I ran the matching check on the two clips in post 6 — per-second crest factor inside each file, the measure used in post 7.

        sec0   sec1   sec2   sec3   sec4   ...   last    mean
clear   23.6   23.2   21.2   21.5   19.8         21.3    21.6 dB
fuzzy   16.6   16.6   21.3  (27.8)  16.1         19.2    17.6 dB

The fuzzy call is already degraded in its first second: 16.6 dB against 23.6 dB on the clear one. It doesn’t start clean and fall away. It is low from the opening second and stays there for the whole 11 seconds, which lines up with never hearing it recover across a minute.

Caveat on the numbers: both clips are acoustic re-recordings, so the absolute values are contaminated and the gap here is narrower than the 19 vs 11 dB measured on cleaner material in post 7. What I’d trust is the direction and the flatness within each file, not the absolute dB. One row to ignore: fuzzy second 3 reads 27.8 dB but sits at -50.8 dBFS, so it is a pause and the crest there means nothing.

So nothing ever ramped. That points away from a rate controller adapting down during the call, and toward the encoder coming up low at setup and staying there.

@CWilson if the connector logging is still being put together, the first two seconds look like where the answer is: the initial target bitrate and the bandwidth estimator’s starting state, rather than a trace across the whole call.