Speech recognition with x-webkit-speech does not work in Chrome

I'm trying to recognize a voice using x-webkit-speech, I also checked that it is supported in my Chrome browser, but it does not give an error message with a speech server.

+6
source share
1 answer

The x-webkit-speech input field attribute is deprecated. Use the JavaScript API instead.

There is a JavaScript JavaScript SpeechRecognition API that performs text-to-speech and speech-to-text. Not many browsers support it, but Chrome must have support.

For Github help for this purpose: https://github.com/Daniel-Hug/speech-input

+3
source

Source: https://habr.com/ru/post/969904/


All Articles