7

I am trying voice recognition using x-webkit-speech,i have also checked it is supported in my chrome browser , but it is giving error connection to speech server failed.

Nikolay Shmyrev
  • 24,897
  • 5
  • 43
  • 87
monish
  • 153
  • 1
  • 2
  • 10
  • 1
    x-webkit-speech tag has been deprecated. Use new Chrome speech API like here: http://shapeshed.com/html5-speech-recognition-api/ – Nikolay Shmyrev May 27 '14 at 16:51

1 Answers1

4

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

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

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

virsha
  • 1,140
  • 4
  • 19
  • 40