speech-to-text javascript api not working properly on HONOR android 13 tablet
I encountered an issue while running the demo from https://github.com/Azure-Samples/AzureSpeechReactSample/ on my Honor 9 tablet running Android 13 web browser(tried chrome, edge etc).
The demo doesn't function properly. When I tap the green button to initiate STT, the green microphone icon in the upper right corner of the tablet lights up, indicating that the mic is active. And there is no error in the console log. However, when I speak, no recognition results are obtained, as if no audio input is being received.
Interestingly, if I trigger the sttFromMic function a second time without stopping the first recognizer, it works normally and can receive and recognize my speech input. If I stop the previous recognizer before triggering sttFromMic function for the second time, it still doesn't work properly.
This issue only occurs when using the tablet's default microphone. When using Bluetooth earphones as the audio input device, the problem doesn't appear. Moreover, most other devices don't exhibit this issue.
I would appreciate any assistance in resolving this problem. Thank you for your attention to this matter.