From bbf6ad2a937c4c8394a2c1c5d16238596cb08e83 Mon Sep 17 00:00:00 2001 From: "923048992@qq.com" <923048992@qq.com> Date: Fri, 27 Sep 2024 23:41:40 +0800 Subject: [PATCH] chore: increase video chunk size --- src-tauri/src/client/constants.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-tauri/src/client/constants.rs b/src-tauri/src/client/constants.rs index 257db8f..2beb1aa 100644 --- a/src-tauri/src/client/constants.rs +++ b/src-tauri/src/client/constants.rs @@ -18,7 +18,7 @@ pub const OAUTH_RANDOM_P2: &str = "oauth_VWXYZ"; pub const OAUTH_RANDOM_P1_VAL: &str = "ABCDEFGH"; pub const OAUTH_RANDOM_P2_VAL: &str = "STUVWXYZ"; pub const CHUNK_SIZE: u64 = 16 * 1024 * 1024; -pub const VIDEO_CHUNK_SIZE: u64 = 4 * 1024 * 1024; +pub const VIDEO_CHUNK_SIZE: u64 = 32 * 1024 * 1024; pub const JBOX_LOGIN_URL: &str = "https://pan.sjtu.edu.cn/user/v1/sign-in/sso-login-redirect/xpw8ou8y";