Fix ReceiverEstimatedMaximumBitrate.String crash - #227
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #227 +/- ##
==========================================
+ Coverage 77.68% 78.12% +0.44%
==========================================
Files 22 22
Lines 2030 2030
==========================================
+ Hits 1577 1586 +9
+ Misses 356 347 -9
Partials 97 97
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
@JoTurk I have noticed that |
|
@sirzooro I think divides by 1000 is the correct way per the spec, i can try to find it. |
|
Also libwebrtc does the same https://chromium.googlesource.com/external/webrtc/%2B/master/call/call.cc#663 SI-style units are more human-readable :) |
|
Ok, I can keep it as-is to match libwebrtc. Historically "KB" meant 1024 B, while "kB" (from SI) was 1000 B. For higher units (M, G, ...) both computer and non-computer units had the same prefixes, what was not correct and could be confusing if this is multiply of 1000 or 1024. Because of this binary prefixes were defined, however they are not well-known and can be confusing when seen for the first time. |
|
Yeah it's technically correct but non si units are harder to read, I think most webrtc related specs use them |
No description provided.