The packetsReceived property of the RTCInboundRtpStreamStats dictionary returns the total number of RTP packets received from the synchronization source (SSRC) of this stream, including retransmissions.
packetsReceived
RTCInboundRtpStreamStats
A positive integer value.
RTCInboundRtpStreamStats.ssrc
packetsLost
packetsDiscarded