本文介绍了如何记得Android版Chrome摄像头/麦克风权限?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在写的设计是从Android平板电脑使用WebRTC技术的应用。当您访问应用程序,浏览器会提示您允许或拒绝访问摄像头/麦克风。根据这个页面(),如果您在后面HTTPS您的应用程序,那么浏览器会记住您选择的设置。

I'm writing a WebRTC app that is designed to be used from an Android tablet. When you access the app, Chrome prompts you to Allow or Deny access to the camera/microphone. According to this page (https://support.google.com/chrome/answer/2693767?hl=en), if you host your app behind HTTPS, then browsers will remember the setting you chose.

这正常工作在Chrome在桌面上(苹果机,Linux),但是当我访问相同的网站浏览器测试版Android版(V29),它会提示我允许/每次都拒绝。

This works correctly in Chrome on the desktop (Mac, Linux) but when I visit the same site in Chrome Beta for Android (v29), it prompts me to Allow/Deny each time.

如何获得浏览器测试版为Android记住设置,以便我的用户就不必不断挖掘允许按钮?

How can I get Chrome Beta for Android to remember that setting so my users don't have to constantly tap the Allow button?

推荐答案

据铬的开发者,这是由设计,他们不会解决这个问题,隐私的原因。

According to the chromium devs, this is by design and they won't fix this, for privacy reasons.

<一个href=\"https://$c$c.google.com/p/chromium/issues/detail?id=274022&can=1&q=webrtc%20permission&colspec=ID%20Pri%20M%20Iteration%20ReleaseBlock%20Cr%20Status%20Owner%20Summary%20OS%20Modified\" rel=\"nofollow\">https://$c$c.google.com/p/chromium/issues/detail?id=274022&can=1&q=webrtc%20permission&colspec=ID%20Pri%20M%20Iteration%20ReleaseBlock%20Cr%20Status%20Owner%20Summary%20OS%20Modified

这篇关于如何记得Android版Chrome摄像头/麦克风权限?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-24 17:08