From 6f1e1a5f9a744c691b45dbcecb569eca1afe5583 Mon Sep 17 00:00:00 2001 From: byGalax Date: Wed, 22 Apr 2026 23:40:05 +0200 Subject: [PATCH] =?UTF-8?q?fix(call):=20raise=20xcap=20fps=20clamp=2030=20?= =?UTF-8?q?=E2=86=92=2060?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The fallback capture path was silently capping any 60fps preset to 30 because the hardcoded clamp never got updated when the 60fps presets landed. Also syncs Cargo.lock that drifted against 0.11.0 metadata. Co-Authored-By: Claude Opus 4.7 (1M context) --- apps/desktop/src-tauri/Cargo.lock | 2 +- apps/desktop/src-tauri/src/screen_capture.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/desktop/src-tauri/Cargo.lock b/apps/desktop/src-tauri/Cargo.lock index 50756cf..c310104 100644 --- a/apps/desktop/src-tauri/Cargo.lock +++ b/apps/desktop/src-tauri/Cargo.lock @@ -834,7 +834,7 @@ dependencies = [ [[package]] name = "chat-app-desktop" -version = "0.11.0" +version = "0.11.1" dependencies = [ "base64 0.22.1", "dryoc", diff --git a/apps/desktop/src-tauri/src/screen_capture.rs b/apps/desktop/src-tauri/src/screen_capture.rs index 692eaae..c815b91 100644 --- a/apps/desktop/src-tauri/src/screen_capture.rs +++ b/apps/desktop/src-tauri/src/screen_capture.rs @@ -62,7 +62,7 @@ pub fn start_screen_capture( fps: u32, channel: Channel, ) -> Result { - let clamped_fps = fps.clamp(5, 30); + let clamped_fps = fps.clamp(5, 60); let clamped_w = max_width.max(320).min(3840); let clamped_h = max_height.max(180).min(2160);