web-speech-ai
web-speech-ai copied to clipboard
TypeError: SpeechRecognition is not a constructor
@gangasiddhi speech recognition is only supported by Google Chrome. So it will not work on any other browser
Found a solution, let the variable constructor be "webkitSpeechRecognition" only. This is because Google actually uses this constructor with a prefix "webkit". Try it out. As I understood, SpeechRecognition constructor is not working anymore, so go for prefix version. Cheers.