47 Commits

Author SHA1 Message Date
21pages
5114a9d369
shared memory size use the max resolution of all displays (#8534)
The case of setting a monitor inserted later as the primary monitor is not taken into account

Signed-off-by: 21pages <sunboeasy@gmail.com>
2024-06-29 21:50:21 +08:00
21pages
f9b0a88213
fix switch to primary display but can't see UAC (#8527)
How to reproduce: elevate at primary display->switch to another
display->
trigger UAC->switch to primary display->can't see UAC

Signed-off-by: 21pages <sunboeasy@gmail.com>
2024-06-29 17:14:09 +08:00
21pages
d67afa49b4
portable service only run on main display (#8525)
Signed-off-by: 21pages <sunboeasy@gmail.com>
2024-06-29 14:17:24 +08:00
21pages
98df2b111e
hwcodec uses one repository (#7701)
* update hwcodec, gpucodec repo is merged to hwcodec

Signed-off-by: 21pages <pages21@163.com>

* rename gpucodec.rs to vram.rs

Signed-off-by: 21pages <pages21@163.com>

* rename all gpucodec to vram, because vram is a feature of hwcodec

Signed-off-by: 21pages <pages21@163.com>

* use one check process and one config file

* set check encode image size to 720p

Signed-off-by: 21pages <pages21@163.com>

---------

Signed-off-by: 21pages <pages21@163.com>
2024-04-12 17:26:24 +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
21pages
89150317e1
add zero copy mode hareware codec for windows (#6778)
Signed-off-by: 21pages <pages21@163.com>
2024-01-02 16:58:10 +08:00
fufesou
5a8a64d284 fix, elevated mode, switch display
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-11-29 23:44:28 +08:00
21pages
2de1c62daf wake lock for all connection type
Signed-off-by: 21pages <pages21@163.com>
2023-11-25 17:43:07 +08:00
21pages
f9ee0189f0 format log, add space after colon
Signed-off-by: 21pages <pages21@163.com>
2023-11-18 09:52:46 +08:00
RustDesk
627d21a00a
Revert "Fix, windows display orders" 2023-11-13 17:31:55 +08:00
fufesou
8f8c9ddc25 Fix, windows display orders
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-11-12 00:08:16 +08:00
21pages
534bfad50f opt codec
1. use src width/height to convert yuv
2. align dst yuv to avoid illegal memory access
3. init yuvfmt when new codec
4. move remote reset calls from empty conns judge to emtpy remote conns
   judge

Signed-off-by: 21pages <pages21@163.com>
2023-11-03 11:52:41 +08:00
21pages
f05f86dc80 444
Signed-off-by: 21pages <pages21@163.com>
2023-10-30 18:46:56 +08:00
dignow
013d307bcd feat, multi_flutter_ui_sessions
Signed-off-by: dignow <linlong1265@gmail.com>
2023-10-14 12:26:24 +08:00
21pages
aa740f4263 remove many unwrap and enum_value_or_default
Signed-off-by: 21pages <pages21@163.com>
2023-07-23 20:00:58 +08:00
dignow
c86a8fff03 add pointer device event
Signed-off-by: dignow <linlong1265@gmail.com>
2023-07-19 01:18:10 +08:00
fufesou
edf6b00f13 remove all assert in non-test code
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-16 14:40:33 +08:00
fufesou
4d16d9566a fix cursor active, portable service
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-05 08:24:08 -07:00
fufesou
3aabd8f5ae fix cursor active in portable service, update peer input cursor time
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-05 20:16:54 +08:00
fufesou
5dc83359a5 add cursor active logic for portable service
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-05 18:11:04 +08:00
fufesou
1db40da812 fix build win
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-04 15:02:05 +08:00
21pages
190c99aebc fix portable service parameter sync
Signed-off-by: 21pages <pages21@163.com>
2023-04-28 22:41:54 +08:00
21pages
6e0f75cbde minisize portable service sleep time
Signed-off-by: 21pages <pages21@163.com>
2023-04-28 19:01:34 +08:00
21pages
ec66bf9c1f fix portable service crash caused by unwrap Option
Signed-off-by: 21pages <pages21@163.com>
2023-04-11 13:02:30 +08:00
rustdesk
810c607de2 add space after : 2023-03-14 23:36:45 +08:00
21pages
f94791793b fix can't install when username contains &, @, ^
Signed-off-by: 21pages <pages21@163.com>
2023-02-27 20:51:48 +08:00
fufesou
8852d97efc fix build linux
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-02-19 12:52:41 +08:00
fufesou
b733ad9379 refact register_breakdown_handler
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-02-19 10:19:28 +08:00
21pages
e1a9cfcf7f fix flink
Signed-off-by: 21pages <pages21@163.com>
2023-02-07 12:47:07 +08:00
21pages
fb81f206b7 opt flink creation
Signed-off-by: 21pages <pages21@163.com>
2023-01-31 09:47:50 +08:00
21pages
7c2d7df62e quick support if right click && run as admin on win
Signed-off-by: 21pages <pages21@163.com>
2023-01-28 17:11:22 +08:00
21pages
d3b490ac48 elevation request
Signed-off-by: 21pages <pages21@163.com>
2023-01-14 17:39:46 +08:00
Josh Soref
7b047a32ab spelling: separate
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-01-09 12:59:08 -05:00
Josh Soref
751aa26d8c spelling: memory
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-01-09 12:59:08 -05:00
Josh Soref
51f736e84f spelling: connection
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-01-09 12:58:33 -05:00
21pages
2136931f80 upload record
Signed-off-by: 21pages <pages21@163.com>
2022-12-08 09:07:18 +08:00
21pages
eb673c8c78 portable-service: enable quick_support by rename as xxxqs.exe
Signed-off-by: 21pages <pages21@163.com>
2022-11-19 13:12:21 +08:00
21pages
f986236a61 portable service: fix clean shared memory, at_exit not called at flutter
Signed-off-by: 21pages <pages21@163.com>
2022-11-18 17:09:15 +08:00
21pages
0199770454 portable-service: add quick_start feature and ci
Signed-off-by: 21pages <pages21@163.com>
2022-11-18 13:59:57 +08:00
21pages
2a65d948aa portable-service: little fix
Signed-off-by: 21pages <pages21@163.com>
2022-11-16 13:15:05 +08:00
21pages
abd665153b portable-service: try dxgi before gdi, which not controlled by video_service
Signed-off-by: 21pages <pages21@163.com>
2022-11-15 17:05:12 +08:00
21pages
45bfb0e22e portable-service: run background
Signed-off-by: 21pages <pages21@163.com>
2022-11-15 17:05:12 +08:00
21pages
3f77b6bc64 portable service: sync capture counter to make continuous frame, which
will decrease fps

Signed-off-by: 21pages <pages21@163.com>
2022-11-15 17:05:12 +08:00
21pages
8c529a1159 portable-service: add yuv set flag to fix start splash
Signed-off-by: 21pages <pages21@163.com>
2022-11-15 17:05:12 +08:00
21pages
4d492cb2c6 portable-service: fix set capture para dead lock
Signed-off-by: 21pages <pages21@163.com>
2022-11-15 17:05:12 +08:00
21pages
9f73b89f21 portable-service: exchange ipc server/client
Signed-off-by: 21pages <pages21@163.com>
2022-11-15 17:05:12 +08:00
21pages
8e1545b432 portable service
Signed-off-by: 21pages <pages21@163.com>
2022-11-15 17:05:10 +08:00