简体   繁体   中英

Is there a way to request microphone access for a chrome extension popup?

I'm currently playing around with WebKit speech API and trying to implement it in a chrome extension. Unfortunately, I'm having many troubles with getting the typical pop up that appears when a site asks for microphone permission (allowing you to accept or decline). Any idea on how to accomplish this? I have a div which triggers the web speech recognition function on click. Thanks so much! All help is appreciated!

本地方法getUserMedia是您想要的,并且不要忘记声明audioCapture权限。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM