Back to Blog

Pasting a dump into Claude works. For one call

Debugging WebRTC with an LLM works on one dump. It can't tell you which of this week's sessions to read. Keep the LLM, feed it the right sessions.

Posted by

One WebRTC session picked out of thousands for an LLM to read

You downloaded the dump, dropped it into Claude, and got a reasonable answer about why the call went bad.

I've done it myself, and when I asked a few clients and vendors, their experience matched mine: it works. Mostly. Sometimes it never reaches the root cause, or it confidently blames the wrong culprit. But it is better than nothing. And let's face it: Claude has made us all lazy, so if it is correct half the time, we're happy.

Debugging WebRTC with an LLM is a legitimate way to read one session, and teams we talk to do exactly that instead of buying anything. The trouble starts with the next question: which call should you be pasting in the first place?

Debugging WebRTC with an LLM works on one call

The model sometimes gets it wrong, and we covered why in how to debug a webrtc-internals dump with AI. Give a good model a dump and a specific question, and it will often get you somewhere useful.

Look at what had to happen before that answer, though. A user complained. Someone got them to open chrome://webrtc-internals, reproduce the problem and send the file. You picked the right peer connection. The model read one session, because one session is what you handed it.

That is a support workflow. Monitoring starts before anyone complains.

Where the paste-it-in approach hits the wall

Vibe pasting your troubles away with webrtc-internals in Claude prompts breaks in two places.

The first is selection. Many bad calls never become a ticket. The user drops, rejoins, mutes video or gives up. The calls that do get reported arrive as a sentence ("I couldn't hear the customer" or "the video felt choppy and frozen"), without a dump. And the questions that matter for a product are about many sessions at once: is it this user or everyone on Safari, did last Tuesday's release make things worse, how many calls this week had audio that cut out. You know what? I'd like to know if users this week had a better calling experience than last week. Or what percentage of calls on our network were bad. You can't paste a week of traffic into a chat window and ask. Something has to go through all of it first and hand the model the ten sessions worth reading.

The second is meaning. General models know a lot about Kubernetes and very little about what it means when the average jitter buffer delay (jitterBufferDelay / jitterBufferEmittedCount) climbs while packetsLost stays flat. One engineering team told us the model does fine on reading the numbers, and falls short on explaining what a pattern means and on tying a session back to the rest of their calls, where it often reaches the wrong conclusion. That is the knowledge a WebRTC team builds over years, and it is not sitting in the base model waiting to be recalled.

Keep the LLM, change what it reads

Keep the LLM and put something in front of it.

That something is what rtcStats does. Every session you send gets collected, and on the Developer plan each one is turned into Observations (the moments that hurt quality), Deductions (which areas they point to) and an Experience Score. They come from rules written by people who have debugged WebRTC for a living, and refined with our own AI agents, so the same session gets the same answer every time.

Then your agent asks the questions it could never ask of a pile of dumps. Over our MCP server, also on the Developer plan, Claude Code or Cursor can list the sessions with a low Experience Score, only on Safari, only with network-related Observations, and pull the full analysis of the few that match. When it hits an Observation type it doesn't understand, it asks for our explanation of it instead of guessing.

Your agent still solves the problem: it has the context of your application that we don't have. It just starts from the right ten sessions instead of the one somebody remembered to send.

When pasting a dump is enough

If you debug a handful of calls a month, each one comes with a dump attached, and the question is about that one call, keep pasting. You don't need a pipeline for that. Bear in mind that it will misdirect you in some cases. That's what we've experienced and have been told by others.

It stops being enough when the volume grows, when the complaints arrive without files, or when someone asks you a question about all your calls rather than one of them.

That last question is what our new Overview dashboard answers: the Experience Score across all your calls, and what to fix first. It is part of the Developer plan, and we'd be happy to walk you through it live. Contact us to schedule a demo.

The Overview page with the Experience Score, the score distribution and the score of each observation domainThe Overview page with the Experience Score, the score distribution and the score of each observation domain

If you build, build on the rtcStats open source

If you do build this yourself, don't start by building collection. The collection layer, rtcstats-js in the client and rtcstats-server in your infrastructure, is open source in the rtcStats monorepo. Your raw data stays with you, and nothing gets forwarded to us unless you turn it on.

On top of that, decide whether you want to build the part that reads every session and picks the ones worth reading, or let your agent call ours. That is the trade I laid out in rtcStats vs building it yourself.