mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2025-08-17 16:46:31 +00:00
Multiply bitrate by 1000 rather than 1024 to match other GameStream clients
This commit is contained in:
parent
23b152e71a
commit
83e6627025
@ -287,7 +287,7 @@ function startSelectedGame() {
|
|||||||
var streamWidth = $('#selectResolution option:selected').val().split(':')[0];
|
var streamWidth = $('#selectResolution option:selected').val().split(':')[0];
|
||||||
var streamHeight = $('#selectResolution option:selected').val().split(':')[1];
|
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.
|
// 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);
|
console.log('startRequest:' + host + ":" + streamWidth + ":" + streamHeight + ":" + frameRate + ":" + bitrate);
|
||||||
|
|
||||||
var rikey = '00000000000000000000000000000000';
|
var rikey = '00000000000000000000000000000000';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user