Short YouTube dialogue (by/ uploaded by Tsahi Levent-Levi) asking whether the packetsLost metric in WebRTC can decrease. Speakers explain that although one might expect packet loss to be a monotonically increasing counter, packetsLost can decrease when a previously-considered-lost packet is later recovered (for example via retransmission or RTX). The exchange emphasizes that initial loss detection can be reversed upon recovery.
Can packet slots decrease in WebRTC?
Yes, it can. Usually. That's not something you would expect because you would expect packets loss to be a counter that always monotonically increases because.
Well, if I lose a packet, it's another packet that got lost.
Yes, but the way we count them is that if that packet is somehow recovered, it will get rec reduced again and it can get recovered either from a plane resend or an RTX packet.
Okay, so it might be retransmission that gets it back. Just a delayed sending.
Yes.
Further correction or rtx, which is. Okay, so at some point we actually thought that it was lost, but then we found it.
Yes.
Okay, we had packet loss that got lost after that.
Yes. But I mean, it's confusing. If you expect the thing to be a counter that always increases, why does it go down?