fix(call): raise xcap fps clamp 30 → 60

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) <noreply@anthropic.com>
This commit is contained in:
byGalaxandClaude Opus 4.7 committed 2026-04-22 23:40:05 +02:00
1 parent f9bbcdee47
commit 6f1e1a5f9a
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -834,7 +834,7 @@ dependencies = [
[[package]] [[package]]
name = "chat-app-desktop" name = "chat-app-desktop"
version = "0.11.0" version = "0.11.1"
dependencies = [ dependencies = [
"base64 0.22.1", "base64 0.22.1",
"dryoc", "dryoc",
+1 -1
View File
@@ -62,7 +62,7 @@ pub fn start_screen_capture(
fps: u32, fps: u32,
channel: Channel<FramePayload>, channel: Channel<FramePayload>,
) -> Result<u32, String> { ) -> Result<u32, String> {
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_w = max_width.max(320).min(3840);
let clamped_h = max_height.max(180).min(2160); let clamped_h = max_height.max(180).min(2160);