4
votes

I am attemping to access the microphone on iOS in order to capture user input.

<input type="file" accept="audio/*;capture=microphone">

But whenever I click this I see the options (take photo or video, photo library)

How can I access the microphone only?

1
That's an old syntax, you should use <input type="file" name="video" accept="audio/*" capture> . See Correct Syntax for HTML Media Capture. - Octavian Naicu

1 Answers

2
votes

As of IOS 8.3, it's not supported by Safari.

http://caniuse.com/#search=getusermedia