have you got newer version code?
Opened this issue · 4 comments
Hi, I got some deprecated error and can not see any Chinese character on my screen , have you got any updated codes ? Thanks
Sorry, there's no plan to update the code for this.
What are the errors?
the errors are as follows:
Watson is listening, you may speak now.
WARNING: This method of instantiating the Watson services has been deprecated beginning with Version 3.0.0 of the Node SDK. Please refer to the Node SDK documentation for information on how to instantiate Watson services. This form of service instantiaion will be removed in a future release of the SDK.
WARNING: createRecognizeStream() was renamed to recognizeUsingWebSocket(). Support for createRecognizeStream() will be removed in the next major release
here's the new way to do this that the warning message was referring to:
https://github.com/watson-developer-cloud/node-sdk/blob/master/examples/speech_to_text.v1.js
Hi, Josh, thanks for your prompt update, I have researched the above link before, and have been getting stuck on how to get them worked on mic and websockets instead of converting to .wav first, could you take a look at my code when you get a chance ? https://gist.github.com/vkjuju/8349102e08563f384417ed2f129769c1