[英]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.