mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2026-04-11 18:26:03 +00:00
add fallback bitrate of 10mbps for unrecognized resolutions
This commit is contained in:
@@ -611,6 +611,8 @@ function updateDefaultBitrate() {
|
||||
} else { // 2160p, 60fps
|
||||
$('#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();
|
||||
|
||||
Reference in New Issue
Block a user