Change json fields to float64
Change LossRateDownload and LossRateUpload to float64.
This commit is contained in:
parent
7abef987ac
commit
10bacf86e4
1 changed files with 2 additions and 2 deletions
4
main.go
4
main.go
|
@ -17,8 +17,8 @@ type videoBridgeStats struct {
|
||||||
Threads int `json:"threads"`
|
Threads int `json:"threads"`
|
||||||
BitRateDownload int `json:"bit_rate_download"`
|
BitRateDownload int `json:"bit_rate_download"`
|
||||||
BitRateUpload int `json:"bit_rate_upload"`
|
BitRateUpload int `json:"bit_rate_upload"`
|
||||||
PacketRateDownload int `json:"packet_rate_download"`
|
PacketRateDownload float64 `json:"packet_rate_download"`
|
||||||
PacketRateUpload int `json:"packet_rate_upload"`
|
PacketRateUpload float64 `json:"packet_rate_upload"`
|
||||||
LossRateDownload float64 `json:"loss_rate_download"`
|
LossRateDownload float64 `json:"loss_rate_download"`
|
||||||
LossRateUpload float64 `json:"loss_rate_upload"`
|
LossRateUpload float64 `json:"loss_rate_upload"`
|
||||||
JitterAggregate float64 `json:"jitter_aggregate"`
|
JitterAggregate float64 `json:"jitter_aggregate"`
|
||||||
|
|
Loading…
Reference in a new issue