Bug 221213 - Refactor SpeechRecognitionPermissionManager to use code of UserMediaPermissionRequestManagerProxy
Summary: Refactor SpeechRecognitionPermissionManager to use code of UserMediaPermissio...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-02-01 09:33 PST by Sihui Liu
Modified: 2021-02-08 09:34 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sihui Liu 2021-02-01 09:33:31 PST
...
Comment 1 Sihui Liu 2021-02-01 09:41:07 PST
Currently in UserMediaPermissionRequestManagerProxy::grantRequest, we don't expose deviceID, which is done in UserMediaPermissionRequestManagerProxy ::finishGrantingRequest for user media requests.
Comment 2 youenn fablet 2021-02-01 10:21:55 PST
(In reply to Sihui Liu from comment #1)
> Currently in UserMediaPermissionRequestManagerProxy::grantRequest, we don't
> expose deviceID, which is done in UserMediaPermissionRequestManagerProxy
> ::finishGrantingRequest for user media requests.

When we have a successful getUserMedia call, we expose microphone devices as part of enumerateDevices.
Given we show the microphone prompt, I am wondering whether we should do the same.
If we in the future allow to do recognition on a track, that probably makes sense to do so.
In any case, that might have an impact on how we do refactoring.
Comment 3 Radar WebKit Bug Importer 2021-02-08 09:34:13 PST
<rdar://problem/74099964>