mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2026-06-17 22:32:06 +00:00
add fallback bitrate of 10mbps for unrecognized resolutions
This commit is contained in:
@@ -611,6 +611,8 @@ function updateDefaultBitrate() {
|
|||||||
} else { // 2160p, 60fps
|
} else { // 2160p, 60fps
|
||||||
$('#bitrateSlider')[0].MaterialSlider.change('80');
|
$('#bitrateSlider')[0].MaterialSlider.change('80');
|
||||||
}
|
}
|
||||||
|
} else { // unrecognized option. In case someone screws with the JS to add custom resolutions
|
||||||
|
$('#bitrateSlider')[0].MaterialSlider.change('10');
|
||||||
}
|
}
|
||||||
|
|
||||||
updateBitrateField();
|
updateBitrateField();
|
||||||
|
|||||||
Reference in New Issue
Block a user