artyom.js icon indicating copy to clipboard operation
artyom.js copied to clipboard

chrome is not allowed to use the microphone

Open Ogaiht10 opened this issue 7 years ago • 15 comments

I have a project that worked until months ago, but suddenly the chromer started not giving permission to use the microphone. I entered the chromer configuration to see if the url was in the blocked microphone addresses, but it was not. Can anyone help?

Ogaiht10 avatar Oct 17 '17 03:10 Ogaiht10

One thing I noticed that caused issues was having artyom running in another window at the same time. Could that be an issue?

webleyson avatar Oct 17 '17 07:10 webleyson

@webleyson Indeed, you can't run 2 instances of the WebkitSpeechRecognition API in the browser. However in older versions of Chrome, this made the browser crash so I though it would evident, however i'll add it to the FAQ.

sdkcarlos avatar Oct 17 '17 12:10 sdkcarlos

@Ogaiht10 , does the homepage of Artyom work or is only in your project ? Any error in the console?

sdkcarlos avatar Oct 17 '17 12:10 sdkcarlos

This is only happening in my project. In the homepage of Artyom is working normal. I'm not running two instances. My project is: http://databindsolucoes.com.br/robo/robo.html

Ogaiht10 avatar Oct 18 '17 00:10 Ogaiht10

Did you see the project? Does anyone know what can it be?

Ogaiht10 avatar Oct 23 '17 20:10 Ogaiht10

Hello, Same problem with our project : http://129.194.185.235:8080/touchpad-voice/345.

This problem occurs with an IP public or an IP in a private network, but it works fine when it's running on localhost. This problem doesn't occur with old chrome version (like 58.0) but with recent (like 68.0).

image

The cross in logo of microphone stays even if we authorize.

EDIT : the project uses artyom 1.0.5

maximeburri avatar Nov 06 '17 11:11 maximeburri

@sdkcarlos, is there any solution to our problem?

Ogaiht10 avatar Nov 06 '17 17:11 Ogaiht10

Any ideas ?

maximeburri avatar Nov 13 '17 10:11 maximeburri

Oh. It's cause by chrome who block access on insecure origins with Chrome 60 from 25th of July (Article : Access No Longer Works On Insecure Origins).

We need to configure a secure origins (https) to resolve this issue.

EDIT: but it works on http://localhostor http://127.0.0.1

maximeburri avatar Nov 13 '17 12:11 maximeburri

I have the same issue in localhost as well as on my website. My browser version is: Version 69.0.3497.100 (Official Build) (64-bit) 2018-10-08_13h13_28

nilekshdhimer avatar Oct 08 '18 07:10 nilekshdhimer

@sdkcarlos Hello, please give a solution for this.

nilekshdhimer avatar Oct 10 '18 09:10 nilekshdhimer

using SSL for your site and allow your site access microphone

vietdq1291 avatar Oct 19 '18 04:10 vietdq1291

using SSL for your site and allow your site access microphone

I have already allowed my site to access microphone

nilekshdhimer avatar Oct 19 '18 04:10 nilekshdhimer

oh i'm sorry i don't using this library i'm using webkitSpeechRecognition with angular 6

vietdq1291 avatar Oct 19 '18 05:10 vietdq1291

I currently have the same problem in a chrome extension that I am building. For some reason, this does not show up on my PC but then I tried it on 2 different macs and on both this problem shows up.

kaiknox avatar Apr 21 '20 17:04 kaiknox