remove fps manual adjust, which can only limit fps

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2023-11-09 10:20:31 +08:00
parent 7bafe142ca
commit a0beba4e20
6 changed files with 14 additions and 132 deletions

View File

@@ -1218,10 +1218,6 @@ impl PeerConfig {
if !mp.contains_key(key) {
mp.insert(key.to_owned(), UserDefaultConfig::read().get(key));
}
key = "custom-fps";
if !mp.contains_key(key) {
mp.insert(key.to_owned(), UserDefaultConfig::read().get(key));
}
key = "zoom-cursor";
if !mp.contains_key(key) {
mp.insert(key.to_owned(), UserDefaultConfig::read().get(key));
@@ -1524,7 +1520,6 @@ impl UserDefaultConfig {
self.get_string(key, "auto", vec!["vp8", "vp9", "av1", "h264", "h265"])
}
"custom_image_quality" => self.get_double_string(key, 50.0, 10.0, 0xFFF as f64),
"custom-fps" => self.get_double_string(key, 30.0, 5.0, 120.0),
_ => self
.options
.get(key)