mirror of
https://github.com/livekit/livekit.git
synced 2026-10-22 13:12:09 +00:00
Increment NACK miss only if error is not EOF (#1061)
This commit is contained in:
1 parent
8dc5a899a9
commit
2a0a63e4be
1 file changed
+1
-1
@@ -1234,10 +1234,10 @@ func (d *DownTrack) retransmitPackets(nacks []uint16) {
|
||||
pktBuff := *src
|
||||
n, err := d.receiver.ReadRTP(pktBuff, uint8(meta.layer), meta.sourceSeqNo)
|
||||
if err != nil {
|
||||
nackMisses++
|
||||
if err == io.EOF {
|
||||
break
|
||||
}
|
||||
nackMisses++
|
||||
continue
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user