-
Notifications
You must be signed in to change notification settings - Fork 2k
Description
-
Speech SDK log taken from a run that exhibits the reported issue.
log.txt -
A stripped down, simplified version of your source code that exhibits the issue. Or, preferably, try to reproduce the problem with one of the public samples in this repository (or a minimally modified version of it), and share the code.
It will happen with any sample. Depends on the audio file - see below. -
If relevant, a WAV file of your input audio.
Any WAV file with anmp2codec will do. For example, generate one with the following command:ffmpeg -y -f lavfi -i sine=frequency=1000:duration=5 -c:a mp2 -ac 2 -f wav a.wav -
Additional information as shown below
Describe the bug
As I mentioned in the title of the issue - the recognition "blocks" and never finishes. The sessionStarted event is called but nothing more. In the logs I see [230605]: 9ms SPX_TRACE_ERROR: exception.cpp:123 About to throw Exception with an error code: 0x1b (SPXERR_RUNTIME_ERROR) - I guess that's relevant.
To Reproduce
Any code for recognition - use a file that is with an mp2 codec - see above.
Expected behavior
Some error in some of the callbacks that the file is not supported.
Version of the Cognitive Services Speech SDK
1.32.1
Platform, Operating System, and Programming Language
- OS: [e.g. Windows, Linux, Android, iOS, ...] - Arch Linux
- Hardware - x64
- Programming language: Java
- Browser [e.g. Chrome, Safari] (if applicable) - N/A