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

api.SpeechRecognition - when applied on mobile H5 ,only 1 sentence can be recognized #23678

Open
fbzcmk opened this issue Jul 6, 2024 · 0 comments
Labels
data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API

Comments

@fbzcmk
Copy link

fbzcmk commented Jul 6, 2024

What type of issue is this?

Other

What information was incorrect, unhelpful, or incomplete?

when using SpeechRecognition on mobile h5 applcation , the access to mobile microphone stream data was bloced after the first sentence recognized , need some way to keep the mobile microphone data access.

What browsers does this problem apply to, if applicable?

Chromium (Chrome, Edge 79 , Opera, Samsung Internet)

What did you expect to see?

some additional api to apply for whole life cycle mobile microphone data access authorization

Did you test this? If so, how?

it works well on pc ,but not well with the following same setting
this.recognition = new webkitSpeechRecognition();
this.recognition.lang = 'zh-CN';
this.recognition.continuous = true;
this.recognition.interimResults = true;

Can you link to any release notes, bugs, pull requests, or MDN pages related to this?

No response

Do you have anything more you want to share?

No response

MDN URL

https://developer.mozilla.org/zh-CN/docs/Web/API/Web_Speech_API

MDN metadata

MDN page report details
  • Query: api.SpeechRecognition
  • Report started: 2024-07-06T11:25:07.428Z
@queengooborg queengooborg added the data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API label Jul 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API
Projects
None yet
Development

No branches or pull requests

2 participants