[Webkit-unassigned] [Bug 234509] New: iOS Safari 5.1 - Can’t access the camera via WebRTC after switching between apps multiple times
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Dec 20 05:10:23 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=234509
Bug ID: 234509
Summary: iOS Safari 5.1 - Can’t access the camera via WebRTC
after switching between apps multiple times
Product: WebKit
Version: Safari 15
Hardware: iPhone / iPad
OS: iOS 15
Status: NEW
Severity: Blocker
Priority: P2
Component: WebRTC
Assignee: webkit-unassigned at lists.webkit.org
Reporter: dimitri at scandit.com
CC: youennf at gmail.com
(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.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211220/a21073fc/attachment-0001.htm>
More information about the webkit-unassigned
mailing list