RTCRtpStreamStats.nackCount

The nackCount property of the RTCRtpStreamStats dictionary is a numeric value indicating the number of times the receiver sent a NACK packet to the sender.

A NACK (Negative ACKnowledgement, also called "Generic NACK") packet tells the sender that one or more of the RTP packets it sent were lost in transport.

Syntax

var nackCount = RTCRtpStreamStats.nackCount;

Value

An integer value indicating how many times the receiver sent a NACK packet to the sender after detecting that one or more packets were lost during transport.

Note: This value is only available on the receiver.

Specifications

Specification
Identifiers for WebRTC's Statistics API (WebRTC Statistics)
# dom-rtcinboundrtpstreamstats-nackcount
Identifiers for WebRTC's Statistics API (WebRTC Statistics)
# dom-rtcoutboundrtpstreamstats-nackcount

Browser compatibility

BCD tables only load in the browser