Commit Graph

272 Commits

Author SHA1 Message Date
fufesou
ed0338b038 fix build && default flutter_texture_render
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-02-23 17:06:53 +08:00
fufesou
173e3bcd0d debug win, without hwcodec
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-02-23 17:06:52 +08:00
fufesou
77c4a14845 flutter texture render, mid commit
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-02-23 17:06:51 +08:00
21pages
4beacf93d7 kill check-hwcodec-config process
Signed-off-by: 21pages <pages21@163.com>
2023-02-21 16:34:24 +08:00
fufesou
b733ad9379 refact register_breakdown_handler
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-02-19 10:19:28 +08:00
fufesou
74a73b7ffd add default position for portal streams
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-01-31 17:51:20 +08:00
21pages
176847c51e fix warning
Signed-off-by: 21pages <pages21@163.com>
2023-01-29 14:28:10 +08:00
fufesou
d1090fc62c ensure init cursor embedded
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-01-29 12:41:16 +08:00
fufesou
c0adc14215 misspelling
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-01-29 12:41:16 +08:00
fufesou
b84f3ba1ee init wayland to update var 'cursor embeded'
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-01-29 12:41:16 +08:00
fufesou
7e0c9e17df set cursor mode according to availible modes
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-01-29 12:41:16 +08:00
Josh Soref
3949e3162c spelling: rotation
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-01-09 12:59:08 -05:00
Josh Soref
33c3489a9e spelling: prefer
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-01-09 12:59:08 -05:00
Josh Soref
6ca852363e spelling: control
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-01-09 12:58:33 -05:00
Josh Soref
185ff9e91e spelling: available
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-01-09 12:58:33 -05:00
Amy Parker
84e4389943
remove unnecessary allow block
Patch #2701 (609117c: "ignore style warnings in libs/scrap") was merged,
but the RustDesk team decided to later instead changed
is_cursor_embedded to uppercase (see discussion on the PR), thus no
longer triggering the warning and no longer needing the allow block.
This was changed in (b723f84: "fix linux to mac, keyboard input"). This
patch removes the now unnecessary allowances.

Signed-off-by: Amy Parker <apark0006@student.cerritos.edu>
Cc: fufseou <shuanglongchen@yeah.net>
2023-01-05 20:32:53 -08:00
fufesou
b723f8472d fix linux to mac, keyboard input
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-01-05 15:00:52 +08:00
Amy Parker
f816e53c2b
ignore style warnings in libs/scrap
Constant `is_cursor_embedded` does not follow the Rust standard
stylistic convention of upper-case global variables and constants. This
causes two warnings to be thrown when compiling (tested on Arch Linux,
commit = 68fda34, Rust = 1.66.0), one each for the Wayland and X11
common modules. Since these variables are not new, their names should
not be modified; to remove the warnings, this patch allows
non-style-conforming names on these two constant declarations
specifically, suppressing the warnings. It does not affect stylistic
warnings on any other code within the project.

Signed-off-by: Amy Parker <apark0006@student.cerritos.edu>
Cc: fufesou <shuanglongchen@yeah.net>
2023-01-02 11:20:25 -08:00
fufesou
b114ebf350 fix some misspellings
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-12-31 21:41:16 +08:00
rustdesk
0d0957cea5 remove u128 compare 2022-12-26 17:44:29 +08:00
KG7x
71103886e6 Fix typo 2022-12-25 20:21:13 +03:00
Huabing Zhou
385a1594f3 Merge branch 'master' of github.com-rustdesk:rustdesk/rustdesk 2022-12-23 22:02:06 +08:00
Huabing Zhou
4815099482 make m1 run (used brew install llvm) 2022-12-23 22:00:05 +08:00
Sangha Lee
59a82a9fbd
downgrade gstreamer to 0.16 2022-12-22 20:42:34 +09:00
Sangha Lee
0819a3d8ea
Revert "Merge pull request #2628 from rustdesk/revert-2612-master"
This reverts commit e50882a660, reversing
changes made to 7f006102b5.
2022-12-22 18:54:27 +09:00
RustDesk
9c24117b13
Revert "Implement RGB0 pixel format " 2022-12-22 12:22:26 +08:00
Sangha Lee
3643870287
fix unsafe code 2022-12-21 18:42:22 +09:00
Sangha Lee
38f66df091
implement RGB0 #2608 2022-12-21 04:12:34 +09:00
Sangha Lee
d910e7ad96
update gstreamer 2022-12-21 03:32:42 +09:00
21pages
72594c7e0e remove hwcodec log
Signed-off-by: 21pages <pages21@163.com>
2022-12-13 21:30:08 +08:00
21pages
d08eb0441c log
Signed-off-by: 21pages <pages21@163.com>
2022-12-13 16:25:05 +08:00
21pages
e58f2186ec don't new hwcodec decoders if option disabled
Signed-off-by: 21pages <pages21@163.com>
2022-12-13 14:58:41 +08:00
21pages
2136931f80 upload record
Signed-off-by: 21pages <pages21@163.com>
2022-12-08 09:07:18 +08:00
fufesou
5877bcf2a1 fix cursor embeded value on x11
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-11-29 17:59:11 +08:00
fufesou
4d044ca57a wayland cursor embeded
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-11-29 16:36:35 +08:00
fufesou
87306a3d01 wayland filter last same frame
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-11-25 19:28:43 +08:00
fufesou
e31130d4f8 wayland, fix check Lock && Mod Resolution
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-11-25 19:28:43 +08:00
21pages
8e1545b432 portable service
Signed-off-by: 21pages <pages21@163.com>
2022-11-15 17:05:10 +08:00
fufesou
6b3c2f3beb fix android build errors and warnings
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-11-13 18:29:05 +08:00
fufesou
2da5401fd4 add global init and update wayland error map
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-10-17 21:55:26 +08:00
21pages
150057f92d fix default video save directory
Signed-off-by: 21pages <pages21@163.com>
2022-10-12 16:48:06 +08:00
21pages
e74f155cb6 fix recording start stop
Signed-off-by: 21pages <pages21@163.com>
2022-09-22 09:57:52 +08:00
21pages
eff5dd2e03 ensure first mux frame is key frame
Signed-off-by: 21pages <pages21@163.com>
2022-09-22 09:57:52 +08:00
21pages
9489877c78 video record
Signed-off-by: 21pages <pages21@163.com>
2022-09-22 09:57:52 +08:00
RustDesk
6c897687d4
Merge pull request #1553 from songwei163/weisong/fix_m1_pro_compile_scrap_error
fix m1 pro scrap compile error
2022-09-16 22:44:08 +08:00
songwei163
dd2315a518 fix m1 pro scrap compile error 2022-09-16 22:22:17 +08:00
csf
e3a5218eb1 global HW_CODEC_CONFIG 2022-09-16 19:41:04 +08:00
csf
f310251cfc feat mediacodec: Android H264/H265 decoder support 2022-09-15 20:40:29 +08:00
csf
af656f9489 add mediacodec.rs 2022-09-15 12:19:09 +08:00
21pages
42d17f9d2b fix audio no sound, add missing VideoFrame timestamp
move get_time to hbb_common

Signed-off-by: 21pages <pages21@163.com>
2022-09-13 09:10:04 +08:00
Kingtous
3b9c62b05d Merge remote-tracking branch 'rustdesk/master' into flutter_desktop
# Conflicts:
#	.github/workflows/ci.yml
#	Cargo.lock
#	Cargo.toml
#	flutter/lib/common.dart
#	flutter/lib/mobile/pages/remote_page.dart
#	flutter/lib/mobile/pages/server_page.dart
#	flutter/lib/mobile/pages/settings_page.dart
#	flutter/lib/mobile/widgets/dialog.dart
#	flutter/lib/models/model.dart
#	flutter/lib/models/server_model.dart
#	src/client.rs
#	src/common.rs
#	src/ipc.rs
#	src/mobile_ffi.rs
#	src/rendezvous_mediator.rs
#	src/ui.rs
2022-08-01 10:44:05 +08:00
fufesou
f3d10dd420 fix build without wayland feature
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-07-27 06:34:27 -07:00
21pages
b55fc35d83 hwcodec: fix compile error
Signed-off-by: 21pages <pages21@163.com>
2022-07-22 09:13:40 +08:00
RustDesk
eda5a94e33
Merge pull request #1013 from 21pages/hwcodec
Hwcodec: codec preference
2022-07-22 01:24:41 +08:00
rustdesk
9ee2d750f8 fix compile error 2022-07-21 22:29:26 +08:00
fufesou
d19a8fdc43 fix_capturer_trait_name_shadowing: build win
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-07-21 20:38:15 +08:00
RustDesk
416832a1ed
Merge pull request #982 from twmsh/master
update bytes(protobuf types) mapping, from Vec<u8> to bytes:Byte
2022-07-21 18:09:14 +08:00
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
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
tom
efa6b5972d update bytes(protobuf types) mapping, from Vec<u8> to bytes:Byte
issues:958
2022-07-16 00:45:23 +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
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
21a90c5de8 abr update Windows 2022-06-27 03:30:46 -07: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
21pages
847c4acb07 Merge branch 'hwcodec' into master 2022-06-14 13:08:39 +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
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
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
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
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
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
c269d1c831 privacy_mode: win10 magnifier
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-05-30 12:08:28 +08:00
rustdesk
c1bad84a86 100% open source 2022-05-12 17:35:25 +08:00
rustdesk
4d5d0a4c62 improve video, ignore same image 2022-04-24 02:50:28 +08:00
rustdesk
75c9a8c561 remote min size, android icon and scrap memory safety 2022-04-14 20:44:43 +08:00
rustdesk
609996005f STRIDE_ALIGN 16 -> 64 2022-04-12 23:31:42 +08:00
gengteng
82f2431eb8 use vcpkg to find package 2022-03-22 16:34:27 +08:00
rustdesk
617f87a797 fix wrong format of mac 2022-03-08 01:07:59 +08:00
rustdesk
4703a7d332 https://github.com/rustdesk/rustdesk/issues/327 2021-12-24 19:13:11 +08:00
open-trade
a30aaebc72 fix clipboard crash and https://github.com/rustdesk/rustdesk/issues/302 2021-12-23 17:44:44 +08:00
rustdesk
64b4d14629 fix on 32 2021-08-14 01:02:39 +08:00
rustdesk
d03172e2f3 prepare 32 2021-08-14 00:45:12 +08:00
rustdesk
49dff161dd enable dxgi https://github.com/rustdesk/rustdesk/issues/79, may fix https://github.com/rustdesk/rustdesk/issues/169 2021-07-31 03:00:07 +08:00
rustdesk
7282a462f4 scrap readme 2021-07-29 13:33:26 +08:00
rustdesk
a740870b67 fix on android 2021-07-29 13:30:12 +08:00
rustdesk
e6744d031d connection type 2021-07-27 23:53:12 +08:00
rustdesk
7c5915e3d3 vpxmt -> vpx after vcpkg upgraded 2021-07-24 19:33:11 +08:00
RustDesk
7282c3a16d
Update README.md 2021-07-23 17:54:16 +08:00
rustdesk
c15c44788c try out wayland 2021-07-23 17:52:38 +08:00
rustdesk
f760e56f79 better support for win7 2021-05-17 20:46:02 +08:00
rustdesk
547b85adbf force to use static link for Manjaro 2021-05-02 00:37:32 +08:00
rustdesk
d1013487e2 source code 2021-03-29 15:59:14 +08:00