fufesou
c626c2414d
feat: take screenshot ( #11591 )
...
* feat: take screenshot
Signed-off-by: fufesou <linlong1266@gmail.com >
* screenshot, vram temp switch capturer
Signed-off-by: fufesou <linlong1266@gmail.com >
* fix: misspelling
Signed-off-by: fufesou <linlong1266@gmail.com >
* screenshot, taking
Signed-off-by: fufesou <linlong1266@gmail.com >
* screenshot, rgba stride
Signed-off-by: fufesou <linlong1266@gmail.com >
* Bumps 1.4.0
Signed-off-by: fufesou <linlong1266@gmail.com >
---------
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-04-30 17:23:35 +08:00
YinMo19
c9d5e15ac0
Using new Stream type adapted to the update of submodules ( #11581 )
...
* [fix bug] fix all err stream type.
* [update] update hbb_common.
* [bug fix] Stream in other platform.
2025-04-28 00:47:33 +08:00
fufesou
23e70c0fd1
refact: remote printer, adapter dll, free data ptr ( #11279 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-03-28 21:58:46 +08:00
fufesou
4b14f86134
refact: remote printer, log ( #11271 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-03-28 10:56:19 +08:00
fufesou
ee2478168c
fix: remote printer ( #11270 )
...
* fix: remote printer, log
Signed-off-by: fufesou <linlong1266@gmail.com >
* fix: remote printer, avoid double sign
Signed-off-by: fufesou <linlong1266@gmail.com >
* Spawn a new thread to handle the print job.
Signed-off-by: fufesou <linlong1266@gmail.com >
---------
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-03-28 10:36:42 +08:00
fufesou
f4bbf82363
feat: remote printer ( #11231 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-03-27 15:34:27 +08:00
21pages
f0f999dc27
view camera ( #11040 )
...
* view camera
Signed-off-by: 21pages <sunboeasy@gmail.com >
* `No cameras` prompt if no cameras available, `peerGetSessionsCount` use
connType as parameter
Signed-off-by: 21pages <sunboeasy@gmail.com >
* fix, use video_service_name rather than display_idx as key in qos,etc
Signed-off-by: 21pages <sunboeasy@gmail.com >
---------
Signed-off-by: 21pages <sunboeasy@gmail.com >
Co-authored-by: Adwin White <adwinw01@gmail.com >
Co-authored-by: RustDesk <71636191+rustdesk@users.noreply.github.com >
2025-03-10 21:06:53 +08:00
fufesou
00293a9902
Feat/macos clipboard file ( #10939 )
...
* feat: macos, clipboard file
Signed-off-by: fufesou <linlong1266@gmail.com >
* Can't reuse file transfer
Signed-off-by: fufesou <linlong1266@gmail.com >
* handle paste task
Signed-off-by: fufesou <linlong1266@gmail.com >
---------
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-02-28 00:46:46 +08:00
fufesou
fbba8f0b34
refact: file copy&paste, cross platform (no macOS) ( #10671 )
...
* feat: unix, file copy&paste
Signed-off-by: fufesou <linlong1266@gmail.com >
* refact: unix file c&p, check peer version
Signed-off-by: fufesou <linlong1266@gmail.com >
* Update pubspec.yaml
---------
Signed-off-by: fufesou <linlong1266@gmail.com >
Co-authored-by: RustDesk <71636191+rustdesk@users.noreply.github.com >
2025-02-04 20:33:02 +08:00
fufesou
dd004f1a2d
fix: clipboard, client side, update is required on conn ( #10464 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-01-17 02:27:20 +08:00
fufesou
1c62a28ef3
fix: build ( #10364 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2024-12-25 16:36:13 +08:00
fufesou
9ed2499666
fix: file clipboard, init disabled ( #10361 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2024-12-25 15:18:06 +08:00
21pages
e5aa31eb4c
Fix auto record outgoing sessions ignore record permission ( #10294 )
...
1. Fix auto record outgoing sessions ignore record permission
2. Stop record if record permission changed
3. Update hwcodec
4. Make video thread finish faster when connection closed
Signed-off-by: 21pages <sunboeasy@gmail.com >
2024-12-16 17:13:48 +08:00
zuiyu
314c93b210
Create empty dir on send files in local ( #9993 )
...
* feat: Add empty dirs on sendfiles
* Update connection.rs
---------
Co-authored-by: RustDesk <71636191+rustdesk@users.noreply.github.com >
2024-11-23 23:09:11 +08:00
21pages
64654ee7cf
seperate video decoding thread for each display ( #9968 )
...
* seperate video decoding thread for each display
1. Separate Video Decoding Thread for Each Display
2. Fix Decode Errors When Clearing the Queue
Previously, on-flight frames after clearing the queue could not be decoded successfully. This issue can be resolved by setting a discard_queue flag when sending a refresh message. The flag will be reset upon receiving a keyframe.
Signed-off-by: 21pages <sunboeasy@gmail.com >
* update video format along with fps to flutter
Signed-off-by: 21pages <sunboeasy@gmail.com >
* Fix keyframe interval when auto record outgoing sessions
Signed-off-by: 21pages <sunboeasy@gmail.com >
---------
Signed-off-by: 21pages <sunboeasy@gmail.com >
2024-11-22 00:02:25 +08:00
21pages
c5426b0fbc
Fix hevc decode error "Could not find ref with POC" ( #9960 )
...
1. Dropping frames can cause this error, reset encoder when this
happens.
2. There are some logic error for clear video queue, because video queue
message is not cleared. This need to be fixed.
Signed-off-by: 21pages <sunboeasy@gmail.com >
2024-11-18 23:03:27 +08:00
fufesou
8b710f62c8
feat: android clipboard, multi-formats ( #9950 )
...
* feat: android clipboard, multi-formats
Signed-off-by: fufesou <linlong1266@gmail.com >
* Chore
Signed-off-by: fufesou <linlong1266@gmail.com >
* Remove unused code
Signed-off-by: fufesou <linlong1266@gmail.com >
---------
Signed-off-by: fufesou <linlong1266@gmail.com >
2024-11-18 15:43:41 +08:00
21pages
e8187588c1
auto record outgoing ( #9711 )
...
* Add option auto record outgoing session
* In the same connection, all displays and all windows share the same
recording state.
todo:
Android check external storage permission
Known issue:
* Sciter old issue, stop the process directly without stop record, the record file can't play.
Signed-off-by: 21pages <sunboeasy@gmail.com >
2024-10-21 14:34:06 +08:00
rustdesk
2e314bf032
disable init clipboard sync by default
2024-09-20 17:38:29 +08:00
fufesou
e5ec6957fe
fix: option OPTION_ONE_WAY_FILE_TRANSFER ( #9387 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2024-09-18 18:22:12 +08:00
rustdesk
cc288272d3
OPTION_ONE_WAY_CLIPBOARD_REDIRECTION,
...
OPTION_ENABLE_CLIPBOARD_INIT_SYNC,
OPTION_ALLOW_LOGON_SCREEN_PASSWORD,
OPTION_ONE_WAY_FILE_TRANSFER,
2024-09-18 12:18:26 +08:00
fufesou
9380f33d7c
Refact/options ( #9318 )
...
* refact options
Signed-off-by: fufesou <linlong1266@gmail.com >
* Remove unused msg
Signed-off-by: fufesou <linlong1266@gmail.com >
* web, toggle virtual display
Signed-off-by: fufesou <linlong1266@gmail.com >
---------
Signed-off-by: fufesou <linlong1266@gmail.com >
2024-09-10 23:54:59 +08:00
fufesou
ec28567362
fix: win, file clipboard ( #9243 )
...
1. Return the result of `wait_response_event()` in
`cliprdr_send_format_list()`
2. Add recv flags to avoid waiting a long time.
Signed-off-by: fufesou <linlong1266@gmail.com >
2024-09-03 20:55:45 +08:00
21pages
ed18e3c786
file rename ( #9089 )
...
Signed-off-by: 21pages <sunboeasy@gmail.com >
2024-08-16 12:55:58 +08:00
fufesou
83bf067d18
fix: not plug virtual dislay, non win, installed ( #9034 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2024-08-12 21:53:41 +08:00
21pages
1729ee337f
trust this device to skip 2fa ( #9012 )
...
* trust this device to skip 2fa
Signed-off-by: 21pages <sunboeasy@gmail.com >
* Update connection.rs
---------
Signed-off-by: 21pages <sunboeasy@gmail.com >
Co-authored-by: RustDesk <71636191+rustdesk@users.noreply.github.com >
2024-08-12 18:08:33 +08:00
fufesou
6625aca994
fix: win, virtual display ( #9023 )
...
1. Default resolution 1920x1080.
2. Restore on conn & disconn.
Signed-off-by: fufesou <linlong1266@gmail.com >
2024-08-11 19:26:41 +08:00
fufesou
0e98a51775
fix: clipboard, set formats and enable option ( #8873 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2024-07-29 15:40:02 +08:00
fufesou
541d9c6b86
feat: clipboard, multi formats ( #8733 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2024-07-28 17:26:54 +08:00
fufesou
e2a7e38a39
fix: build ios ( #8709 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2024-07-14 15:05:56 +08:00
rustdesk
d0a54a6cc6
hc
2024-07-14 05:47:42 +08:00
fufesou
30afe4f779
refact: seperate audio device for voice call ( #8703 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2024-07-14 04:07:02 +08:00
RustDesk
ef4d84657b
Revert "feat: clipboard, multi format ( #8672 )" ( #8673 )
...
This reverts commit 011647511c .
2024-07-11 00:36:29 +08:00
fufesou
011647511c
feat: clipboard, multi format ( #8672 )
...
* feat: clipboard, multi format
Signed-off-by: fufesou <linlong1266@gmail.com >
* inline
Signed-off-by: fufesou <linlong1266@gmail.com >
---------
Signed-off-by: fufesou <linlong1266@gmail.com >
2024-07-11 00:05:25 +08:00
rustdesk
e71d86c124
move clipboard in common.rs to clipboard.rs
2024-07-01 02:14:58 +08:00
rustdesk
01672bc697
clipboard image, not tested, todo: set_html
2024-06-30 21:57:32 +08:00
rustdesk
1f129e6ef3
change update_clipboard to threaded, since creating a context may take long
2024-06-30 17:05:09 +08:00
21pages
c1c2d26ec7
fix, check video_queue len rather than len when refresh ( #8469 )
...
Signed-off-by: 21pages <sunboeasy@gmail.com >
2024-06-25 18:30:32 +08:00
21pages
93133b9a6c
if fps is adjusted below 30, not set fps to 30 when changing image quality ( #8468 )
...
Signed-off-by: 21pages <sunboeasy@gmail.com >
2024-06-25 17:25:50 +08:00
21pages
1765c7bbf4
fix multi display fps control ( #8455 )
...
* Calculate fps without distinguish displays, use one fps control
because the controlled side control fps of all displays with one FPS
variable.
* Because all displays decode frame in one thread, when there are N
displays, the video frames received in one second is `fps * N`, so the
calculated decode fps should be divided by N. Because the actual
display count is not obvious in rust, when no data frame is received for 5 seconds, the display is considered inactive, and only the active display is used as the dividend.
Signed-off-by: 21pages <sunboeasy@gmail.com >
2024-06-24 19:41:15 +08:00
fufesou
72ec86b58d
refact: texture render as an option ( #8168 )
...
* refact: texture render as an option
Signed-off-by: fufesou <linlong1266@gmail.com >
* refact: texture render, translation
Signed-off-by: fufesou <linlong1266@gmail.com >
* refact: texture render as option
Signed-off-by: fufesou <linlong1266@gmail.com >
* Update ui_interface.rs
---------
Signed-off-by: fufesou <linlong1266@gmail.com >
Co-authored-by: RustDesk <71636191+rustdesk@users.noreply.github.com >
2024-05-28 16:42:30 +08:00
21pages
17d18f1dd8
impore fps control, quicker send refresh and clear video queue ( #8137 )
...
Signed-off-by: 21pages <sunboeasy@gmail.com >
2024-05-24 17:21:16 +08:00
fufesou
96f41fcc02
refact: custom client, more advanced settings ( #8085 )
...
* refact: custom client, more advanced settings
Signed-off-by: fufesou <shuanglongchen@yeah.net >
* feat: custom client, more advanced settings
Signed-off-by: fufesou <shuanglongchen@yeah.net >
---------
Signed-off-by: fufesou <shuanglongchen@yeah.net >
2024-05-18 23:13:54 +08:00
Sahil Yeole
3811f41076
Feat: Follow remote cursor and window focus | Auto display switch ( #7717 )
...
* feat: auto switch display on follow remote cursor
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* feat: auto switch display on follow remote window focus
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* fix build and remove unused imports
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* fix build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* fix build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* fix linux get_focused_window_id
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* lock show remote cursor when follow remote cursor is enabled
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* fix config
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* prevent auto display switch on show all display and displays as individual windows
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* fix options
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* fix options
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* remove unused function
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* remove unwraps and improve iterations
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* set updateCursorPos to false to avoid interrupting remote cursor
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* update lang
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* fix web build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* update checks for options and enable in view mode
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* use focused display index for window focus service
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* use window center for windows display focused
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* remove unused imports
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* fix build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* use libxdo instead of xdotool
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* fix multi monitor check
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* enable show cursor when follow cursor is default
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* remove show_all_displays,use runtime state instead
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* fix show cursor lock state on default
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* remove view mode with follow options
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* fix build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* use separate message for follow current display
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* fix options
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* sciter support for follow remote cursor and window
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* add check for ui session handlers count
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* use cached displays and remove peer info write
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* No follow options when show all displays
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* No follow options when multi ui session
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* turn off follow options when not used|prevent msgs
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* use window center for switch in linux
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* use subbed display count to prevent switch msgs
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* fix build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* fix web build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* move subbed displays count
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* fix build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* add noperms for window focus
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* add subscribe for window focus
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* remove window_focus message and unsub on multi ui
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* add multi ui session field
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
---------
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
Co-authored-by: RustDesk <71636191+rustdesk@users.noreply.github.com >
2024-04-25 13:26:02 +08:00
rustdesk
a28c9f8f36
remove more "rustdesk" built-in
2024-02-25 13:29:06 +08:00
fufesou
09325fadaf
Fix. Text clipboard is not working correctly ( #7226 )
...
Signed-off-by: fufesou <shuanglongchen@yeah.net >
2024-02-22 13:44:44 +08:00
fufesou
25afdda2b2
Fix/arboard clipboard context timeout ( #7217 )
...
* Fix. Set custom timeout for arboard clipboard
Signed-off-by: fufesou <shuanglongchen@yeah.net >
* fix build
Signed-off-by: fufesou <shuanglongchen@yeah.net >
* Do not block tokio runtime
Signed-off-by: fufesou <shuanglongchen@yeah.net >
---------
Signed-off-by: fufesou <shuanglongchen@yeah.net >
2024-02-21 22:05:27 +08:00
21pages
0f44de7dc3
refactor windows specific session ( #7170 )
...
1. Modify the process to have the control side lead the session switching: After the control side sends a `LoginRequest`, the controlled side will add all session information and the current session ID in the `LoginResponse`. Upon receiving the `LoginResponse`, the control side will check if the current session ID matches the ID in the `LoginConfigHandler`. If they match, the control side will send the current session ID. If they don't match, a session selection dialog will pop up, the selected session id will be sent. Upon receiving this message, the controlled side will restart if different or sub service if same .
2. Always show physical console session on the top
3. Show running session and distinguish sessions with the same name
4. Not sub service until correct session id is ensured
5. Fix switch sides not work for multisession session
6. Remove all session string join/split except get_available_sessions in
windows.rs
7. Fix prelogin, when share rdp is enabled and there is a rdp session,
the console is in login screen, get_active_username will be the rdp's
username and prelogin will be false, cm can't be created an that
causes disconnection in a loop
8. Rename all user session to windows session
Known issue:
1. Use current process session id for `run_as_user`, sahil says it can
be wrong but I didn't reproduce.
2. Have not change tray process to current session
3. File transfer doesn't update home directory when session changed
4. When it's in login screen, remote file directory is empty, because cm
have not start up
Signed-off-by: 21pages <pages21@163.com >
2024-02-18 22:08:25 +08:00
fufesou
8c108065eb
Refact. Replace all tokio::time::interval() ( #7173 )
...
* Refact. Replace all `tokio::time::interval()`
Signed-off-by: fufesou <shuanglongchen@yeah.net >
* Refact Better min_interval for `ThrottledInterval`.
Signed-off-by: fufesou <shuanglongchen@yeah.net >
---------
Signed-off-by: fufesou <shuanglongchen@yeah.net >
2024-02-18 21:18:00 +08:00
Sahil Yeole
4bf3764b5d
Feat: Windows connect to a specific user session ( #6825 )
...
* feat windows connect to specific user session
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* fix import
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* fix multiple user session fields
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* fix build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* fix build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* fix file transfer
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* fix text color on light theme
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* feat windows connect to specific user session code changes and sciter support
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* update texts
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* fix sciter selected user session
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* add translations
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* Use Y,N options
* feat windows specific user code changes
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* Update dialog.dart
* Update connection.rs
* Update connection.rs
* feat windows specific user code changes
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* fix sciter
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* use lr.union
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* remove unused peer options
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* select user only when authorised and no existing connection
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* check for multiple users only once
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* optimise and add check for client version
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* use misc option message
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* update rdp user session proto
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* fix show cm on user session
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* Update pl.rs
* update on_message
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* fix cm
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* remove user_session_id
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* fix cm
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* fix multiple connections
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
---------
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
2024-02-14 23:59:17 +08:00