Azure-Samples / Cognitive-Speech-STT-Windows

Windows SDK for the Microsoft Speech-to-Text API, part of Cognitive Services
https://www.microsoft.com/cognitive-services/en-us/speech-api
Other
112 stars 88 forks source link

Infinite Error Message Loop #34

Closed IlGalvo closed 7 years ago

IlGalvo commented 7 years ago

Hi, yesterday i noticed that my API Key expired. (I use Microsoft.ProjectOxford.SpeechRecognition-x86.1.0.0.6 nuget version).

So, starting the the <<microphoneRecognitionClient.StartMicAndRecognition()>> causes an Infinite error message loop that shows in alternation <> and <>.

So i decided to try to <<microphoneRecognitionClient.EndMicAndRecognition()>> in <> event and I noticed that the Infinite lopp ended after about 6/7 calls of the error event.

I think this is abnormal operation of the error event caller inside the library.

wolfma61 commented 7 years ago

thank you for reporting this. We will take a look and try to figure out what is going wrong ... Wolfgang