Bug 244250

Summary: getUserMedia prompt is not displayed when running safari in Fullscreen mode
Product: WebKit Reporter: hansvanleuken
Component: WebRTCAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: eric.carlson, jer.noble, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: Safari 15   
Hardware: iPhone / iPad   
OS: iOS 15   

hansvanleuken
Reported 2022-08-23 07:03:33 PDT
I'm running a WebApplication in FullScreen mode. When I try to get access to the microphone via getUserMedia() the promise never fullfills. The microphone prompt is not shown. When I leave fullscreen mode the prompt is shown. This breaks my web application.
Attachments
Radar WebKit Bug Importer
Comment 1 2022-08-30 00:50:33 PDT
youenn fablet
Comment 2 2022-08-30 00:54:25 PDT
@hansvanleuken, if you grant persistent permission, is getUserMedia promise resolved? The problem might be that the prompt is shown but behind the fullscreen window. If so, this is probably a generic issue to all prompts (say geolocation). There seems to be a few options: 1. Make sure the prompt is shown above the fullscreen window 2. Go out of fullscreen when user is to be prompted 3. Reject the promise if the prompt cannot be shown
Note You need to log in before you can comment on or make changes to this bug.