VoiceSens icon indicating copy to clipboard operation
VoiceSens copied to clipboard

Microphone not detected during the execution

Open ghost opened this issue 5 years ago • 4 comments

The microphone access is not being asked when i execute the program, during the User Voice Print Enrollment - Start Recording, the microphone doesn't seem to activate, please help Screenshot from 2020-02-26 20-52-13

ghost avatar Feb 26 '20 15:02 ghost

@darcAng3l I am also facing the same issue with the below error

voice.js:35 Device error: Error: getUserMedia is not implemented in this browser
(anonymous) @ voice.js:35
p5.sound.min.js:26 Error: getUserMedia is not implemented in this browser
    at Object.navigator.mediaDevices.getUserMedia.navigator.mediaDevices.getUserMedia (p5.dom.min.js:3)
    at t.AudioIn.start (p5.sound.min.js:26)
    at voice.js:60
(anonymous) @ p5.sound.min.js:26

I think in newer implementations we need to take permissions for the mic from a user and the method which was implemented here in the project is deprecated.

If any solutions found it would be appreciated

varskaj avatar Jun 13 '20 06:06 varskaj

It is due to the policy changes By default, the state is suspended. Hence no response on the website This might help : https://developers.google.com/web/updates/2017/09/autoplay-policy-changes#webaudio

varskaj avatar Jun 15 '20 05:06 varskaj

i have same issue, can someone update ?

ilovefood2 avatar Jan 19 '21 02:01 ilovefood2

To ignore Chrome’s secure origin policy, follow these steps.

Navigate to chrome://flags/#unsafely-treat-insecure-origin-as-secure in Chrome.

Find and enable the Insecure origins treated as secure section (see below).

Add any addresses you want to ignore the secure origin policy for. Remember to include the port number too (if required).

Save and restart Chrome.

I found solution from below link.Hope it will help to someone

https://medium.com/@Carmichaelize/enabling-the-microphone-camera-in-chrome-for-local-unsecure-origins-9c90c3149339

suvarawg10 avatar Dec 26 '21 19:12 suvarawg10