Commit Graph

184 Commits

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