Commit Graph

111 Commits

Author SHA1 Message Date
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