Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

harmonyos compatibility #849

Closed
Tracked by #3893
516492043 opened this issue Jun 23, 2022 · 8 comments
Closed
Tracked by #3893

harmonyos compatibility #849

516492043 opened this issue Jun 23, 2022 · 8 comments

Comments

@516492043
Copy link

当我在鸿蒙2.0系统(兼容安卓10版本)下使用RustDesk1.19时,我的手机无法显示或启用语音服务,请帮忙修复,谢谢!
20220623_160224_837
20220623_160229_883

@516492043
Copy link
Author

如果有大神看到后并修复了此问题,不必回复我,我是小白一个,不会编程,不懂英语,github很多东西都搞不懂,如果发帖有发错的地方还望大佬见谅,谢谢!

@rustdesk
Copy link
Owner

@Heap-Hop yesterday i sent you

@Heap-Hop
Copy link
Contributor

@516492043
Maybe you need to upgrade HarmonyOS 2.0.1.

I checked with https://developer.huawei.com/consumer/cn/agconnect/cloud-adjust/

And noticed:
HarmonyOS 2.0.0 only works with Android 9 API, and 2.0.1 can use Android 10 API.

你可以试一下更新到HarmonyOS 2.0.1
我测试了2.0.0只能适配安卓9,2.0.1就可以使用安卓10的API了。

@516492043
Copy link
Author

@516492043 也许你需要升级和谐OS 2.0.1。

我查过了 https://developer.huawei.com/consumer/cn/agconnect/cloud-adjust/

并注意到: 和谐OS 2.0.0仅适用于Android 9 API,2.0.1可以使用Android 10 API。

你可以试一下更新到HarmonyOS 2.0.1 我测试了2.0.0只能适配安卓9,2.0.1就可以使用安卓10的API了。

你好,据我所知,目前华为手机的鸿蒙系统版本都在2.0.0.XXX版本,今天刚更新到最新版本依然是2.0.0XXX版本(请看下图),这就意味这有大概有2亿左右的华为用户无法正常使用RustDesk应用,华为手机鸿蒙3.0开发者内侧于2022年6月15日开始报名,距离公测或者或者正式版推送保守预计最少还要3个月的时间(这些还只是新机型),老机型保守估计5个月以后了,所以我有一个想法(只是建议),大神可以在下一版本加入安卓9.0的API,或者单独开发一个鸿蒙版本比较好,因为现在鸿蒙系统也有超过3亿的用户,在移动终端可称为世界第三大操作系统,并且用户量还在不断递增,大神可以酌情考虑。
Screenshot_20220623_183752_com huawei android hwouc

@516492043
Copy link
Author

@516492043 也许你需要升级和谐OS 2.0.1。

我查过了 https://developer.huawei.com/consumer/cn/agconnect/cloud-adjust/

并注意到: 和谐OS 2.0.0仅适用于Android 9 API,2.0.1可以使用Android 10 API。

你可以试一下更新到HarmonyOS 2.0.1 我测试了2.0.0只能适配安卓9,2.0.1就可以使用安卓10的API了。

众所周知,因为华为至少关闭root通道,所以用户系统的升级只能跟随官方推送,无法绕过官方渠道自行升级更高的版本级别,请理解!

@rustdesk rustdesk changed the title 反馈一些关于RustDesk1.19的问题 harmonyos compatibility Jun 24, 2022
@Heap-Hop
Copy link
Contributor

@516492043
Thanks for your advice.

  1. We should be talking about System Sound Recording for Android 9 API, not only HarmonyOS 2.0.0. We use AudioPlaybackCapture API which behaves completely differently on Android 9 and Android 10.
    It has bad experience on Android 9. see here
    We haven't found a suitable solution for System Sound Recording on Android 9 yet. :(
    Please let me know if there is a good solution for Android 9 or HarmonyOS specifically (not adb or root).
    And contributions welcome!

语音服务

  1. If you mean voice intercom instead of system audio recording, see Two-way transmission of sound #188

@sunfrank1987
Copy link

在鸿蒙OS 2.0.0 内录声音问题:

  1. build.gradle 设置 targetSdk 29
  2. 去掉 这个application android:allowAudioPlaybackCapture="true"
    二选一都可以,就可以采集到声音了

@rustdesk
Copy link
Owner

rustdesk commented Apr 2, 2023

close to favor #3893

@rustdesk rustdesk closed this as completed Apr 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants