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

Uni-app 打包成android 的webv-iew中 麦克风的选中问题! #232

Open
MooLee89 opened this issue Jul 2, 2024 · 1 comment
Open

Comments

@MooLee89
Copy link

MooLee89 commented Jul 2, 2024

我遇到一个问题:
在uni-app 的web-view中 如果手机链接了多个麦克风, 录音的时候 调用navigator.mediaDevices.getUserMedia

为什么获取到的设备列表的label 为空呢? 大佬有解决方案么?

我前提是 webview 加载了 https的链接,app已经授权成功,web-view 已经添加 allow。还是会出现 枚举的时候 还是无法获取到 label的问题

@xiangyuecn
Copy link
Owner

Android的webview是拿不到 label ,安卓手机上除了chrome 测试的没有哪个浏览器能拿到label

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