The RTCIceCandidatePairStats property lastPacketReceivedTimestamp indicates the time at which the connection described by the candidate pair last received a packet. STUN packets are not included.


lastPacketReceivedTimestamp = rtcIceCandidatePairStats.lastPacketReceivedTimestamp;


A DOMHighResTimeStamp object indicating the timestamp at which the connection described by pair of candidates last received a packet, STUN packets excluded.


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

Browser compatibility

BCD tables only load in the browser