169 Commits

Author SHA1 Message Date
RustDesk
ac7f8a6447
Revert "http/https proxy (#7600)" (#7801)
This reverts commit da57fcb6418f27672ef0c35c3408f70c75fc1bd4.
2024-04-23 15:26:16 +08:00
yuluo
da57fcb641
http/https proxy (#7600)
* add http(s) proxy

* Add front-end translation

* fix ui description

* For linux platform, add rustls support

* fix: Fix the proxy address test function.

* add: Added default prompts for agency agreement and some multi-language translations

* add: Http proxy request client

* fix: add async http proxy func and format the code

* add: Preliminary support for flutter front-end calling rust back-end http request

* Optimize HTTP calls

* Optimize HTTP calls

* fix: Optimize HTTP requests, refine translations, and fix dependencies
2024-04-23 15:00:23 +08:00
21pages
4252b5e273
enable ffmpeg native h26x software decoders for all platforms (#7750)
* enable ffmpeg native h26x software decoders for all platforms

* h26x software decoders depend on hwcodec feature, so all platforms
  enable it, software h26x decoders are always available like vpx, no available check and no option
* ffmpeg:
	- build: mac arm64 build ffmpeg with my m1, others build with ci
	- version: win/linux use ffmpeg release/5.1, becaues higher version require higher nvidia driver,  other platforms use release/7.0
* test:
	- ios not test.
	- android: sometimes the screen will appear blurry, but it will recover after a while.
	- arm64 linux: test a example of hwcodec repo

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

* check hwcodec only when enabled and immediately when clicked enabled

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

---------

Signed-off-by: 21pages <pages21@163.com>
2024-04-18 13:12:45 +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
XLion
58fe95d6fd
Uppercase API (#7577) 2024-04-02 11:44:27 +08:00
rustdesk
85f387bfb9 improve https://github.com/rustdesk/rustdesk/discussions/5631#discussioncomment-8916273 2024-03-27 00:38:13 +08:00
rustdesk
7060257051 Remove some arc, and add some custom client 2024-03-10 12:48:00 +08:00
21pages
b511a52e09
remove is_rdp_service_open judgement for option share rdp (#7257)
Signed-off-by: 21pages <pages21@163.com>
2024-02-25 20:09:30 +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
rustdesk
964c2ed2b5 smaller timeout for android and self-hosting 2024-02-17 16:50:03 +08:00
fufesou
e942c80afb
Fix. Potential dead lock, interval.tick() & named pipe (#7162)
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-02-17 16:35:38 +08:00
21pages
71d7398ae7
video handler holds only one decoder of the current codec format (#6939)
1. For example: when receiving h264 video frames, only 1 decoder is created, vram > ram
2. For creation and decoding failed:
  * Remove real_supported_decodings, this will update real existing decoders, replace it with the "mark_unsupported" vector. After creating the decoder failure, marks the codec as unsupported and updates supported decoding to the controlled side
  *  Add `fail_counter` in the decoder. When decoding 10 consecutive frames failed, adding codec type to 'mark_unsupported' vector
  *  The controlled end always ignores the unavailability of VP9

Signed-off-by: 21pages <pages21@163.com>
2024-01-22 20:01:17 +08:00
21pages
016f4abb32
sciter 2fa setting (#6951)
not add qr code text line as it's not selectable, and selectable input will steal the focus.

Signed-off-by: 21pages <pages21@163.com>
2024-01-22 16:29:08 +08:00
rustdesk
44e6b7dbb0 2fa for unattended access 2024-01-19 15:35:58 +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
90ac8b7b0b feat/virtual_display_privacy_mode
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-11-14 12:11:38 +08:00
rustdesk
d7e8d4d5c3 fix #6198 2023-11-06 20:12:01 +08:00
ClSlaid
30e85c8654
patch: make linux build ok
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-29 23:42:04 +08:00
ClSlaid
7aee76f5de
patch: don't show enable file clipboard when anyone unsupporting
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-29 23:11:30 +08:00
ClSlaid
80200a9983
patch: add has_file_clipboard field to PeerInfo
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-29 20:49:43 +08:00
ClSlaid
79f6b5c181
patch: forbid enable cliprdr without feature
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-29 20:10:39 +08:00
ClSlaid
8f9ba44c2c
Merge remote-tracking branch 'rd/master' into feat/x11/clipboard-file/init
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-16 18:57:45 +08:00
RustDesk
16b4db5083
Merge pull request #6031 from 21pages/wallpaper_remove_unsupported
not show remove wallpaper option if unsupported
2023-10-14 22:22:37 +08:00
21pages
68ef1fc9e0 show wallpaper only when support, show test on checked
Signed-off-by: 21pages <pages21@163.com>
2023-10-14 19:22:42 +08:00
dignow
013d307bcd feat, multi_flutter_ui_sessions
Signed-off-by: dignow <linlong1265@gmail.com>
2023-10-14 12:26:24 +08:00
ClSlaid
3a21efbaae
patch: linux fuse unmount
todo: grosely exit

Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-09-09 19:24:38 +08:00
rustdesk
f4d120b11f remove useless line 2023-08-23 12:04:19 +08:00
Sahil Yeole
f41cb0d81c updated get_new_version for ui
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
2023-08-23 00:14:32 +05:30
21pages
ee8510cec7 peer_to_map function serde password
Signed-off-by: 21pages <pages21@163.com>
2023-08-20 11:24:55 +08:00
21pages
553a3798a1 ab: sync all recent peers if option enabled
Signed-off-by: 21pages <pages21@163.com>
2023-08-16 11:36:16 +08:00
dignow
6608bf882f refactor, remove login device info in sciter
Signed-off-by: dignow <linlong1265@gmail.com>
2023-08-11 19:28:25 +08:00
dignow
7f6b18fc9c change ffi flutter_config to flutter_option
Signed-off-by: dignow <linlong1265@gmail.com>
2023-08-10 22:27:35 +08:00
dignow
7921be45f5 fix saving peer window pos
Signed-off-by: dignow <linlong1265@gmail.com>
2023-08-10 19:48:26 +08:00
dignow
9a6c38f0e8 remove global login device info
Signed-off-by: dignow <linlong1265@gmail.com>
2023-08-09 21:25:56 +08:00
dignow
e6dd082b0f fix, login device info
Signed-off-by: dignow <linlong1265@gmail.com>
2023-08-09 20:27:52 +08:00
RustDesk
6fbc23a096
Merge pull request #5296 from dignow/fix/id_server
oidc does not use api server cache & fix logout after changing server
2023-08-08 21:40:18 +08:00
dignow
6a500f2ede oidc does not use api server cache & fix logout after changing server
Signed-off-by: dignow <linlong1265@gmail.com>
2023-08-08 21:25:44 +08:00
dignow
32fe330946 restore window pos
Signed-off-by: dignow <linlong1265@gmail.com>
2023-08-08 18:14:01 +08:00
21pages
186f5ed39c remove flutter extra "waiting for image"
Signed-off-by: 21pages <pages21@163.com>
2023-08-07 09:23:08 +08:00
dignow
f495bf105f refact, separate remote window
Signed-off-by: dignow <linlong1265@gmail.com>
2023-08-05 18:01:05 +08:00
21pages
cd5658f01d refactor addressbook sync
Signed-off-by: 21pages <pages21@163.com>
2023-08-02 22:25:54 +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
rustdesk
9ac3128309 --set-id and --config, not tested yet 2023-07-19 17:11:57 +08:00
rustdesk
aacffd979b make config in exe name has highest priority, also overwrite config if
installation,
https://github.com/rustdesk/rustdesk-server-pro/issues/21#issuecomment-1638259580,
not tested yet
2023-07-19 14:45:11 +08:00
21pages
c42fbe3d45 update machine-uid for x86 sciter access x64 machine id
Signed-off-by: 21pages <pages21@163.com>
2023-07-02 18:31:24 +08:00
dignow
31ade3372c fix change id
Signed-off-by: dignow <linlong1265@gmail.com>
2023-06-25 15:37:39 +08:00
dignow
c468b48619 fix, sciter, change_id
Signed-off-by: dignow <linlong1265@gmail.com>
2023-06-25 13:14:21 +08:00
dignow
d15deabba5 better conditional compilation
Signed-off-by: dignow <linlong1265@gmail.com>
2023-06-24 21:09:45 +08:00
rustdesk
da1d3466b7 fix ci, no idea why my rustdesk_thirdparty_lib repo can not be checkout
without username
2023-06-24 16:32:39 +08:00
rustdesk
6e78a7debf fix ci 2023-06-24 16:16:29 +08:00