Bug 221213

Summary: Refactor SpeechRecognitionPermissionManager to use code of UserMediaPermissionRequestManagerProxy
Product: WebKit Reporter: Sihui Liu <sihui_liu>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Sihui Liu
Reported 2021-02-01 09:33:31 PST
...
Attachments
Sihui Liu
Comment 1 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.
youenn fablet
Comment 2 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.
Radar WebKit Bug Importer
Comment 3 2021-02-08 09:34:13 PST
Note You need to log in before you can comment on or make changes to this bug.