LK logger with context in SFU (#391)
* LK logger with context in SFU * Move buff.SetLogger into sfu.WebRTCReceiver
This commit is contained in:
@@ -4,6 +4,8 @@ import (
|
||||
"encoding/binary"
|
||||
"errors"
|
||||
"sync/atomic"
|
||||
|
||||
"github.com/livekit/protocol/logger"
|
||||
)
|
||||
|
||||
var (
|
||||
@@ -267,7 +269,7 @@ func IsH264Keyframe(payload []byte) bool {
|
||||
return true
|
||||
} else if n >= 24 {
|
||||
// is this legal?
|
||||
Logger.V(0).Info("Non-simple NALU within a STAP")
|
||||
logger.Infow("Non-simple NALU within a STAP")
|
||||
}
|
||||
i += int(length)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user