How does WebRTC even know a packet was lost?

1 Aug 2026 · 2 min
1:49

In this brief tutorial, the speaker explains that WebRTC detects packet loss through RTCP receiver reports. The receiver counts incoming packets and periodically sends a report indicating how many packets were expected versus actually received. This "packets lost" metric enables the sender to adapt to network conditions by lowering bitrate, requesting retransmissions, or reducing video resolution. The speaker emphasizes that the loss data is available in the getStats API under the remote inbound RTP statistics, which reflect the receiver's view of the sender's stream. Developers often mistakenly look only at local outbound stats, which show what was sent, not what was received. By inspecting the remote inbound RTP stats, one can accurately diagnose call quality issues.

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: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
youtube.com

Advanced WebRTC: Where Every Course Stops

3mo ago
See all content