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
+1 -1
View File
@@ -402,7 +402,7 @@ func (r *RTPStatsReceiver) DeltaInfo(snapshotID uint32) *RTPDeltaInfo {
return r.deltaInfo(snapshotID, r.sequenceNumber.GetExtendedStart(), r.sequenceNumber.GetExtendedHighest())
}
func (r *RTPStatsReceiver) ToString() string {
func (r *RTPStatsReceiver) String() string {
r.lock.RLock()
defer r.lock.RUnlock()