noopkat / ms-bing-speech-service

NodeJS service wrapper for Microsoft Speech API and Custom Speech Service
MIT License
82 stars 17 forks source link

Modified websocket protocol #26

Closed TNieminen closed 5 years ago

TNieminen commented 6 years ago

Hi!

Microsoft changed the protocol just recently to form

wss://westus.stt.speech.microsoft.com/speech/recognition/dictation/cognitiveservices/v1?cid=&format=simple&language=en-US&Ocp-Apim-Subscription-Key=&X-ConnectionId=EE2F4DFD11C541A4AA40AAC459012B9B

from format: wss://.api.cris.ai/speech/recognition/dictation/cognitiveservices/v1?format=simple&language=en-US&Ocp-Apim-Subscription-Key=&X-ConnectionId=EE2F4DFD11C541A4AA40AAC459012B9B"

Just a heads up. I might have time to fix this properly and make a pull request, but wouldn't totally count on it! And thanks for coding this up, it has gone to good use. :)

noopkat commented 6 years ago

thank you for letting me know! Do you mean this is for all bing speech endpoints, not just custom speech?

TNieminen commented 6 years ago

No problem! As far as I know this affected only the custom speech.

noopkat commented 5 years ago

Hi @TNieminen

Apologies for dropping the ball on this issue.

Since then, there's been a new official version of a NodeJS and browser supported SDK for the unified Microsoft Speech Services (formally Bing Speech Service). It does support the custom speech service (although it now falls under the unified speech service it still works in a very similar way). I'd recommend checking that out instead, if you still have need for a library such as this: https://github.com/Azure-Samples/cognitive-services-speech-sdk

Therefore I'll respectfully close this issue and will be deprecating / archive this repo 🙇‍♀ Thanks again for your contribution.