remove fps manual adjust, which can only limit fps
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
@@ -395,7 +395,7 @@ pub fn session_is_keyboard_mode_supported(session_id: SessionID, mode: String) -
|
||||
SyncReturn(is_keyboard_mode_supported(
|
||||
&mode,
|
||||
session.get_peer_version(),
|
||||
&session.peer_platform()
|
||||
&session.peer_platform(),
|
||||
))
|
||||
} else {
|
||||
SyncReturn(false)
|
||||
@@ -411,12 +411,6 @@ pub fn session_set_custom_image_quality(session_id: SessionID, value: i32) {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn session_set_custom_fps(session_id: SessionID, fps: i32) {
|
||||
if let Some(session) = sessions::get_session_by_session_id(&session_id) {
|
||||
session.set_custom_fps(fps);
|
||||
}
|
||||
}
|
||||
|
||||
pub fn session_lock_screen(session_id: SessionID) {
|
||||
if let Some(session) = sessions::get_session_by_session_id(&session_id) {
|
||||
session.lock_screen();
|
||||
|
||||
Reference in New Issue
Block a user