The behavior of SpeechRecognitionResult.Status = Unknown of Windows.Media.SpeechRecognition has changed.

山下 大輔 1 Reputation point

Using the speech recognition API (Windows.Media.SpeechRecognition)
I'm creating a WPF app.

〇 What happened:
Windows.Media.SpeechRecognition API on January 17, 2022
Used to perform speech recognition.
SpeechRecognitionResult.Status = Unknown no matter how many times you try
And it stopped working normally.

It was working fine until January 15, 2022.

〇 Execution content:

recognitionOperation = recognizer.RecognizeAsync ();
SpeechRecognitionResult recognitionResult = await recognitionOperation;

(In normal, SpeechRecognitionResult.Status is returned as Success)

〇Environmental information:

  • Microsoft.Windows.SDK.Contracts (10.0.19041.1)
  • WPF
  • .NET Core 3.1
  • Self-contained application issuance

〇 Supplement:
As of 1/18 9:00, voice recognition processing was being performed.

Do you have the following knowledge?
・ Reason why voice recognition processing is no longer performed
・ How to detect the situation
・ How to deal with the situation

Thank you.

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,662 questions
{count} votes