mirror of
https://github.com/livekit/livekit.git
synced 2026-11-23 11:11:39 +00:00
Do not double count NACK miss in sfu.DownTrack (#536)
This commit is contained in:
1 parent
ed00146937
commit
5a9da8bee2
1 file changed
+1
-2
@@ -1068,11 +1068,10 @@ func (d *DownTrack) retransmitPackets(nacks []uint16) {
|
||||
pktBuff := *src
|
||||
n, err := d.receiver.ReadRTP(pktBuff, uint8(meta.layer), meta.sourceSeqNo)
|
||||
if err != nil {
|
||||
d.rtpStats.UpdateNackMiss(1)
|
||||
nackMisses++
|
||||
if err == io.EOF {
|
||||
break
|
||||
}
|
||||
nackMisses++
|
||||
continue
|
||||
}
|
||||
var pkt rtp.Packet
|
||||
|
||||
Reference in new issue
Block a user