Quality, Testing & Rescue · November 26, 2026 · Maryna Poplavska

Debugging WebRTC with chrome://webrtc-internals: A Rescue Engineer’s Checklist

Debugging WebRTC with chrome://webrtc-internals: A Rescue Engineer’s Checklist

By Maryna Poplavska, Lead Project Manager · Last updated 19 November 2026

Tested on Chrome 156.0.8078.79, 2 November 2026, in a local lab: two peer connections in one page, Chrome’s fake camera and microphone, a local TURN server.

chrome://webrtc-internals is Chrome’s built-in WebRTC diagnostics page. For every RTCPeerConnection it records the app’s API calls, the SDP offers and answers, the ICE candidates and pairs, and getStats() results with graphs, all downloadable as a webrtc internals dump. It answers one question well: on this client, in this call, which layer failed? It can’t show what the other participant, the SFU or the TURN server saw. Below: a reading order, a symptom lookup, the page’s blind spots and what to send a specialist.

Key takeaways

  • Open the page before the call. Opened mid-call, it lists the connection but not its history.
  • Read in a fixed order: states, candidate pair, DTLS, bytes, quality counters, event log. Note the first fault and keep going: failures stack.
  • Read trends, and compare like with like: sender with receiver, or each client with the SFU.
  • It shows only this client’s view. If the browser looks healthy, look at the SFU, the TURN server or the other client.
  • A dump contains network addresses and session descriptions. Redact it before sharing.

Not the engineer on the incident? Jump to What should you send a specialist? and How does Trembit use this in a rescue?, or book a free 30-minute technical call.

What does chrome://webrtc-internals actually record?

Each peer connection gets its own tab with:

Annotated webrtc-internals tab from a healthy test call: states, selected candidate pair, DTLS, stats rows and event log
  • State history for signalling, ICE and connection, e.g. new => "checking" => "connected".
  • The selected candidate pair (“ICE Candidate pair:”) and an ICE candidate grid.
  • An event log of every API call and event, with the full SDP.
  • Stats tables and graphs for every getStats() object (active pair in bold), plus rates the page computes itself.

When it records. Per Chromium’s source for the page (read 19 November 2026), it writes the event log and polls stats (once a second by default) only while a webrtc-internals tab is open (Chromium source), and stops polling when ICE reports failed, disconnected or closed. In our test, a tab opened 15 seconds into a call listed both connections, but its log began at setLocalDescription.

How do you capture a dump that someone else can actually use?

  1. Open chrome://webrtc-internals in a new tab before the call.
  2. Reproduce the problem, and keep the call running past the failure.
  3. Note the time, the Chrome version (chrome://version) and the network.
  4. Pick the right connection. Apps may open several per call; match by URL and creation time.
  5. Open “Create a WebRTC-Internals dump” and click “Download the ‘webrtc-internals dump'” (webrtc_internals_dump.txt, or .gz with “Compress result”). “Download the ‘rtcstats dump'” offers an alternative format.
  6. Download before closing the tab. Closing the last one discards the log.

The version a support engineer sends a user:

  1. Before you join, open a new Chrome tab and go to chrome://webrtc-internals.
  2. Join the call in another tab and wait for the problem to happen.
  3. In that first tab, click “Create a WebRTC-Internals dump”, then “Download the ‘webrtc-internals dump'”.
  4. Send us the file and roughly what time the problem started.

Redact before you share. The dump holds each connection’s configuration, event log and stats, including the SDP (ICE credentials, certificate fingerprints) and the ICE candidates. In our test it listed TURN server URLs but no credentials. Host candidates carried the real private IP, as they do once a page has camera or microphone permission (otherwise Chrome may use an mDNS .local name). Keep the diagnostic audio and DataChannel recordings off on patient or customer calls: they save audio and messages.

Collecting from real users. For repeat problems, build collection in: a third-party service, or your own collector that ships periodic getStats() snapshots and connection events to your backend. Sentry records client errors and any logs you send it (no WebRTC integration). rtcStats (rtcstats.com) is a commercial service: its open-source SDK collects full WebRTC stats, and its hosted analysis receives them unless you run the collector yourself.

In what order should you read it? The six-step triage

Note the first fault, but keep reading: a call can be relay-only and lossy. From a symptom, start where the table points. The steps map onto our five-layer rescue playbook, which covers the theory.

Step 1: Are the connection states where they should be? (Layers 1–2)

Look at the state history (W3C WebRTC 1.0 defines each value). Healthy: signalling back to stable, ICE connected or completed, connection connected.

  • Signalling stuck in have-local-offer/have-remote-offer: no answer was applied. Check that signalling delivered it and the app applied it. Gathering can run here; connectivity checks can’t.
  • ICE stuck at new: normal until remote candidates arrive. With gathering complete, zero local candidates and onicecandidateerror events, there was nothing to pair. In our test, rejected TURN credentials under a relay-only policy did exactly this.
  • ICE failed from checking: no pair ever worked. Go to step 2.
  • ICE failed after connected: the path stopped answering checks. Check network changes first; on a relayed pair, also TURN credential and allocation lifetime.
  • ICE connected, connection failed: the spec fails the connection if ICE or any DTLS transport fails. Go to step 3.
  • disconnected can recover on its own; failed needs an ICE restart.

Step 2: Which candidate pair was selected, and what type is it? (Layer 2)

Look at the transport object’s selectedCandidatePairId, then that candidate-pair and its two candidates. Each has a candidateType (RFC 8445): host (the device’s address), srflx (its public address as STUN saw it), prflx (found during checks) or relay (a TURN address). A local relay candidate’s relayProtocol is how this client reached TURN.

webrtc-internals: a call relayed via TURN, and a call with rejected TURN credentials: no candidate pair, onicecandidateerror
  • Local candidate is relay: every packet goes via TURN; check currentRoundTripTime. tcp or tls suggests UDP to the relay wasn’t available, or that your iceServers list only TCP/TLS URLs. If only the remote candidate is relay, the other client needs TURN.
  • No relay candidates despite configured TURN: no allocation; step 6 says why. Test the server in our free Trickle ICE test.
  • Host candidates only: UDP egress is probably blocked, or no STUN/TURN is configured.
  • No usable remote candidates: they never arrived (check signalling), or one is an mDNS .local name this network can’t resolve.

Step 3: Did DTLS complete? (Layer 3)

Look at dtlsState on the transport object. Healthy: connected, with tlsVersion and srtpCipher filled in.

  • failed: the handshake failed or timed out. Compare the a=fingerprint in the remote SDP with the far side’s local SDP; a stale or mismatched SDP from a signalling or SFU bug won’t match.
  • Stuck in connecting with ICE connected: handshake packets aren’t getting through, or the sides disagree on who starts (dtlsRole).

Step 4: Are bytes moving, and are frames decoded? (Layer 4)

Compare like with like. Peer-to-peer: the sender’s outbound-rtp against the other client’s inbound-rtp for the same SSRC. Through an SFU the legs are independent, and SSRCs and simulcast layers can differ, so compare each client with the SFU’s view of its leg. Healthy: bytes climb for every expected track, both ways.

  • Sent, never received: the one-way media signature, a path, forwarding or SFU-subscription problem, not the camera.
  • bytesSent flat: the cause is before the network (track, device, encoder) or in the SDP: an inactive/recvonly m-line or no common codec means nothing is sent.
  • Bytes arrive, framesDecoded flat: a decode problem, either no keyframe yet (is pliCount climbing?) or a decoder error.
  • framesDecoded climbs, screen black: stats prove decoding, not rendering. Check the app: track not attached, or autoplay policy.
  • Audio flows, nobody hears it: packets carry silence too. Check audioLevel on the sender’s media-source and the receiver’s inbound-rtp.

Step 5: What do the quality counters say? (Layer 4; Layer 5 with an SFU)

These receiver inbound-rtp fields are cumulative counters (W3C stats spec):

Healthy test call at 1280×720 versus a sender-capped call at 480×270, with time spent in qualityLimitationReason bandwidth
  • packetsLost
  • concealedSamples: audio synthesised for lost or late samples
  • framesDropped, freezeCount and totalFreezesDuration
  • nackCount and pliCount: retransmission and keyframe requests this side sent
  • jitterBufferDelay and jitterBufferEmittedCount

jitter itself is in seconds (RFC 3550). Use intervals, not call totals:

  • ΔjitterBufferDelay ÷ ΔjitterBufferEmittedCount between two samples is the recent average jitter buffer delay.
  • ΔpacketsLost ÷ (ΔpacketsReceived + ΔpacketsLost) is the recent loss ratio.

The candidate pair adds currentRoundTripTime (from STUN checks) and availableOutgoingBitrate. The sender’s outbound-rtp adds qualityLimitationReason (none, cpu, bandwidth, other).

Verdicts:

  • bandwidth points at the network, cpu at the device, but don’t rely on the field alone. In our test, a sender-side bitrate cap gave bandwidth and 480×270. Full CPU load dropped the frame rate into single digits without cpu ever appearing (one headless fake-camera run on loopback; even the healthy call read bandwidth for ~22 s). So cpu may not appear; watch framesPerSecond too.
  • Through an SFU, check each leg: uplink loss shows in the sender’s remote-inbound-rtp (the SFU’s report), downlink loss in the receiver’s inbound-rtp.

Commonly cited reference points. These were written for telephony, not WebRTC stats; use them for orientation, not as pass/fail lines:

  • Delay: ITU-T G.114 recommends not exceeding 400 ms one-way for network planning. Below 150 ms mouth-to-ear, most applications see “essentially transparent interactivity”. These stats can’t measure that. currentRoundTripTime and remote-inbound-rtp‘s roundTripTime are round trips, and half isn’t one-way delay: paths can be asymmetric, and capture, encoding, buffering and playout add more.
  • Loss: ITU-T G.1010 targets under 3% for conversational voice and under 1% for videophone, assuming packet-loss concealment; exact values depend on the codec. Compare with the interval loss ratio.
  • Jitter, freezes, concealment: we found no primary source that sets an end-user value, so we give none.

Step 6: What does the event log say happened? (all layers)

  • setLocalDescription/setRemoteDescription failures carry the browser’s error text.
  • onicecandidateerror carries the server URL, a code and text:

    • 401: the TURN server rejected the credentials (wrong or expired). Every allocation starts with a routine 401 challenge, which Chrome doesn’t report. Checked against the TURN server’s log: correct credentials drew that challenge and no error event, while a wrong password failed the authenticated retry and Chrome reported 401 once per connection. A 401 in a server log alone proves nothing.
    • 701: no local interface got a response from that URL. Causes include a firewall, the wrong port or transport, DNS, or a server that’s down. It’s per URL and interface, so it can appear while the call connects another way (another server, an IPv6 interface). We didn’t reproduce it.

    onnegotiationneeded firing repeatedly is a renegotiation loop.

    Which symptom points to which field?

    Start here from a complaint. The third column says what a pattern can mean, not how often.

    Symptom Where to look What it can point to Next move
    Never connects States; candidates; onicecandidateerror Signalling incomplete, no pair succeeded, TURN unreachable (701) or refusing credentials (401) Steps 1–2; our free Trickle ICE test
    Connects, then drops State changes; dtlsState; selectedCandidatePairChanges Path lost (network, NAT, relay, credential expiry), DTLS failure, app closing Step 1; does the app restart ICE?
    One-way audio or video Sender vs receiver, or each leg vs the SFU; framesDecoded Not arriving, not decoded, or a muted track Step 4
    Choppy audio Receiver concealedSamples, packetsLost, jitter Loss or jitter on one leg Step 5
    Frozen or low-res video Receiver freezeCount, framesDecoded; sender frame rate, qualityLimitationReason Sender limited, or receiver not decoding Step 5
    Fails only on office or hospital networks Candidate types; relayProtocol UDP blocked, or TURN unreachable on allowed ports See restricted corporate and hospital networks; run the WebRTC Troubleshooter there
    Fine for 2, bad for 10 Sender qualityLimitationReason, availableOutgoingBitrate Mesh upload growing per peer, or server limits Check the SFU topology and the server

    How do you read the graphs without fooling yourself?

    1. Bracketed names are the page’s own maths. [bytesReceived_in_bits/s], for example, doesn’t exist in getStats().
    2. Counters are cumulative. Read the rate, and don’t treat one bad sample as a trend.
    3. inbound-rtp vs remote-inbound-rtp: what this client received, versus the far end’s RTCP report on what you sent.
    4. bandwidth at the start can be normal. A healthy test call reported it for roughly its first 20 seconds, then none. That is consistent with bandwidth estimation ramping up.
    5. Graphs cover only polled time. They start when the tab opens and stop when ICE goes disconnected, failed or closed. After we stopped the TURN server mid-call, samples ended ~5 s later and never resumed. A gap or flat end means no samples, not zero traffic.
    6. Old screenshots, old names. googRtt and similar come from Chrome’s removed legacy getStats(); check names against the W3C spec.

    What can’t webrtc-internals tell you?

    • What the other side saw. That lives on the other client, the SFU and the TURN server.
    • The media server. Use the server’s own view:

      • Janus: the Admin API (off by default).
      • mediasoup: getStats() on transports, producers and consumers (no built-in metrics endpoint).
      • Jitsi Videobridge: /colibri/stats and /metrics.
      • LiveKit: Prometheus metrics, once enabled in the server config.

      Native apps and non-Chromium browsers:

      • Safari: Web Inspector’s Console settings have a “WebRTC Logging” level.
      • Android Chrome or WebView: chrome://inspect on desktop Chrome gives DevTools; call getStats() from the console (WebViews need debugging enabled).
      • Native libwebrtc apps: getStats() on the peer connection; on Android, Logging.enableLogToDebugOutput logs to Logcat.

      A fleet. For production, monitor getStats() metrics in production.

      What should you send a specialist (or your own team)?

      • [ ] The webrtc-internals dump, redacted, from the failing client (and the other client’s, if possible).
      • [ ] Browser, OS and network of the failing client.
      • [ ] When it started, and what changed then (release, infrastructure, new customer network).
      • [ ] STUN/TURN configuration: URLs, ports, transports. No secrets.
      • [ ] The SFU or media server and its version.
      • [ ] One working and one failing call from the same app.

      Add WebRTC Troubleshooter results from the affected network (a free tool we host, based on the open-source WebRTC samples). If you’d rather hand it over, this list is where a WebRTC rescue engagement starts.

      How does Trembit use this in a rescue?

      A rescue starts with a Rescue Assessment, a fixed-scope first step after the free call. Over about two weeks, we instrument before changing anything and deliver a written root-cause diagnosis naming the failing layer. It diagnoses and plans; it doesn’t fix. The evidence is candidate-pair dumps, SDP captures, DTLS state and getStats() traces, read against the five-layer rescue playbook. Rebuilds go to our WebRTC development team.

      A case: calls that failed from clinics, and what the same failure looks like in webrtc-internals

      For a telehealth product, a call that fails from a clinic is a visit that doesn’t happen. On a telehealth platform we inherited, calls dropped or never connected, worse from clinics than from home. There was one TURN server, in one region, on UDP only. Clinic networks blocked UDP, and with no TURN over TLS on 443 the relay failed; under load, the single relay also saturated. The fix:

      • multiple TURN servers across regions, on UDP, TCP and TLS 443
      • short-lived per-session (HMAC) credentials
      • monitoring on relay allocations and bandwidth

      How this pattern shows up in the page. This is its signature, not how the cause was found. From a clinic you would expect:

      • Step 2: host candidates only. STUN over UDP fails too, so there’s no srflx; with no TCP or TLS listener, there’s no relay.
      • Step 1: host pairs fail and ICE ends failed.
      • Step 6: onicecandidateerror 701 for the TURN URL, meaning unreachable, not the 401 of rejected credentials.

      A saturated relay looks different: connected relay pairs whose loss and RTT climb on many calls at once, which relay monitoring sees directly.

      Frequently asked questions

      Why is chrome://webrtc-internals empty, or missing the start of the call? It’s empty if no RTCPeerConnection exists yet, or the call isn’t running in this Chrome. Opened mid-call, it shows the connection but not what happened before.

      Does it work in Firefox, Safari or Edge? We tested Chrome only. Firefox has about:webrtc. For Safari, use Web Inspector’s WebRTC logging and getStats() from your app.

      How do I find the selected candidate pair? On the page it’s the pair in bold. In code, follow the transport object’s selectedCandidatePairId:

      const stats = await pc.getStats();
      stats.forEach((r) => {
        if (r.type === 'transport' && r.selectedCandidatePairId) {
          const pair = stats.get(r.selectedCandidatePairId);
          const local = stats.get(pair.localCandidateId);
          console.log(local.candidateType, local.relayProtocol, pair.currentRoundTripTime);
        }
      });
      

      What’s a “bad” jitter or packet-loss number? See the reference points under triage step 5, and read interval trends rather than single values.

      Stuck on a call that won’t behave? Book a free 30-minute technical call with our WebRTC rescue team. Describe the symptom and where signalling, TURN and the media server sit in your system, and you’ll leave with a first read on which layer is failing. No deck, no pitch.

Maryna Poplavska
Written by Maryna Poplavska Project Manager & Business Analyst

Related Articles

Ready to start?

Let Us Work Together

Tell us about your project and we'll get back within 24 hours.

Get in Touch