Bug 243121 - REGRESSION (iOS 16 beta 3) - getUserMedia fails in WKWebView
Summary: REGRESSION (iOS 16 beta 3) - getUserMedia fails in WKWebView
Status: RESOLVED DUPLICATE of bug 242795
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: Other
Hardware: iPhone / iPad Other
: P1 Critical
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-07-22 16:58 PDT by kacilambeth@nianticlabs.com
Modified: 2022-07-25 13:09 PDT (History)
6 users (show)

See Also:


Attachments
Video of minimum repro (1.98 MB, video/mp4)
2022-07-22 16:58 PDT, kacilambeth@nianticlabs.com
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description kacilambeth@nianticlabs.com 2022-07-22 16:58:17 PDT
Created attachment 461151 [details]
Video of minimum repro

WKWebView getUserMedia regression between iOS 15.5 and 16 beta 3

Minimum repro test: https://webrtc.github.io/samples/src/content/getusermedia/gum/
Expectation: User clicks "Open Camera", user allows camera permissions, camera feed is displayed 
Result: Camera feed is not displayed when camera permissions are allowed (frame remains black)

As a result of this bug, Niantic WebAR sites are broken impacting major brands including: Paramount Pictures, Universal Pictures, Marvel, LA Dodgers, MGM, Xbox, & More

Video attached showing unexpected behavior in Chrome WKWebView on iPhone 11 running iOS 16 beta 3.

Example of impacted Paramount Pictures website (Opened in WKWebView): https://whatsmycallsign.com
Expected result: After user enters their name, and allows camera permissions, they see their front camera feed with an AR face effect. 
Actual result on iOS 16 beta 3 WKWebVIew: User enters their name, allows camera permissions, the camera feed is not displayed
Comment 1 Kenneth Russell 2022-07-22 17:17:42 PDT
Recategorizing as Media rather than WebGL bug. The given test case doesn't touch WebGL; it only feeds the stream from getUserMedia intoa. video element.
Comment 2 Radar WebKit Bug Importer 2022-07-22 22:18:27 PDT
<rdar://problem/97471627>
Comment 3 Alexey Proskuryakov 2022-07-25 13:09:03 PDT
This was determined to be a duplicate of bug 242795.

*** This bug has been marked as a duplicate of bug 242795 ***