Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(128)

Unified Diff: remoting/webapp/me2mom/remoting_session.js

Issue 7078022: Fix up remoting UI to make it closer to spec (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: turned on strict Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/webapp/me2mom/remoting_session.js
diff --git a/remoting/webapp/me2mom/remoting_session.js b/remoting/webapp/me2mom/remoting_session.js
index 1177ca5c503a271636c37e16a02f29577b47034a..a1687994beb743557b670c7e261c748905ef40e8 100644
--- a/remoting/webapp/me2mom/remoting_session.js
+++ b/remoting/webapp/me2mom/remoting_session.js
@@ -335,22 +335,22 @@ function updateStatusBarStats() {
if (videoBandwidth < 1024) {
units = 'Bps';
} else if (videoBandwidth < 1048576) {
- units = 'KBps';
+ units = 'KiBps';
videoBandwidth = videoBandwidth / 1024;
} else if (videoBandwidth < 1073741824) {
- units = 'MBps';
+ units = 'MiBps';
videoBandwidth = videoBandwidth / 1048576;
} else {
- units = 'GBps';
+ units = 'GiBps';
videoBandwidth = videoBandwidth / 1073741824;
}
setClientStateMessage(
- 'Video stats: bandwidth: ' + videoBandwidth.toFixed(2) + units +
- ', Latency: capture: ' + videoCaptureLatency.toFixed(2) + 'ms' +
- ', encode: ' + videoEncodeLatency.toFixed(2) + 'ms' +
- ', decode: ' + videoDecodeLatency.toFixed(2) + 'ms' +
- ', render: ' + videoRenderLatency.toFixed(2) + 'ms');
+ 'Bandwidth: ' + videoBandwidth.toFixed(2) + units +
+ ', Capture: ' + videoCaptureLatency.toFixed(2) + 'ms' +
+ ', Encode: ' + videoEncodeLatency.toFixed(2) + 'ms' +
+ ', Decode: ' + videoDecodeLatency.toFixed(2) + 'ms' +
+ ', Render: ' + videoRenderLatency.toFixed(2) + 'ms');
// Update the stats once per second.
window.setTimeout('updateStatusBarStats()', 1000);
« remoting/webapp/me2mom/remoting_session.html ('K') | « remoting/webapp/me2mom/remoting_session.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698