7

I know with below code will capture a image from ios 6+ safari mobile browser

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

Is there any other way of capturing a image from safari mobile browser using html5/JS?

Is there any alternative for WebRTC MediaStream API in iOS safari mobile browser?

Ganesh K
  • 2,623
  • 9
  • 51
  • 78

1 Answers1

2

Safari does not support WebRTC yet.

http://iswebrtcreadyyet.com/

To start with WebRTC on iOS, you may explore this demo https://github.com/ISBX/apprtc-ios. It't not exactly the same as you're looking for. The demo app achieves video chat. But it should be trivial to get image

  • 2
    @JoeMiller "the essential parts of the answer" is "Safari does not support WebRTC yet." –  Apr 12 '16 at 09:46
  • @JoeMiller - Joe did include the essential parts of the link provided, 'Safari does not support WebRTC yet', and provided the link as the source of his claim. This is not a 'link-only answer'. – TheCarver Jun 08 '16 at 19:25