update core to 0.0.5 (#1540)
* update core * sort imports * fix typos * redundant types
This commit is contained in:
@@ -5,8 +5,9 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/livekit/protocol/logger"
|
||||
"go.uber.org/atomic"
|
||||
|
||||
"github.com/livekit/protocol/logger"
|
||||
)
|
||||
|
||||
// ------------------------------------------------------------
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user