Default ON: enable-keyboard, enable-clipboard, enable-file-transfer
Per user feedback: these 3 features are core remote-support functionality (typing, copying, sending files).6d587a8set them to N to save bandwidth on the 5 Mbps self-hosted hbbs (114.55.133.123), but the user wants them on by default. Users can still flip them off per-session. Still OFF by default (kept from6d587a8): - enable-audio - enable-tunnel - enable-record-session - enable-camera Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
+6
-6
@@ -2112,18 +2112,18 @@ pub fn load_custom_client() {
|
||||
//
|
||||
// Why each one is off (user has 4 users on 5 Mbps server, file transfers were saturating it):
|
||||
// enable-audio — not needed for 4-user remote support; saves 64 kbps/session
|
||||
// enable-file-transfer — THE KILLER: 1 GB upload = 2 GB server bandwidth (in + out)
|
||||
// enable-clipboard — 50 kbps + privacy; rarely needed for remote support
|
||||
// enable-keyboard — only needed for typing-on-remote scenarios
|
||||
// enable-tunnel — TCP tunneling = users abusing server as a jump host
|
||||
// enable-record-session — only needed if explicitly recording
|
||||
// enable-camera — 500 kbps; rarely used for support
|
||||
//
|
||||
// Note: enable-keyboard, enable-clipboard, enable-file-transfer were
|
||||
// originally set to N here, but the user requested they default to ON
|
||||
// (these are core remote-support features: typing, copying, sending
|
||||
// files to/from the remote machine). The user can still flip them off
|
||||
// per-session via the Settings UI.
|
||||
{
|
||||
let mut defaults = config::DEFAULT_SETTINGS.write().unwrap();
|
||||
defaults.entry("enable-audio".to_string()).or_insert("N".to_string());
|
||||
defaults.entry("enable-file-transfer".to_string()).or_insert("N".to_string());
|
||||
defaults.entry("enable-clipboard".to_string()).or_insert("N".to_string());
|
||||
defaults.entry("enable-keyboard".to_string()).or_insert("N".to_string());
|
||||
defaults.entry("enable-tunnel".to_string()).or_insert("N".to_string());
|
||||
defaults.entry("enable-record-session".to_string()).or_insert("N".to_string());
|
||||
defaults.entry("enable-camera".to_string()).or_insert("N".to_string());
|
||||
|
||||
Reference in New Issue
Block a user