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

Specification
Identifiers for WebRTC's Statistics API (WebRTC Statistics)
# dom-rtcicecandidatepairstats-packetsreceived

Browser compatibility

BCD tables only load in the browser