|
|
|
@ -32,7 +32,7 @@ type StreamIntervalReport struct {
|
|
|
|
|
EndInterval float32 `json:"end"`
|
|
|
|
|
Seconds float32 `json:"seconds"`
|
|
|
|
|
Bytes int `json:"bytes"`
|
|
|
|
|
BitsPerSecond float64 `json:"bits_per_second"`
|
|
|
|
|
BitsPerSecond float32 `json:"bits_per_second"`
|
|
|
|
|
Retransmissions int `json:"retransmissions"`
|
|
|
|
|
CongestionWindow int `json:"congestion_window"`
|
|
|
|
|
Omitted bool `json:"omitted"`
|
|
|
|
@ -58,7 +58,7 @@ type StreamIntervalSumReport struct {
|
|
|
|
|
EndInterval float32 `json:"end"`
|
|
|
|
|
Seconds float32 `json:"seconds"`
|
|
|
|
|
Bytes int `json:"bytes"`
|
|
|
|
|
BitsPerSecond float64 `json:"bits_per_second"`
|
|
|
|
|
BitsPerSecond float32 `json:"bits_per_second"`
|
|
|
|
|
Omitted bool `json:"omitted"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -104,7 +104,7 @@ type UdpStreamEndReport struct {
|
|
|
|
|
End float32 `json:"end"`
|
|
|
|
|
Seconds float32 `json:"seconds"`
|
|
|
|
|
Bytes int `json:"bytes"`
|
|
|
|
|
BitsPerSecond float64 `json:"bits_per_second"`
|
|
|
|
|
BitsPerSecond float32 `json:"bits_per_second"`
|
|
|
|
|
JitterMs float32 `json:"jitter_ms"`
|
|
|
|
|
LostPackets int `json:"lost_packets"`
|
|
|
|
|
Packets int `json:"packets"`
|
|
|
|
@ -133,7 +133,7 @@ type TcpStreamEndReport struct {
|
|
|
|
|
End float32 `json:"end"`
|
|
|
|
|
Seconds float32 `json:"seconds"`
|
|
|
|
|
Bytes int `json:"bytes"`
|
|
|
|
|
BitsPerSecond float64 `json:"bits_per_second"`
|
|
|
|
|
BitsPerSecond float32 `json:"bits_per_second"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (tser *TcpStreamEndReport) String() string {
|
|
|
|
@ -156,7 +156,7 @@ type StreamEndSumReport struct {
|
|
|
|
|
End float32 `json:"end"`
|
|
|
|
|
Seconds float32 `json:"seconds"`
|
|
|
|
|
Bytes int `json:"bytes"`
|
|
|
|
|
BitsPerSecond float64 `json:"bits_per_second"`
|
|
|
|
|
BitsPerSecond float32 `json:"bits_per_second"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (sesr *StreamEndSumReport) String() string {
|
|
|
|
|