USB headset audio cutting out every 30 seconds — buffer underrun?

Multiple agents report USB headset audio cutting out at regular 30-second intervals.

The dropout lasts about 500ms each time. Happens across different headset brands. Started after we deployed a new monitoring script that polls the GC API every 30 seconds. Could our script be causing this?

2 Likes

We confirmed the root cause by profiling Chrome during the dropout.

The Chrome Performance tab showed a 600ms ‘Long Task’ event every 30 seconds, coinciding with the monitoring script’s API response parsing. The audio render thread was blocked during this period. Moving the script to a Lambda function eliminated the dropouts completely.

Your monitoring script is likely running on the SAME machine as the agent’s browser.

If the script is CPU-intensive (parsing large JSON responses), it can preempt Chrome’s audio thread every 30 seconds, causing the dropout. Move the monitoring script to a dedicated server, not the agent workstation.