RESOLVED DUPLICATE of bug 252465 Bug 234509
iOS Safari 15.1 - Can’t access the camera via WebRTC after switching between apps multiple times
https://bugs.webkit.org/show_bug.cgi?id=234509
Summary iOS Safari 15.1 - Can’t access the camera via WebRTC after switching between ...
Dimitri Friedli
Reported 2021-12-20 05:10:23 PST
(The report including all necessary links to screen recordings, and the sample to reproduce is also available here https://docs.google.com/document/d/1IfhLzjz0IEo_sBLJiAvlQx1T-58ceQ3wZU3V6u2wCr8/edit) iOS Version: 15.1.1 Safari Version: 15.1 iPhone Model: iPhone 12 Pro Browser Details: https://whatismybrowser.com/w/WXTABX7 Reproduction Rate: 100% Sample to reproduce: https://drive.google.com/file/d/1fyklTMm2SUE0uOBQYKVV1Qp_eqwxeLal/view https://safari-15-webrtc-issues.netlify.app/ The sample is based on the official WebRTC Demo (https://webrtc.github.io/samples/src/content/devices/input-output/). The only difference is, that we added a manifest.json to make the demo “installable” without the Safari search bar Screen Recording: https://drive.google.com/file/d/15pFe2Myk7h7_q6U6FTmd9k8oK11nX6ZV/view *Prerequisites to reproduce the issue* 1. Open Safari 15.1 2. Go to https://safari-15-webrtc-issues.netlify.app/ 3. Install the website on the iPhone Home Screen ( > Share Icon > Add to Home Screen) 4. Use the installed website from the Home Screen to reproduce the issue *Steps to reproduce the issue* 1. Open the app 2. Grant camera access 3. Switch to another app putting the app in the background 4. Return to the installed web-app 5. Repeat steps 3 and 4 30+ times *Current behavior* WebRTC can’t access the camera anymore. The icon which indicates camera access (red, on the top left) is blinking. Camera access can only be restored when completely closing and restarting the app. Note: Only the camera feed is not working anymore, other (native) UI elements like select are responsive as they should. *Expected behavior* Camera access is working after coming back to the installed web app. If the browser can’t access the camera due to missing permissions, the browser should ask for permissions again.
Attachments
Radar WebKit Bug Importer
Comment 1 2021-12-27 05:11:20 PST
youenn fablet
Comment 2 2023-09-19 10:20:42 PDT
I think this was fixed in bug 252465, marking as duplicate. *** This bug has been marked as a duplicate of bug 252465 ***
Note You need to log in before you can comment on or make changes to this bug.