Is Navigator.getUserMedia an alternative API for iOS Safari for mobile?

I know that below code will capture image from iOS 6+ browser for mobile browsers

<input type="file" capture="camera" accept="image/*" id="cameraInput" name="cameraInput"> 

Is there any other way to capture image from safari browser in browser using html5 / JS?

Is there any alternative to the WebRTC MediaStream API in the browser for Safari for iOS?

+6
html5 html5-video mobile-safari camera webrtc
source share
1 answer

Safari does not yet support WebRTC.

http://iswebrtcreadyyet.com/

To get started with WebRTC on iOS, you can check out this demo https://github.com/ISBX/apprtc-ios . This is not exactly the same as what you are looking for. The demo application reaches the video chat. But it must be trivial to get an image

+2
source share

All Articles