The getUserMedia microphone permission popup is hidden when Safari is in fullscreen. Tested on iPad 17.5.1 Test: https://output.jsbin.com/yogecumufe <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width"> <title>test</title> <script> async function start() { await document.documentElement.requestFullscreen(); const stream = await navigator.mediaDevices.getUserMedia({audio: true, video: false}); } </script> </head> <body> <button onclick="start()">Start</button> </body> </html>
<rdar://problem/128949984>
@Ben - I am unable to trigger any permission pop-up in iPadOS. Can you share video recording to help us understand better - what are steps to reproduce and we can try on our side? Looking forward to your support. Thanks!
The JavaScript to reproduce this bug is added in the first post. Specifically: await document.documentElement.requestFullscreen(); const stream = await navigator.mediaDevices.getUserMedia({audio: true, video: false}); 1. Open this page https://benbro.github.io/samples/src/content/getusermedia/gum/ 2. Click on the red "Open camera" button. 3. It should start full screen and show the microphone permission popup. On iPadOS the microphone permission popup is not shown. Only when you exit fullscreen by clicking on the X on the top left you see the popup. Test it on Chrome on Windows to see the popup.
@Ben thanks a lot for the simple test page. It reproduces indeed.