mirror of
https://github.com/ossrs/srs.git
synced 2025-02-12 19:31:53 +00:00
Fix the error of pps statistics (#2820)
This commit is contained in:
parent
f1a448bc6a
commit
3f8b1a2922
1 changed files with 1 additions and 1 deletions
|
@ -652,7 +652,7 @@ srs_error_t SrsUdpMuxListener::cycle()
|
|||
if (pps_last > 10000 || pps_average > 10000) {
|
||||
pps_unit = "(w)"; pps_last /= 10000; pps_average /= 10000;
|
||||
} else if (pps_last > 1000 || pps_average > 1000) {
|
||||
pps_unit = "(k)"; pps_last /= 10000; pps_average /= 10000;
|
||||
pps_unit = "(k)"; pps_last /= 1000; pps_average /= 1000;
|
||||
}
|
||||
|
||||
srs_trace("<- RTC RECV #%d, udp %" PRId64 ", pps %d/%d%s, schedule %" PRId64,
|
||||
|
|
Loading…
Reference in a new issue