I'm trying to implement access to the microphone in Javascript, in a webpage,
using both navigator.getUserMedia({audio: true}) or navigator.mediaDevices.getUserMedia({audio:true})
(and implementing a check for vendor prefixes:
navigator.getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia || navigator.msGetUserMedia; )
which is called in response to a click event of a button on the page
doesn't seem to work in IOS Safari. (Works ok in desktop Chrome).
However, these guys here seem to get it working - it works on Safari on my iPhone.
What are they doing different?