Do not log no packets in delta. (#3427)
Can happen a lot with dynacast layer turn off.
This commit is contained in:
@@ -476,13 +476,6 @@ func (r *rtpStatsBase) deltaInfo(
|
|||||||
StartTime: time.Unix(0, startTime),
|
StartTime: time.Unix(0, startTime),
|
||||||
EndTime: time.Unix(0, endTime),
|
EndTime: time.Unix(0, endTime),
|
||||||
}
|
}
|
||||||
loggingFields = []interface{}{
|
|
||||||
"snapshotID", snapshotID,
|
|
||||||
"snapshotNow", now,
|
|
||||||
"snapshotThen", then,
|
|
||||||
"duration", time.Duration(endTime - startTime),
|
|
||||||
}
|
|
||||||
err = errors.New("no packets in delta")
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user