Add a resync API to sfu.DownTrack (#389)
* Add a resync API to sfu.DownTrack Also passing in logger with context into sfu package. More to do here with proper logging context in all modules, but this is a start * Remove debug code * fix tests
This commit is contained in:
@@ -5,6 +5,7 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/livekit/protocol/livekit"
|
||||
"github.com/livekit/protocol/logger"
|
||||
"github.com/livekit/protocol/utils"
|
||||
"github.com/pion/rtcp"
|
||||
"github.com/pion/webrtc/v3"
|
||||
@@ -21,6 +22,7 @@ type ConnectionStatsParams struct {
|
||||
CodecType webrtc.RTPCodecType
|
||||
GetTotalBytes func() uint64
|
||||
GetIsReducedQuality func() bool
|
||||
Logger logger.Logger
|
||||
}
|
||||
|
||||
type ConnectionStats struct {
|
||||
|
||||
Reference in New Issue
Block a user