Hacker News new | ask | show | jobs
by callumlocke 2936 days ago
Never seen a live camera feed working in iOS Safari until now. Has something changed recently to allow this?
2 comments

I did a big getUserMedia wrapper, the standard is very badly implemented. There is problems with firefox and Android which had to be solved too. That's why we have included the video capture into the library (but it is still possible to provide a custom <video> element too)
it doesn't work on my up-to-date iPhone 8 Plus
Do you try with Safari ? And is it up to date ? We tried with safari, Ipad pro and Iphone X and it worked. It can only work with safari 11.2 at least and Chrome for IOS does not implement mediastream API yet (so no webcam) because it is based on a Safari Webview. If you have an app which uses the camera opened at the same time it may not work too.