WebRTC getStats() results explained

3 Mar 2025 · 14 min
14:06

This transcript captures a technical walkthrough of the WebRTC RTCPeerConnection.getStats() API by Tsahi Levent-Levi and Philipp Hancke. They explain that getStats() returns a Promise resolving to a Map of RTCStats reports (each with id, type, timestamp and fields), describe how some fields act as pointers to other reports, and show two useful trees for analysis: the connectivity tree (transport → selected candidate pair → local/remote candidates) and the media tree (outbound/inbound RTP → remote RTP → codec → media source/playout). The discussion emphasizes practical guidance for locating the active transport/candidate pair and for comparing timestamps across calls to compute metric deltas.

Chapters

More from Tsahi

9:15
youtube.com

After 15 years of WebRTC, here is when I drop peer-to-peer

1mo ago
1:39
youtube.com

Why UDP won the real-time war #programming #webrtc #shorts

1mo ago
1:37
youtube.com

The Difference Between SFU And TURN Servers #WebRTC #RealTimeCommunications

2mo ago
1:43
youtube.com

Why server logs are useless for WebRTC #webrtc #getStats #observability

2mo ago
1:49
youtube.com

How does WebRTC even know a packet was lost?

2mo ago
1:42
youtube.com

WebRTC gives you every tool to watch your calls, then collects nothing

2mo ago
1:40
youtube.com

All green but calls are broken #qoe #dashboards #webrtc

2mo ago
14:03
youtube.com

Meta rebuilt AV1 for mobile scale. Should smaller teams follow? | Chats with Arin

2mo ago
1:16
youtube.com

Is your video API vendor ready for AI agents?

3mo ago
1:21
youtube.com

What "$4 per 1000 Minutes" Really Costs You (Video API Pricing)

3mo ago
1:30
youtube.com

How to Read the WebRTC Tools Hub in 90 Seconds

3mo ago
See all content