| 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);
|
|
|