Remove unused with move to RTPStats (#516)

This commit is contained in:
Raja Subramanian
2022-03-15 23:01:37 +05:30
committed by GitHub
parent c0d9937125
commit 4d1cc82c89
3 changed files with 3 additions and 70 deletions
-11
View File
@@ -325,17 +325,6 @@ func (b *Buffer) SetRTT(rtt uint32) {
}
}
func (b *Buffer) LastPLI() time.Time {
b.RLock()
defer b.RUnlock()
if b.rtpStats == nil {
return time.Time{}
}
return b.rtpStats.LastPli()
}
func (b *Buffer) calc(pkt []byte, arrivalTime int64) {
isRTX := false