react-native-voice / voice

:microphone: React Native Voice Recognition library for iOS and Android (Online and Offline Support)
MIT License
1.83k stars 494 forks source link

required condition is false: IsFormatSampleRateAndChannelCountValid(format) #388

Open Muthu011 opened 2 years ago

Muthu011 commented 2 years ago

{error: {message: "required condition is false: IsFormatSampleRateAndChannelCountValid(format)", code: "start_recording"}} overrideMethod — index.bundle:39716

Hi , I am getting this error in ios real device. When ever i try to click mic button i am triggering speech start handler and suddenly error is captured in speech error handler. The above one is the error message. Someone please help to fix the problem. It happens only in the ios but in android it is working fine.

Muthu011 commented 2 years ago

this error comes only when the tts is also installed in the project. still haven't figured it out someone find fix or known the fix please do post thanks in advance.

NitinSidhuOfficial commented 2 years ago

any update on this issue?

RakshithCodewave commented 2 years ago

I'm facing the same issue.

arifrohmanhakim commented 1 year ago

any update on this issue?

Ahmed-Amin-Qoad commented 1 year ago

I'm facing the same issue.

chace20 commented 1 year ago

same issue still not resolved

craig1123 commented 1 year ago

I received this error in the iPhone simulator from my mac mini. Turns out, I just needed to connect a mic to my computer and the error went away.

bibhuti9 commented 2 months ago

I'm facing the same issue, please help.