mozmorris / react-webcam

Webcam component
https://codepen.io/mozmorris/pen/JLZdoP
MIT License
1.65k stars 281 forks source link

returns a blank page in Chrome (iOS 15) #319

Closed amerfathullah closed 2 years ago

amerfathullah commented 2 years ago

Please follow the general troubleshooting steps first:

Bug reports:

I created a page similar to the demo codepen, with additional styling here and there. It returns a blank page in iOS 15 (iPhone SE in my case) in Chrome browser, but works fine in Safari. iOS 14.3 (tested in iPhone 11) has no problem in both Chrome & Safari. Below are details of the phone that the bug occurred.

Device: iPhone SE 1st Gen (iOS 15.0.2) Browser: Chrome version 94.0.4606.76

amerfathullah commented 2 years ago

I tried the non-React version here (https://webrtc.github.io/samples/src/content/getusermedia/gum/) and it show this error

image (1)

mozmorris commented 2 years ago

Until recently, getUserMedia was not supported in UIWebView or WKWebView which is what Chrome uses on iOS. I suspect the old iPhone SE is not supported, even using the latest iOS.