-
Notifications
You must be signed in to change notification settings - Fork 84
Open
Description
This issue is for a: (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Minimal steps to reproduce
- Run the demo https://github.com/Azure-Samples/AzureSpeechReactSample/ on an Honor Pad 9 tablet running Android 13 with web browser (tried chrome, edge etc.).
- Use the tablet's default microphone (issue doesn't occur with Bluetooth headsets).
- Click the green button to start STT.
- Speak into the microphone.
- Observe that no recognition results are returned, despite the green mic icon in the top right corner indicating that the mic is working.
- Without stopping the first recognizer, trigger the sttFromMic function again.
- Observe that it now works correctly, receiving and recognizing speech input.
Note: If the previous recognizer is stopped before triggering sttFromMic again, the issue persists.
Any log messages given by the failure
No error messages are displayed in the console. Detailed event logs have been provided, showing the connection and recognition process, but no apparent errors.
Expected/desired behavior
The speech-to-text functionality should work correctly on the first trigger, as it does on other devices.
OS and Version?
Honor Pad 9, Android 13, Magic UI
Versions
Azure Speech SDK version: 1.32.0
"microsoft-cognitiveservices-speech-sdk": "^1.32.0"
Mention any other details that might be useful
- The issue only occurs when using the tablet's default microphone. It works fine with Bluetooth headsets as the audio input device.
- Most other devices do not exhibit this problem.
- Attempts to resolve the issue:
- Tried delaying the call to startContinuousRecognitionAsync, thinking it might be a device initialization delay issue, but this was ineffective.
- Attempted to repeatedly call startContinuousRecognitionAsync without reinitializing the configuration, which was also unsuccessful.
- The only effective solution is to trigger the entire sttFromMic function twice.
- The issue seems specific to this tablet model, as it works normally on other devices.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels