Closed vaismav closed 1 year ago
Hi @vaismav Thanks for raising this issue! Some comments:
isMicrophoneAvailable
is true
and Hebrew translation works for me. Admittedly, this is on Android 9 - perhaps Android 10 handles the microphone differentlyreact-speech-recognition
. isMicrophoneAvailable
was only introduced in the most recent minor version. Try upgrading to 3.9.0
and you should see that state populated correctlyngrok
to create a free HTTPS proxy for this purposeisMicrophoneAvailable
and browserSupportsSpeechRecognition
as dependencies in your Effect to avoid getting stale values
Hi :) So the code works great on Chrome desktop, but when I use it on a mobile device (with Chrome Android) the transcript stays empty.
while trying to solve this I've noticed isMicrophoneAvailable returns undefined consistently.
I do hear an occasional beeping sound indicating speech recognition is working (as mentioned in the docs) but other than that, nothing else.
I don't know if polyfill will solve this. I need to transcribe Hebrew, so I cant use Speechly, and currently, I don't want to spend credits on it so I cant use Microsoft. if it relates I will simply disable the transcription on mobile devices but thought it will be worth a shot to ask here :)
is it related to #129 in terms of the Chrome android?
the code:
I was running the app and speaking for half minute and those are the outputs:
output on mobile:
output on desktop:
Mobile device: Redmi 9 Android 10 Chrome App version 96.0.4664.45
Hope there is a nice solution :)