Mihai Alexandru-Ionut
Mihai Alexandru-Ionut

Reputation: 48407

Why speech recognition works in web page, but in electron not

I have a simple speech recognition app.

If I run it using a web server the microphone it is working.

enter image description here

If I run it using electron the microphone it is not working. I would mention that the problem is not my microphone because in logs I can see that microphone is working.

I don't know why the same thing in electron does not working.

I would mention that the same thing worked some days ago. I didn't change any package or something like this. This is pretty strange what it's happened.

Upvotes: 0

Views: 1690

Answers (1)

Tobias
Tobias

Reputation: 1564

blazor SpeechRecognition uses internal browser webkitSpeechRecognition enter image description here

this is not available in electron...see here

as in the commits descripted i found today a post on github where it shows that this was a bug and it should be fixed in electron version 9.x... i tested this with version 9.0.4, just a minute ago, but getting the same result as in version 8.x.

Upvotes: 1

Related Questions