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

issue in mobile H5 application #22191

Open
fbzcmk opened this issue Jul 6, 2024 · 3 comments
Open

issue in mobile H5 application #22191

fbzcmk opened this issue Jul 6, 2024 · 3 comments
Labels
expert help needed This needs more information from a subject matter expert (SME). l10n-zh Issues related to Chinese content. needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.

Comments

@fbzcmk
Copy link

fbzcmk commented Jul 6, 2024

MDN URL

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

与此议题相关的小节或标题?

No response

哪些信息是错误、无用或不完善的?

the speech recognition works well on pc , when applied on mobile ,it can recognize only one sentence . then it didn't response anymore,it seems the microphone access has been blocked after one sentence has finished ,although I granted microphone access when recognition.start()
Is it possible to provide microphone access API to apply for mobile microphone access authorization during whole application life cycle ?

你期望看到什么?

a guide or demo for application on mobile h5

你有什么支持的链接、参考或引用?

No response

你还想补充什么内容?

No response

MDN metadata

Page report details
@fbzcmk fbzcmk added l10n-zh Issues related to Chinese content. needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Jul 6, 2024
@yin1999 yin1999 added the expert help needed This needs more information from a subject matter expert (SME). label Sep 9, 2024
@yin1999
Copy link
Member

yin1999 commented Sep 9, 2024

Hey @fbzcmk. Sorry for the delay. I tried the example on my Android phone (oneplus ace 2 pro, Android 14) and I could not get this example to work properly the first time I ran it. I'm not sure if the capabilities of this API is affected by the speech recognition provider (it seems that Chromium itself does not provide speech recognition services, it just uses the speech recognition provider provided by the Android device).

/cc @mdn/mdn-community-engagement

@bsmth
Copy link
Member

bsmth commented Sep 9, 2024

Thanks for reporting and for tagging us! Could you provide some more information about the mobile operating system and browser version?

You can also try this page which checks support: https://www.google.com/intl/en/chrome/demos/speech.html

edit: note there is also this issue in the browser-compat-data repo: mdn/browser-compat-data#22126

@yin1999
Copy link
Member

yin1999 commented Sep 12, 2024

Could you provide some more information about the mobile operating system and browser version?

OS: ColorOS 14 (based on Android 14)
Browser Version: Chrome 128.0.66.13.127

You can also try this page which checks support: https://www.google.com/intl/en/chrome/demos/speech.html

I could not get this demo work on my phone, and I woud get some errors (using the "Remote debug tool"):

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
expert help needed This needs more information from a subject matter expert (SME). l10n-zh Issues related to Chinese content. needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.
Projects
None yet
Development

No branches or pull requests

3 participants