From 83e66270251d5d1fb851bf0d7bff8e5176ad5df4 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Mon, 9 May 2016 18:44:15 -0400 Subject: [PATCH] Multiply bitrate by 1000 rather than 1024 to match other GameStream clients --- static/js/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/index.js b/static/js/index.js index 38eefef..cc1288a 100644 --- a/static/js/index.js +++ b/static/js/index.js @@ -287,7 +287,7 @@ function startSelectedGame() { var streamWidth = $('#selectResolution option:selected').val().split(':')[0]; var streamHeight = $('#selectResolution option:selected').val().split(':')[1]; // we told the user it was in Mbps. We're dirty liars and use Kbps behind their back. - var bitrate = parseInt($("#bitrateSlider").val()) * 1024; + var bitrate = parseInt($("#bitrateSlider").val()) * 1000; console.log('startRequest:' + host + ":" + streamWidth + ":" + streamHeight + ":" + frameRate + ":" + bitrate); var rikey = '00000000000000000000000000000000';