Commit Graph

290 Commits

Author SHA1 Message Date
21pages
23deae0e52 hwcodec: remove bad MY_DECODER_STATE
When reset, the new of the decoder will be after it's drop

Signed-off-by: 21pages <pages21@163.com>
2022-07-21 10:15:01 +08:00
21pages
7aa431d349 hwcodec: codec preference
Signed-off-by: 21pages <pages21@163.com>
2022-07-21 10:14:58 +08:00
21pages
1b1f28b872 hwcodec: check when server or each client starts
and refactor hwcodec::best()

Signed-off-by: 21pages <pages21@163.com>
2022-07-21 10:10:58 +08:00
21pages
1fecd7168a hwcodec: linux compatible
Signed-off-by: 21pages <pages21@163.com>
2022-07-21 10:10:58 +08:00
fufesou
00dc473703 linux_wayland_support: dup detecting function of x11 or wayland
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-07-20 10:44:27 -07:00
tom
16b7c7c716 upgrade bytes to 1.2 2022-07-21 00:39:20 +08:00
fufesou
05b264c968 linux_wayland_support: build linux
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-07-20 09:16:13 -07:00
fufesou
aae6e2b16b linux_wayland_support: init merge, windows build
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-07-20 09:16:13 -07:00
Asura
02b4d7f1d9 Refactor keyboard mode by enum 2022-07-19 15:43:13 +08:00
Asura
a77d64d181 Remove log 2022-07-18 18:47:38 -07:00
Asura
a8e4591217 Fix lock_screen and ctrl_alt_del 2022-07-18 07:38:05 -07:00
21pages
66e04c9fe7 keep session when network interrupt
Signed-off-by: 21pages <pages21@163.com>
2022-07-18 22:16:59 +08:00
21pages
8667d68c6f crypt peer/peer_rdp/peer_os/socks5 password
Signed-off-by: 21pages <pages21@163.com>
2022-07-18 21:27:59 +08:00
21pages
e46019a171 password: safe/random personal password
Signed-off-by: 21pages <pages21@163.com>
2022-07-18 21:27:56 +08:00
tom
6db3a2e85c
Merge branch 'master' into master 2022-07-18 14:25:33 +08:00
Asura
3c61773d75 Recover legacy keyboard mode when simulate 2022-07-17 20:59:14 -07:00
Asura
5dab7bd9a2 Refactor simulate to support switching keyboard modes 2022-07-17 20:34:08 -07:00
Asura
7c24f6bb12 Refactor listening keyboard to support switching keyboard modes 2022-07-17 14:14:51 -07:00
fufesou
52f4f274b2 lan_discovery_WOL: remove unused struct MyConfig
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-07-17 22:46:55 +08:00
tom
ae839bd5bf update linux.rs & macos.rs with bytes:Byte
issues:958
2022-07-17 00:59:56 +08:00
tom
efa6b5972d update bytes(protobuf types) mapping, from Vec<u8> to bytes:Byte
issues:958
2022-07-16 00:45:23 +08:00
fufesou
3613f27afc lan_discovery_WOL: fix udp set_nonblocking twice and lan refactor
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-07-15 20:39:42 +08:00
fufesou
13406cd359 lan_discovery_WOL: sort by online status
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-07-15 12:16:15 +08:00
fufesou
8fd4830710 lan_discovery_WOL: Win10 test done
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-07-15 11:29:07 +08:00
fufesou
897d2b8e57 lan_discovery_WOL: remove discovered peer
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-07-15 11:29:01 +08:00
fufesou
cbb34fb021 lan_discovery_WOL: lan discovery almost done
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-07-15 11:27:39 +08:00
rustdesk
d3fc6ccd9c upgrade tokio 2022-07-15 01:29:52 +08:00
rustdesk
9498b77c0a minor version 2022-07-14 23:26:03 +08:00
tom
c6c5d2cb98 upgrade protobuf to 3.1.0 and use with-bytes feature, issues:958 2022-07-14 17:20:01 +08:00
Asura
7fe2609ffb feat: Support new keyboard mode 2022-07-13 02:14:32 -07:00
Asura
fa8595b77d Supports Mac OS simulate input by scancode 2022-07-12 08:36:45 -07:00
rustdesk
4e45bc0ee0 fix tcp 2022-07-12 23:32:37 +08:00
rustdesk
f1724820b1 missed socket.set_nonblocking for tcp 2022-07-12 23:28:32 +08:00
rustdesk
7db82a22a9 udp bug which causes us a lot of trouble 2022-07-12 23:22:27 +08:00
Asura
7395f1a755 ci: Change source of lib 2022-07-12 04:40:38 -07:00
Asura
1cc6c7e167 Use map mode when Windows are simulated 2022-07-12 04:27:27 -07:00
Asura
0ae6620659 Merge branch 'master' of github.com:asur4s/rustdesk 2022-07-11 08:17:17 -07:00
Asura
e82e0bf697 feat: Add new simulate key method 2022-07-11 03:26:12 -07:00
rustdesk
1a9b25588d https://github.com/rustdesk/rustdesk/issues/906 2022-07-10 23:26:44 +08:00
21pages
ce89e7fd8c
Merge branch 'hwcodec' into hwcodec 2022-07-06 10:39:00 +08:00
21pages
ba034a56af maint hwcodec config file directly
Signed-off-by: 21pages <pages21@163.com>
2022-07-06 10:19:13 +08:00
csf
5bd08bf0a7 client side handle codec format 2022-07-05 22:17:34 +08:00
21pages
c4b4ef9576 score equals 0 if codec unsupported
Signed-off-by: 21pages <pages21@163.com>
2022-07-05 16:31:48 +08:00
21pages
76e1ca91df unify the protobuf message of vp9/h264/h265
Signed-off-by: 21pages <pages21@163.com>
2022-07-05 16:16:08 +08:00
csf
5a7dca72c8 fix custom_image_qulity and android 2022-06-30 20:48:29 +08:00
csf
a5ab0db5b9 switch enable abr 2022-06-30 18:24:36 +08:00
csf
09937049a6 enable hwcodec 2022-06-30 16:19:36 +08:00
csf
eaaeefd90b sync codec format 2022-06-30 00:03:17 +08:00
21pages
75fc49b301 make hwcodec's bitrate the same as vpx
Signed-off-by: 21pages <pages21@163.com>
2022-06-29 11:43:22 +08:00
21pages
b45dc606f1 Update example based on api changes
Signed-off-by: 21pages <pages21@163.com>
2022-06-29 09:38:01 +08:00
csf
47469dd971 fix ImageQuality compatibility 2022-06-27 22:24:56 +08:00
csf
21a90c5de8 abr update Windows 2022-06-27 03:30:46 -07:00
csf
83e5028cc9 Merge branch 'master' into hwcodec 2022-06-27 15:28:49 +08:00
csf
085356c0b3 Merge branch 'abr' into hwcodec 2022-06-27 15:21:31 +08:00
csf
ece86cda9e abr 2022-06-27 15:08:43 +08:00
Kingtous
4a89469b84 Merge remote-tracking branch 'rustdesk/master' into flutter_desktop
# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	build.rs
#	flutter/.gitignore
#	flutter/lib/common.dart
#	flutter/lib/mobile/pages/remote_page.dart
#	flutter/lib/models/model.dart
#	flutter/lib/models/native_model.dart
#	flutter/lib/models/server_model.dart
#	flutter/pubspec.lock
#	flutter/pubspec.yaml
#	src/client.rs
#	src/client/file_trait.rs
#	src/flutter.rs
#	src/mobile_ffi.rs
#	src/ui.rs
2022-06-27 11:18:53 +08:00
rustdesk
2ef9a9b842 upgrade seria 2022-06-25 02:44:19 +08:00
21pages
847c4acb07 Merge branch 'hwcodec' into master 2022-06-14 13:08:39 +08:00
rustdesk
c1caa4a7cd more error 2022-06-12 22:07:04 +08:00
rustdesk
933578e660 https://github.com/rustdesk/rustdesk/issues/665 2022-06-12 15:39:58 +08:00
rustdesk
f36f0f7530 https://github.com/rustdesk/rustdesk/issues/701 2022-06-10 18:25:25 +08:00
21pages
42c7c5982c scrap: check hwconfig in another process
Signed-off-by: 21pages <pages21@163.com>
2022-06-10 12:17:06 +08:00
rustdesk
7dfa038c6d fix shift + 'a' for mac 2022-06-10 12:00:59 +08:00
rustdesk
b88b4151bc 1.2.0 -> 1.1.10 2022-06-09 19:45:53 +08:00
21pages
feaadcfc96 scrap: ensure video_handler's creation before client start
Signed-off-by: 21pages <pages21@163.com>
2022-06-09 18:04:10 +08:00
Kingtous
618be48726 feat: appimage package script
revert: flutter lock file
2022-06-09 17:46:17 +08:00
21pages
2a91fb842d scrap: save best codec info in LocalConfig
Signed-off-by: 21pages <pages21@163.com>
2022-06-07 19:35:18 +08:00
21pages
27091dec0e scrap: remove lock on hwDecoder
Signed-off-by: 21pages <pages21@163.com>
2022-06-07 10:27:53 +08:00
rustdesk
c0aa0d743a https://github.com/rustdesk/rustdesk/issues/692 2022-06-07 00:30:37 +08:00
21pages
91012b5da5 scrap: refactor update_video_encoder
Signed-off-by: 21pages <pages21@163.com>
2022-06-06 17:02:07 +08:00
21pages
42546a7468 scrap: use the same bitrate ratio control as vpx
Signed-off-by: 21pages <pages21@163.com>
2022-06-06 15:59:30 +08:00
21pages
4bb09865cf scrap: update HwDecoder::instance()
Signed-off-by: 21pages <pages21@163.com>
2022-06-05 18:12:54 +08:00
rustdesk
c80e2204d9 https://github.com/rustdesk/rustdesk/issues/406#issuecomment-1145157327 2022-06-03 10:05:51 +08:00
rustdesk
25ca204213 https://github.com/rustdesk/rustdesk/issues/406#issuecomment-1145157327 2022-06-03 02:37:52 +08:00
RustDesk
720b05874a
Merge pull request #628 from fufesou/simple_rc
Fix WCHAR Path & Add Resources Integration Lib
2022-06-02 22:01:01 +08:00
SoLongAndThanksForAllThePizza
d756551791 fix: macos compilation 2022-06-02 16:13:34 +08:00
21pages
327bdb741c scrap: fix update_video_encoder
Signed-off-by: 21pages <pages21@163.com>
2022-06-02 11:32:55 +08:00
21pages
7e6c38e6d2 scrap: add hw quality control
Signed-off-by: 21pages <pages21@163.com>
2022-06-02 11:32:55 +08:00
21pages
399ddc8bef scrap: rename coder.rs to codec.rs
Signed-off-by: 21pages <pages21@163.com>
2022-06-02 11:32:55 +08:00
21pages
6677fc9b30 scrap: rename codec.rs to vpxcodec.rs
Signed-off-by: 21pages <pages21@163.com>
2022-06-02 11:32:55 +08:00
21pages
70968638bf scrap: add hwcodec
Signed-off-by: 21pages <pages21@163.com>
2022-06-02 11:32:50 +08:00
csf
75b920079b run android InputService independently 2022-06-01 21:14:02 +08:00
csf
16fd96aa96 fix android bit rate 2022-06-01 17:52:21 +08:00
SoLongAndThanksForAllThePizza
e1e3491ec6 fix: use forked codegen repo instead of local repo 2022-05-31 16:57:42 +08:00
SoLongAndThanksForAllThePizza
5825ae4531 fix: compile error when using enum in flutter 2022-05-31 16:28:12 +08:00
fufesou
62cb9eb51e privacy_mode_win_magnifier: more check on privacy mode
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-05-31 15:54:21 +08:00
fufesou
18ba55056f privacy_mode_win_magnifier: fix crash when resolution changed
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-05-30 18:16:04 +08:00
fufesou
2081113bed simple_rc: win init simple resource pack
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-05-30 13:06:48 +08:00
fufesou
e1bb25c70e fix_virtual_display_path: fix wchar* path
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-05-30 12:27:11 +08:00
fufesou
c269d1c831 privacy_mode: win10 magnifier
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-05-30 12:08:28 +08:00
Kingtous
a364e7f808 demo: use mobile_ffi to get id for desktop version 2022-05-25 14:12:40 +08:00
Kingtous
c4663ecbf3 fix: linux <- windows subfolder collepsed 2022-05-20 10:53:10 +08:00
csf
a071eeb710 fix audio latency 2022-05-19 18:39:13 +08:00
Kingtous
42f2ebc8e6 opt: clean code 2022-05-18 15:45:45 +08:00
Kingtous
fc39c0ffc0 add: android file transfer logic 2022-05-17 23:03:55 +08:00
RustDesk
7c2db5a835
Merge pull request #510 from Kingtous/opt/file_transfer_resume
opt: file transfer can resume when encountering reconnecting or close&open window
2022-05-17 17:22:40 +08:00
jkhsjdhjs
368af127df
enigo: check /usr/lib/rustdesk for pynput_service.py 2022-05-16 15:01:53 +02:00
Kingtous
39eb1b7211 opt: add resume btn 2022-05-16 14:45:17 +08:00
Kingtous
c96c0df645 fix: rebase conflict 2022-05-16 14:45:17 +08:00
Kingtous
52fd312ff3 opt: clean code 2022-05-16 14:45:17 +08:00