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

平板安卓APP内浏览器有时录不进音 #195

Open
jiandam55 opened this issue Sep 5, 2023 · 6 comments
Open

平板安卓APP内浏览器有时录不进音 #195

jiandam55 opened this issue Sep 5, 2023 · 6 comments

Comments

@jiandam55
Copy link

平板安卓APP内浏览器大多时候正常,但有时录不进音,一旦出现此情况时,必然重启APP,才能恢复正常。
十分困惑,求原因及方案。

@jiandam55
Copy link
Author

手机里装同一APP,从未出现此情况

@xiangyuecn
Copy link
Owner

目测是麦克风资源被别的app占用了,关闭占用麦克风的app应该就能恢复录音

@jiandam55
Copy link
Author

平板是定制的,里面只有几个APP,经你提示,我们把其它APP的“麦克风”权限都关了,只有我们APP(爱慧英语)有麦克风权限,但测试发现还是有时会出现录不了音。
出现不能录音时,网页刷新都没有用,只有退出APP再进才恢复。
发个截图给你分析下,谢谢啦。
https://www.aihuiwy.com/test555.jpg

@xiangyuecn
Copy link
Owner

没有日志,看不出什么问题,不清楚open打开录音成功了没成功。你可以加一个vconsole控制台插件,里面可以看到详细的日志

这种问题也不好处理,可能得换个浏览器内核

@jiandam55
Copy link
Author

作者你好,按你的提示,我加上了vconsole,录不了音时,发现里面没有报错,录音文件大小、长度都正常且上传到了服务器。
然后我从服务器里找到了这个文件,大小约50k是正常的,播放发现没有任何声音。

@xiangyuecn
Copy link
Owner

试一下在open前进行设置 Recorder.ConnectEnableWebM=false,要是还不行那就没办法了

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