summaryrefslogtreecommitdiffstats
path: root/remoting/webapp/me2mom/remoting.js
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/webapp/me2mom/remoting.js')
-rw-r--r--remoting/webapp/me2mom/remoting.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/remoting/webapp/me2mom/remoting.js b/remoting/webapp/me2mom/remoting.js
index 0e918f2..3690eb1 100644
--- a/remoting/webapp/me2mom/remoting.js
+++ b/remoting/webapp/me2mom/remoting.js
@@ -509,6 +509,9 @@ function updateStatistics() {
var statistics = document.getElementById('statistics');
statistics.innerText =
'Bandwidth: ' + videoBandwidth.toFixed(2) + units +
+ ', Frame Rate: ' +
+ (stats['video_frame_rate'] ?
+ stats['video_frame_rate'].toFixed(2) + ' fps' : 'n/a') +
', Capture: ' + stats['capture_latency'].toFixed(2) + 'ms' +
', Encode: ' + stats['encode_latency'].toFixed(2) + 'ms' +
', Decode: ' + stats['decode_latency'].toFixed(2) + 'ms' +