mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2025-08-17 16:46:31 +00:00
add fallback bitrate of 10mbps for unrecognized resolutions
This commit is contained in:
parent
6d432a0fb9
commit
00437e6e60
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user