Android设备显示,即使暂停了会话并禁用了音频,也正在积极使用麦克风
- 开始发布会话,请注意,Android OS现在报告说,该应用程序正在使用相机和麦克风,这很好。
- ” = false。
- (可选)通过按Home按钮将应用程序移动到背景中。
- Android OS表示不再使用相机,但是应用程序仍在使用麦克风。
=“ https://user-images.githubusercontent.com/5056279/1609662-53F9D027-F9D027-F078-43AE-43AE-92BE-3B5E487459D5.PNG
像相机一样,我还能打电话给其他方法以完全关闭麦克风访问吗?
- Start publishing to a session, notice that Android OS now reports that camera and microphone is being used by the app, which is fine.
- Call session.onPause() followed by publisher.publishAudio = false.
- (Optional) Move application into background by pressing Home button.
- Android OS indicates that camera is no longer being used, but microphone is still being used by the application.
Although it does not affect usability of the app it is bad in terms of user privacy perspective - the user might think the app is still recording audio while it is in background, which is scary.
Is there other methods I can call to turn off the microphone access totally, just like the camera?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
收到了Tokbox支持的答复,他们提供了一种按预期工作的调整!
Got a reply from Tokbox support and they provided a tweak that works as expected!