clean up logs and imports (#400)

This commit is contained in:
David Colburn
2022-02-03 14:20:19 -07:00
committed by GitHub
parent 7297a57f3d
commit 7bbd238188
24 changed files with 44 additions and 40 deletions
+3 -3
View File
@@ -348,9 +348,9 @@ func (w *WebRTCReceiver) GetTotalBytes() uint64 {
defer w.bufferMu.RUnlock()
totalBytes := uint64(0)
for _, buffer := range w.buffers {
if buffer != nil {
stats := buffer.GetStats()
for _, buff := range w.buffers {
if buff != nil {
stats := buff.GetStats()
totalBytes += stats.TotalBytes
}
}