Fix log marshal error (#2295)
This commit is contained in:
@@ -352,7 +352,7 @@ func (b *Buffer) Close() error {
|
||||
b.rtpStats.Stop()
|
||||
b.logger.Debugw("rtp stats",
|
||||
"direction", "upstream",
|
||||
"stats", func() interface{} { return b.rtpStats.ToString() },
|
||||
"stats", b.rtpStats,
|
||||
)
|
||||
if b.onFinalRtpStats != nil {
|
||||
b.onFinalRtpStats(b.rtpStats.ToProto())
|
||||
|
||||
Reference in New Issue
Block a user