RTCIceCandidatePairStats.packetsReceived

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.

Syntax

packetsReceived = rtcIceCandidatePairStats.packetsReceived;

Value

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.

Specifications

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
packetsReceived
No
No
No
No
?
No
No
No
No
?
No
No

© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/RTCIceCandidatePairStats/packetsReceived