mirror of
https://github.com/livekit/livekit.git
synced 2026-03-31 06:45:43 +00:00
Increment NACK miss only if error is not EOF (#1061)
This commit is contained in:
@@ -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