Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend README - Not working for Brave Browser nad Firefox (Linux) #239

Closed
JulianKowalczuk opened this issue Jul 5, 2021 · 4 comments
Closed
Labels
documentation Improvements or additions to documentation

Comments

@JulianKowalczuk
Copy link

JulianKowalczuk commented Jul 5, 2021

Brave Browser is built on top of Chromium. It should works same way I guess. But it doesnt.

While trying to listen for result, I get error:
SpeechRecognitionError msg: network, permanent: false

It happens because of:
https://community.brave.com/t/microphone-is-not-working-in-brave-browser/183787

For now I think its good to mention about some browser usage exceptions for this package

@sowens-csd
Copy link
Contributor

Looks like this is a known issue with Brave and there is no fix planned that I could see.

brave/brave-browser#3725

@JulianKowalczuk JulianKowalczuk changed the title Not working for Brave Browser Extend README - Not working for Brave Browser Jul 5, 2021
@JulianKowalczuk
Copy link
Author

JulianKowalczuk commented Jul 5, 2021

Damn, I've just edited issue with info, since I decided to visit Windows distro to check it.

Seems like SpeechRecognition Web API is broken, because I have no issues with using mic in online meetings.
But its nice it works great on Android devices (main client targets).

I also checked Firefox browser (Arch Linux distro), not working too :/

@JulianKowalczuk JulianKowalczuk changed the title Extend README - Not working for Brave Browser Extend README - Not working for Brave Browser nad Firefox (Linux) Jul 5, 2021
@sowens-csd
Copy link
Contributor

It's a good thought to add to the README, I'll do that.

@sowens-csd sowens-csd added documentation Improvements or additions to documentation and removed waiting for response labels Jul 5, 2021
@Shivam-dev925
Copy link

Shivam-dev925 commented Sep 20, 2023

hii,
i implemented it on flutter mobile and web in mobile it is working good but on web it is not.
BEHAVIOUR=>
i added the listener here
await _speechToText.listen(
onResult: _onSpeechResult,
listenMode: ListenMode.deviceDefault,
);
and _onSpeechResult function is
void _onSpeechResult(SpeechRecognitionResult result) {

try {
  if (result.finalResult) {
    assistantController.conversation.value += result.recognizedWords;
  }
} catch (e) {
  print("exception in recognizition ===> $e");
}

}
when i stops talking then it is not giving me finalWords equal true and that's why the transcripted text is not coming
please take a look to this

USING ON CHROME

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants