Bug 221213
Summary: | Refactor SpeechRecognitionPermissionManager to use code of UserMediaPermissionRequestManagerProxy | ||
---|---|---|---|
Product: | WebKit | Reporter: | Sihui Liu <sihui_liu> |
Component: | Media | Assignee: | 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
...
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Sihui Liu
Currently in UserMediaPermissionRequestManagerProxy::grantRequest, we don't expose deviceID, which is done in UserMediaPermissionRequestManagerProxy ::finishGrantingRequest for user media requests.
youenn fablet
(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
<rdar://problem/74099964>