简体   繁体   English

iOS 12上的麦克风访问FIrefox和Chrome

[英]Microphone access FIrefox and Chrome on iOS 12

In Safari it can be accessed via navigator.mediaDevices.getUserMedia(), but for Firefox and Chrome navigator.mediaDevices is undefined. 在Safari中,可以通过navigator.mediaDevices.getUserMedia()访问它,但是对于Firefox和Chrome,navigator.mediaDevices是未定义的。 I know that Firefox is using WebView Firefox docs (Probably Chrome too), and it is supposed that these browsers will have the same javascript engine as Safari. 我知道Firefox使用的是WebView Firefox文档 (可能也是Chrome),并且认为这些浏览器将具有与Safari相同的JavaScript引擎。 Is this correct? 这个对吗?

Maybe there is some HTML meta tag, which can enable access to media devices? 也许有一些HTML元标记可以启用对媒体设备的访问?

It still looks like that Apple has not given free the access to mediaDevices for other browser distributor on iOS (while it works on OSX for all browsers). 看起来苹果仍然没有为iOS上的其他浏览器分发者免费提供对mediaDevices的访问(尽管它在所有浏览器的OSX上都可以使用)。 By saying this not only microphone but also camera/video is not accessible for HTML pages. 这样说来,HTML页面不仅不能访问麦克风,而且不能访问摄像机/视频。

I've done a lot of researches about this topic but couldn't find a clear statement or any other way how to do it in Chrome/FF on iOS 11.2+. 我已经对此主题进行了大量研究,但是找不到明确的声明或其他任何方法来在iOS 11.2+的Chrome / FF中执行此操作。 Some information were just misleading. 一些信息只是误导。

I've just asked this question to the Mozilla community. 我刚刚向Mozilla社区提出了这个问题。 Feel free to track it in hope for a clear answer: question here 随时跟踪它,以期获得明确的答案: 在这里提问

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Chrome:不“记住”允许访问麦克风的选择 - Chrome: not “remembering” the choice to allow access to microphone 有没有一种方法可以请求访问Chrome扩展程序弹出窗口的麦克风? - Is there a way to request microphone access for a chrome extension popup? chrome扩展程序中的Twilio-用户拒绝访问麦克风 - Twilio in chrome extension - user denied access to microphone JS 如何在 Firefox 中分别检查对网络摄像头和麦克风的访问 - JS how can I separately check access to webcam and microphone in Firefox 如何在 FireFox 中检查访问麦克风的权限是否已被用户拒绝 - How to check if the permission to access microphone has been rejected by the user in FireFox 访问Chrome / Firefox图片缓存 - Access chrome/firefox image cache 在Firefox和Chrome中访问ActiveX对象 - Access ActiveX objects in Firefox and Chrome 如何通过getUserMedia在Google Chrome中访问麦克风? - How do I get microphone access in Google Chrome through getUserMedia? Chrome 不允许 HTTP 托管站点访问相机和麦克风 - Chrome is not letting HTTP hosted site to access Camera & Microphone 即使在安全环境中,Chrome 也不会提示用户访问摄像头和/或麦克风 - Chrome does not prompt user for camera and/or microphone access even in secure context
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM