[Webkit-unassigned] [Bug 239849] New: WebRTC can’t access camera feed when returning from a native application
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Apr 28 06:30:08 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=239849
Bug ID: 239849
Summary: WebRTC can’t access camera feed when returning from a
native application
Product: WebKit
Version: Safari 15
Hardware: iPhone / iPad
OS: iOS 15
Status: NEW
Severity: Critical
Priority: P2
Component: WebRTC
Assignee: webkit-unassigned at lists.webkit.org
Reporter: dimitri at scandit.com
CC: youennf at gmail.com
Created attachment 458524
--> https://bugs.webkit.org/attachment.cgi?id=458524&action=review
Screen recording of the steps needed to reproduce the issue.
This issue might be related to https://bugs.webkit.org/show_bug.cgi?id=234509
# Environment
URL: https://safari-15-webrtc-issues.netlify.app
iOS Version: 15.4.1
Device: iPhone 12 Pro
Safari Version: Safari 15.4
Safari Settings: default
Reproduction Rate: 100%
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.
# Steps to Reproduce the Issue
1. Go to https://safari-15-webrtc-issues.netlify.app
2. Use Share > Add to Homescreen to install the app on the iPhone
3. Open the PWA via the added app icon
4. Stay a few seconds in the open web application
5. >>>> Scanner is working <<<<
6. Switch into the iOS Weather Application
7. Stay in the iOS Weather Application for ~10 seconds
8. Lock the Screen and wait ~10 seconds
9. Unlock the Screen and stay in the iOS Weather Application for ~10 seconds
10. Switch back to the installed WebRTC Test application
11. >>>> The camera feed of the scanner does not work <<<<
# Actual Behavior
The PWA does not get access to the camera feed.
The user needs to perform a refresh, close, and re-open the application *OR* change the camera source (e.g., change from the front-facing camera to the camera on the back) to access the camera feed again.
# Expected Behavior
The camera feed is immediately available when coming back to the installed PWA, OR the PWA does ask for camera permissions again. In either case, the user can continue using the application.
--
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/20220428/eacb3496/attachment-0001.htm>
More information about the webkit-unassigned
mailing list