update core to 0.0.5 (#1540)

* update core

* sort imports

* fix typos

* redundant types
This commit is contained in:
David Colburn
2023-03-22 16:53:23 -07:00
committed by GitHub
parent 0ea88e4025
commit 191a9e8014
41 changed files with 272 additions and 263 deletions
+2 -1
View File
@@ -5,8 +5,9 @@ import (
"sync"
"time"
"github.com/livekit/protocol/logger"
"go.uber.org/atomic"
"github.com/livekit/protocol/logger"
)
// ------------------------------------------------------------
+1 -1
View File
@@ -151,7 +151,7 @@ func (s *StreamTrackerFrame) updateEstimatedFrameRate() float64 {
s.oldestTS = s.newestTS
s.numFrames = 1
factor := float64(1.0)
factor := 1.0
switch {
case s.estimatedFrameRate < frameRate:
// slow increase, prevents shortening eval interval too quickly on frame rate going up