The RTCIceCandidatePairStats dictionary's packetsReceived property indicates the total number of packets of any kind that have been received on the connection described by the pair of candidates.

The number of packets sent to date on the connection can be obtained using packetsSent.


packetsReceived = rtcIceCandidatePairStats.packetsReceived;


An integer value indicating the total number of packets, of any kind, which have been received on the connection described by the two candidates comprising this pair.


Specification Status Comment
Identifiers for WebRTC's Statistics API
The definition of 'RTCIceCandidatePairStats.packetsReceived' in that specification.
Candidate Recommendation Initial specification.

Browser compatibility

Update compatibility data on GitHub
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
packetsReceivedChrome No support NoEdge No support NoFirefox No support NoIE No support NoOpera ? Safari ? WebView Android No support NoChrome Android No support NoFirefox Android No support NoOpera Android ? Safari iOS ? Samsung Internet Android No support No


No support  
No support
Compatibility unknown  
Compatibility unknown