Commit Graph

81 Commits

Author SHA1 Message Date
21pages
036d10cfbe
android: for software encoding and screen size > 1200, display size reduced to half (#8167)
Signed-off-by: 21pages <sunboeasy@gmail.com>
2024-05-28 12:43:13 +08:00
21pages
49b0630752
fix android mediacodec encoding align (#8121)
* update ffmpeg, mediacodec encode align 64
* more d3d11 decode availablity check
* remove unused mediacodec info

Signed-off-by: 21pages <sunboeasy@gmail.com>
2024-05-22 20:18:09 +08:00
fufesou
0500bf070e
refact: android audio input, voice call (#8037)
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-05-14 09:20:27 +08:00
21pages
d70b0cdd4f
Not require both max-width and max-height of mediacodec larger than (#8036)
screen width and screen height

* Only use hardware codec, when api < 29, judge with codec name prefix.

Signed-off-by: 21pages <pages21@163.com>
2024-05-13 20:24:50 +08:00
21pages
a7499c2de8
add ffmpeg mediacodec h264/h265 encode (#8028)
* Check available when app start from kotlin via get codec info
* For latency free, repeat encode 10 frame at most when capture return WouldBlock
* For changing quality, kotlin support but jni doesn't support, rerun video service when quality is manualy
  changed
* 3 or 6 times bitrate for mediacodec because its quality is poor

Signed-off-by: 21pages <pages21@163.com>
2024-05-13 12:39:04 +08:00
fufesou
bed0375f45
fix: android, stop capture, release surface (#8004)
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-05-10 14:37:00 +08:00
21pages
d55770f12b
remove android resolution scale (#8002)
Signed-off-by: 21pages <pages21@163.com>
2024-05-10 10:18:20 +08:00
fufesou
125c275623
fix: android media project dialog every conn on Android 14 (#7997)
* fix: android media project dialog every conn on Android 14

Signed-off-by: fufesou <shuanglongchen@yeah.net>

* comments

Signed-off-by: fufesou <shuanglongchen@yeah.net>

* comments

Signed-off-by: fufesou <shuanglongchen@yeah.net>

---------

Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-05-09 23:33:34 +08:00
21pages
a595d83232
fix android possible waiting for image issue (#7994)
Signed-off-by: 21pages <pages21@163.com>
2024-05-09 18:59:51 +08:00
21pages
e373144350
android 13+ request notification permission when start service (#7941)
Signed-off-by: 21pages <pages21@163.com>
2024-05-07 18:45:05 +08:00
rustdesk
ae23f0de03 Improve android threading, https://github.com/rustdesk/rustdesk/issues/4118#issuecomment-1515666629
todo: should we add some condition to assure imageReader not be closed
while callback is running?
2024-04-18 22:38:32 +08:00
rustdesk
edb5529df3 flutter_icons does not generate mipmap-ldpi, so I drop it also 2024-04-18 17:32:15 +08:00
rustdesk
24ac7c1626 remove google-services.json 2024-04-18 15:23:12 +08:00
rustdesk
7bb4e22a77 fix ci 2024-04-16 22:53:01 +08:00
rustdesk
01ec539065 load android custom client for jvm startServer 2024-04-16 21:46:54 +08:00
rustdesk
28340c80dd fix me 2024-04-15 15:58:07 +08:00
rustdesk
05f6fde467 ffi.RustDesk -> ffi.FFI 2024-04-15 15:49:37 +08:00
rustdesk
260d0cdc67 fix me 2024-04-15 15:37:33 +08:00
rustdesk
cdd92303b8 refactor android ffi 2024-04-15 15:20:27 +08:00
21pages
bd81e4d0fb android video service wakelock
Signed-off-by: 21pages <pages21@163.com>
2023-11-24 12:02:45 +08:00
mcfans
b522de3b56 Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	Cargo.lock
#	src/server/connection.rs
2023-11-07 12:13:15 +08:00
mcfans
e474b595ad fix: add proguard rules, avoid protobuf generated classes got obfuscated 2023-11-06 01:04:53 +08:00
mcfans
6d8272472a fix: set correct flag 2023-11-04 20:24:15 +08:00
mcfans
409d5b124a fix: add page up/down keymap 2023-11-04 17:57:19 +08:00
mcfans
b155cd9a5a fix: set same rect for correct layout and navigation and set correct selection 2023-11-04 17:08:49 +08:00
mcfans
c49853e7b4 fix: set text before update accessibility node 2023-11-03 10:47:46 +08:00
Sahil Yeole
49205b604c add android intent url scheme
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
2023-11-02 23:57:31 +05:30
mcfans
0a94b7473d fix: use onKeyDown to dispatch key event 2023-11-03 01:50:21 +08:00
mcfans
100967c57b fix: set focusable before request focus 2023-11-02 00:37:21 +08:00
21pages
4480fbf787 Revert "fix android ci, replace use with try-finally"
This reverts commit dfe96eb30c.
2023-11-01 16:38:20 +08:00
rustdesk
c2287033e3 XXPermissions:18.5 2023-11-01 16:31:37 +08:00
21pages
dfe96eb30c fix android ci, replace use with try-finally
Signed-off-by: 21pages <pages21@163.com>
2023-11-01 09:22:49 +08:00
mcfans
47d57ddf70 fix: set focus and FLAG_RETRIEVE_INTERACTIVE_WINDOWS 2023-11-01 00:06:45 +08:00
mcfans
9521ac6adb chore: add some log 2023-10-31 21:14:32 +08:00
mcfans
70dd3f323e fix: update text selection for API level lower than 33 2023-10-30 07:46:29 +08:00
mcfans
67b2a433a8 fix: use enhanced accessibilty node find method 2023-10-27 13:18:35 +08:00
mcfans
dd33c0e582 fix: use seq for translate mode and use commitText 2023-10-24 13:34:52 +08:00
mcfans
d900f2c47c fix: add old code back for old version 2023-10-20 21:12:02 +08:00
mcfans
9a903a1ca3 feat: use current input method to send key 2023-10-20 00:32:59 +08:00
mcfans
26e77ba2c3 feat: modifier key 2023-10-19 14:19:19 +08:00
mcfans
b3e2ab0f3b feat: map mode and translate mode receive side 2023-10-19 13:33:26 +08:00
mcfans
22165ec1a5 feat: legacy mode android keyboard support 2023-10-19 00:16:22 +08:00
mcfans
bbc241748b feat: support android keyboard input 2023-10-17 22:12:52 +08:00
rustdesk
7242d03f56 change target android sdk to 33 2023-09-05 15:09:41 +08:00
RustDesk
2a8dc1d34a
Merge pull request #5323 from dignow/refact/android_scroll_event
Refact/android scroll event
2023-08-23 12:51:54 +08:00
Peter Dave Hello
098df81754 Optimize PNG images losslessly using zopflipng
59 PNG images recompressed as below:

fastlane/metadata/android/en-US/images/phoneScreenshots/1.png                   | Bin 27006 -> 26922 bytes
fastlane/metadata/android/en-US/images/phoneScreenshots/2.png                   | Bin 326177 -> 325660 bytes
fastlane/metadata/android/en-US/images/phoneScreenshots/3.png                   | Bin 431697 -> 428945 bytes
fastlane/metadata/android/en-US/images/sevenInchScreenshots/6.png               | Bin 462394 -> 461442 bytes
fastlane/metadata/android/en-US/images/sevenInchScreenshots/7.png               | Bin 388078 -> 387416 bytes
fastlane/metadata/android/en-US/images/sevenInchScreenshots/8.png               | Bin 273393 -> 272856 bytes
flutter/android/app/src/main/res/mipmap-hdpi/ic_launcher.png                    | Bin 3990 -> 3479 bytes
flutter/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png         | Bin 7492 -> 6026 bytes
flutter/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png              | Bin 6161 -> 5107 bytes
flutter/android/app/src/main/res/mipmap-hdpi/ic_stat_logo.png                   | Bin 1028 -> 487 bytes
flutter/android/app/src/main/res/mipmap-ldpi/ic_launcher.png                    | Bin 1667 -> 1524 bytes
flutter/android/app/src/main/res/mipmap-mdpi/ic_launcher.png                    | Bin 2207 -> 1987 bytes
flutter/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png         | Bin 4348 -> 3641 bytes
flutter/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png              | Bin 3525 -> 3017 bytes
flutter/android/app/src/main/res/mipmap-mdpi/ic_stat_logo.png                   | Bin 715 -> 383 bytes
flutter/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png                   | Bin 4827 -> 4237 bytes
flutter/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png        | Bin 9515 -> 7659 bytes
flutter/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png             | Bin 7604 -> 6202 bytes
flutter/android/app/src/main/res/mipmap-xhdpi/ic_stat_logo.png                  | Bin 1524 -> 719 bytes
flutter/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png                  | Bin 9171 -> 7498 bytes
flutter/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png       | Bin 33762 -> 22530 bytes
flutter/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png            | Bin 13879 -> 10713 bytes
flutter/android/app/src/main/res/mipmap-xxhdpi/ic_stat_logo.png                 | Bin 2091 -> 884 bytes
flutter/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png                 | Bin 9893 -> 7409 bytes
flutter/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png      | Bin 41583 -> 31138 bytes
flutter/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png           | Bin 16113 -> 11189 bytes
flutter/android/app/src/main/res/mipmap-xxxhdpi/ic_stat_logo.png                | Bin 3162 -> 1389 bytes
flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png | Bin 49903 -> 32239 bytes
flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png     | Bin 669 -> 511 bytes
flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png     | Bin 1344 -> 989 bytes
flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png     | Bin 2049 -> 1545 bytes
flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png     | Bin 969 -> 755 bytes
flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png     | Bin 1948 -> 1510 bytes
flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png     | Bin 3139 -> 2299 bytes
flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png     | Bin 1344 -> 989 bytes
flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png     | Bin 2846 -> 2086 bytes
flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png     | Bin 4240 -> 3087 bytes
flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png     | Bin 4240 -> 3087 bytes
flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png     | Bin 6893 -> 4914 bytes
flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png     | Bin 2594 -> 1964 bytes
flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png     | Bin 5794 -> 4152 bytes
flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png | Bin 6468 -> 4494 bytes
flutter/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png       | Bin 37517 -> 35842 bytes
flutter/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png         | Bin 448 -> 420 bytes
flutter/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png        | Bin 6198 -> 6071 bytes
flutter/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png         | Bin 875 -> 827 bytes
flutter/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png        | Bin 13870 -> 13288 bytes
flutter/web/icons/Icon-192.png                                                  | Bin 8908 -> 6339 bytes
flutter/web/icons/Icon-512.png                                                  | Bin 25973 -> 17282 bytes
flutter/web/icons/Icon-maskable-192.png                                         | Bin 8908 -> 6339 bytes
flutter/web/icons/Icon-maskable-512.png                                         | Bin 25973 -> 17282 bytes
libs/clipboard/docs/assets/scene3.png                                           | Bin 5480 -> 5475 bytes
libs/clipboard/docs/assets/win_A_B.png                                          | Bin 43658 -> 43619 bytes
libs/clipboard/docs/assets/win_B_A.png                                          | Bin 43515 -> 43447 bytes
res/128x128@2x.png                                                              | Bin 10623 -> 7689 bytes
res/icon.png                                                                    | Bin 60426 -> 40256 bytes
res/mac-icon.png                                                                | Bin 37517 -> 35842 bytes
res/mac-tray-dark-x2.png                                                        | Bin 703 -> 651 bytes
res/mac-tray-light-x2.png                                                       | Bin 728 -> 586 bytes
2023-08-12 02:25:04 +08:00
dignow
5b2358c97f debug android scroll
Signed-off-by: dignow <linlong1265@gmail.com>
2023-08-10 14:54:29 +08:00
dignow
072430cef5 debug android scroll
Signed-off-by: dignow <linlong1265@gmail.com>
2023-08-10 14:54:29 +08:00
dignow
5f7055e282 debug
Signed-off-by: dignow <linlong1265@gmail.com>
2023-08-10 14:54:29 +08:00
dignow
be982d95ea tmp build
Signed-off-by: dignow <linlong1265@gmail.com>
2023-08-10 14:54:29 +08:00