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:
Generated
+1
-1
@@ -834,7 +834,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "chat-app-desktop"
|
||||
version = "0.11.0"
|
||||
version = "0.11.1"
|
||||
dependencies = [
|
||||
"base64 0.22.1",
|
||||
"dryoc",
|
||||
|
||||
@@ -62,7 +62,7 @@ pub fn start_screen_capture(
|
||||
fps: u32,
|
||||
channel: Channel<FramePayload>,
|
||||
) -> 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_h = max_height.max(180).min(2160);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user