LK logger with context in SFU (#391)

* LK logger with context in SFU

* Move buff.SetLogger into sfu.WebRTCReceiver
This commit is contained in:
Raja Subramanian
2022-02-01 08:57:09 +05:30
committed by GitHub
parent 3d132730f9
commit 9db2bd22df
12 changed files with 46 additions and 50 deletions
+3 -1
View File
@@ -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)
}