Include packetsMissing field in string representation (#1659)

* Include packetsMissing field in string representation

* do not set stub directly
This commit is contained in:
Raja Subramanian
2023-04-27 14:39:05 +05:30
committed by GitHub
parent f9f89cd7cf
commit c1c4e8aea0
4 changed files with 18 additions and 17 deletions
+2 -1
View File
@@ -101,11 +101,12 @@ func (w *windowStat) calculateBitrateScore(expectedBitrate int64) float64 {
}
func (w *windowStat) String() string {
return fmt.Sprintf("start: %+v, dur: %+v, pe: %d, pl: %d, b: %d, rtt: %d, jitter: %0.2f",
return fmt.Sprintf("start: %+v, dur: %+v, pe: %d, pl: %d, pm: %d, b: %d, rtt: %d, jitter: %0.2f",
w.startedAt,
w.duration,
w.packetsExpected,
w.packetsLost,
w.packetsMissing,
w.bytes,
w.rttMax,
w.jitterMax,