hi im trying to find a way to get working Angular 5 with Microsoft Speech API i used microsoft-speech-browser-sdk for javascript
https://github.com/Azure-Samples/SpeechToText-WebSockets-Javascript
i just import the SDK import * as SDK from 'microsoft-speech-browser-sdk'; and i tried to use the same code on the example
but i have this error SDK.Recognizer.CreateRecognizer is not a function I know that the skd is imported because it executes the first functions
also i cant find the API reference Is there anyone who has got work this cognitive service with angular?
(Angular 10)
Make sure you have the services installed by running:
What I did is create a service for all the cognitive services and keep the logic within that service.
The Service: I have used a promise to get the result in the component
The Component: I have used the await/async approach