Fix log marshal error (#2295)

This commit is contained in:
cnderrauber
2023-12-06 00:08:48 +08:00
committed by GitHub
parent d4c4bc1100
commit e1cc9d6b3c
4 changed files with 7 additions and 7 deletions
+3 -2
View File
@@ -20,9 +20,10 @@ import (
"testing"
"time"
"github.com/livekit/protocol/logger"
"github.com/pion/rtp"
"github.com/stretchr/testify/require"
"github.com/livekit/protocol/logger"
)
func getPacket(sn uint16, ts uint32, payloadSize int) *rtp.Packet {
@@ -82,7 +83,7 @@ func Test_RTPStatsReceiver(t *testing.T) {
}
r.Stop()
fmt.Printf("%s\n", r.ToString())
fmt.Printf("%s\n", r.String())
}
func Test_RTPStatsReceiver_Update(t *testing.T) {