Bug 225298 - Speech recognition service is not available
Summary: Speech recognition service is not available
Status: RESOLVED LATER
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: Safari 14
Hardware: All macOS 11
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-05-03 04:35 PDT by Mish
Modified: 2023-10-16 12:34 PDT (History)
13 users (show)

See Also:


Attachments
SpeechRecognitionErrorEvent (176.35 KB, image/png)
2021-05-03 04:35 PDT, Mish
no flags Details
New error showing in safari (95.09 KB, image/png)
2023-04-18 13:55 PDT, Sanjeev
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mish 2021-05-03 04:35:37 PDT
Created attachment 427551 [details]
SpeechRecognitionErrorEvent

When using SpeechRecognition API in Safari 14.1 after iOS 14.5, macOS 11.3 the request fails with SpeechRecognitionErrorEvent (please see attachment)
should the application handle the error or is this a temporary problem with Apple's speech recognition service?

the code works correctly on Chrome and i find it a bit disappointing that Safari exposes a API, which cannot be used
Comment 1 Sihui Liu 2021-05-04 12:21:13 PDT
(In reply to Mish from comment #0)
> Created attachment 427551 [details]
> SpeechRecognitionErrorEvent
> 
> When using SpeechRecognition API in Safari 14.1 after iOS 14.5, macOS 11.3
> the request fails with SpeechRecognitionErrorEvent (please see attachment)
> should the application handle the error or is this a temporary problem with
> Apple's speech recognition service?
> 
> the code works correctly on Chrome and i find it a bit disappointing that
> Safari exposes a API, which cannot be used

Hi Mish, do you turn on speech recognition service in the system? 
You can do that by enabling Siri or Dictation in System Preferences or Settings.
Comment 2 Mish 2021-05-04 12:42:32 PDT
Hello,
sorry, i didn't enable Dictation on my devices

now it does work as i expected, but me and my client noticed that when the application is added to the home screen via the share menu, the recognition in the PWA does not work

is this behaviour expected?

thanks, i appreciate your response
Comment 3 Sihui Liu 2021-05-04 13:37:03 PDT
(In reply to Mish from comment #2)
> Hello,
> sorry, i didn't enable Dictation on my devices
> 
> now it does work as i expected, but me and my client noticed that when the
> application is added to the home screen via the share menu, the recognition
> in the PWA does not work
> 
> is this behaviour expected?
> 
> thanks, i appreciate your response

Yes, SpeechRecognition API is not available in SafariViewController and web apps added to Home Screen for now. 

There are some implementation details we need to figure out before we can enable it.
Comment 4 Mish 2021-05-07 06:45:09 PDT
Alright, thanks, good to know!
Comment 5 Ed 2022-09-18 05:15:24 PDT
Hi - is there any update on this and/or a projected timeframe as to when the SpeechRecognition API will be available in SafariViewController and web apps added to the Home Screen? Thanks in advance!
Comment 6 Jack Rugile 2022-10-05 09:34:42 PDT
Along with Ed, I'm curious to know the timing on when this is supposed to be implemented for SafariViewController, specifically for use in Chrome iOS.
Comment 7 Srinivas 2023-02-27 22:22:59 PST
Hi, Is there any update on when the SpeechRecognition API will be available in web apps added to the Home Screen(AHS) or PWA ? Thank you.
Comment 8 adi miller 2023-03-15 03:06:48 PDT
Hi, 
any news regarding this issue??
Comment 9 Ed 2023-03-27 17:54:07 PDT
Beuller?
Comment 10 Sanjeev 2023-04-18 13:50:13 PDT
any update on this, this is not working on Mac safari and IOS safari, chrome
Comment 11 Sanjeev 2023-04-18 13:55:30 PDT
Created attachment 465973 [details]
New error showing in safari

error:"aborted" and more please check the screenshot
Comment 12 Srinivas 2023-05-16 04:58:55 PDT
Hi, any news about resolution?
Comment 13 playground 2023-08-29 04:25:18 PDT
Any update on this especially for pwa support?
Comment 14 Radar WebKit Bug Importer 2023-09-11 11:21:15 PDT
<rdar://problem/115302548>