
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.










