translated-content icon indicating copy to clipboard operation
translated-content copied to clipboard

issue in mobile H5 application

Open fbzcmk opened this issue 1 year ago • 3 comments

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
  • Folder: zh-cn/web/api/web_speech_api/using_the_web_speech_api
  • MDN URL: https://developer.mozilla.org/zh-CN/docs/Web/API/Web_Speech_API/Using_the_Web_Speech_API
  • GitHub URL: https://github.com/mdn/translated-content/blob/main/files/zh-cn/web/api/web_speech_api/using_the_web_speech_api/index.md
  • Last commit: https://github.com/mdn/translated-content/commit/e005be662421aee99588a6134318f2a1fee7d549
  • Document last modified: 2024-06-06T12:39:52.000Z

fbzcmk avatar Jul 06 '24 11:07 fbzcmk

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

yin1999 avatar Sep 09 '24 02:09 yin1999

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: https://github.com/mdn/browser-compat-data/issues/22126

bsmth avatar Sep 09 '24 08:09 bsmth

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

yin1999 avatar Sep 12 '24 03:09 yin1999

Closing as stale.

caugner avatar Nov 28 '24 10:11 caugner