| 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 | ||
|
Description
Sihui Liu
2021-02-01 09:33:31 PST
Currently in UserMediaPermissionRequestManagerProxy::grantRequest, we don't expose deviceID, which is done in UserMediaPermissionRequestManagerProxy ::finishGrantingRequest for user media requests. (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. |