title: How to use getUserMedia in Chrome for iOS
body: <p>I am developing a simple application, in this I am trying to access camera and microphone using <code>getUserMedia</code>. Its working fine for me in desktop Chrome and Android Chrome but it's not working in iPhone and iPad Chrome. </p>
  
  <pre><code>navigator.getUserMedia = navigator.getUserMedia
          || navigator.webkitGetUserMedia || navigator.mozGetUserMedia || navigator.msGetUserMedia;
  var constraints = "";
  if (mediaType === "audio,video") {
      constraints = {
          audio : true,
          video : true
      };
  } else {
      constraints = {
          audio : true,
          video : false
      };
  }
  navigator.getUserMedia(constraints, successCallback, errorCallback);
  </code></pre>