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

h5嵌入app后,如何在后台也能保持录音 #250

Open
haojian2016 opened this issue Sep 29, 2024 · 3 comments
Open

h5嵌入app后,如何在后台也能保持录音 #250

haojian2016 opened this issue Sep 29, 2024 · 3 comments

Comments

@haojian2016
Copy link

No description provided.

@xiangyuecn
Copy link
Owner

  • iOS App需要在项目Background Modes中勾选Audio才能在后台保持录音
  • Android App需要使用保活机制才能在后台录音,开一个前台服务 会显示常驻通知

参考 https://github.com/xiangyuecn/Recorder/tree/master/app-support-sample/ 里面的demo_android demo_ios

@haojian2016
Copy link
Author

iOS 勾选Audio了,但还是不行

@haojian2016
Copy link
Author

刚又试了另一台手机,系统16.4.1的可以;iPhone7 系统15.7.9的不行,其他手机和系统还没试,不知是否和系统有关系

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

2 participants