Change json fields to float64

Change LossRateDownload and LossRateUpload to float64.
This commit is contained in:
danielcb 2020-10-22 15:19:01 +02:00 committed by GitHub
parent 7abef987ac
commit 10bacf86e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,8 +17,8 @@ type videoBridgeStats struct {
Threads int `json:"threads"`
BitRateDownload int `json:"bit_rate_download"`
BitRateUpload int `json:"bit_rate_upload"`
PacketRateDownload int `json:"packet_rate_download"`
PacketRateUpload int `json:"packet_rate_upload"`
PacketRateDownload float64 `json:"packet_rate_download"`
PacketRateUpload float64 `json:"packet_rate_upload"`
LossRateDownload float64 `json:"loss_rate_download"`
LossRateUpload float64 `json:"loss_rate_upload"`
JitterAggregate float64 `json:"jitter_aggregate"`