Cognitive-services-speech-sdk: SPXERR_EXTENSION_LIBRARY_NOT_FOUND in UWP

Created on 29 May 2019  路  5Comments  路  Source: Azure-Samples/cognitive-services-speech-sdk

I have code using Microsoft.CognitiveServices.Speech services in a UWP app. While trying to do keyword spotting, I get the following error:
Exception with an error code: 0x24 (SPXERR_EXTENSION_LIBRARY_NOT_FOUND)

On the following line of code:
```cs
await recognizer.StartKeywordRecognitionAsync(model).ConfigureAwait(false);
````

Using 1.5.1 version of the SDK.

Most helpful comment

Keyword spotting for UWP is not available in the current release. We are working on it and it will be added really soon.

All 5 comments

Keyword spotting for UWP is not available in the current release. We are working on it and it will be added really soon.

Are there updates on the time frame for this being supported?

@daltskin
Can you include additional DLL named "Microsoft.CognitiveServices.Speech.extension.kws.dll"
I had the same error in another enviroment (python code not UWP) and I solved it by adding this DLL

Thanks, but that doesn't work.


Microsoft Visual Studio

A reference to 'C:Users**.nugetpackagesmicrosoft.cognitiveservices.speech1.6.0runtimeswin-x64nativeMicrosoft.CognitiveServices.Speech.extension.kws.dll' could not be added. Please make sure that the file is accessible, and that it is a valid assembly or COM component.

OK

I contacted Microsoft about this, the devs told me that kws is not supported for UWP. I had to find a workaround, you can see it in this repository.

Was this page helpful?
0 / 5 - 0 ratings