Bug 244250 - getUserMedia prompt is not displayed when running safari in Fullscreen mode
Summary: getUserMedia prompt is not displayed when running safari in Fullscreen mode
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebRTC (show other bugs)
Version: Safari 15
Hardware: iPhone / iPad iOS 15
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-08-23 07:03 PDT by hansvanleuken
Modified: 2022-08-30 00:54 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hansvanleuken 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.
Comment 1 Radar WebKit Bug Importer 2022-08-30 00:50:33 PDT
<rdar://problem/99318307>
Comment 2 youenn fablet 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