title: Javascript function navigator.getUserMedia is undefined in Safari 5?
body: <p>I'm using Safari v5.1.7 on Windows 7 <br>
  I want to use the javascript function: <a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator.getUserMedia" rel="nofollow">navigator.getUserMedia</a>; to use media devices <br>such as a camera or microphone for audio, <br>The problem is that <a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator.getUserMedia" rel="nofollow">navigator.getUserMedia</a> is always <code>undefined</code> <br></p>
  
  <p>Here's my code:</p>
  
  <pre><code>navigator.getUserMedia (
      {audio: true}, 
      function(stream) {console.log('Stream: ' + e);}, 
      function(error)  {console.log('Error: '  + e);}
  );
  </code></pre>
  
  <p>I also tried the following code, and it's also <code>undefined</code>:</p>
  
  <pre><code>navigator.getMedia = ( navigator.getUserMedia       ||
                         navigator.webkitGetUserMedia ||
                         navigator.mozGetUserMedia    ||
                         navigator.msGetUserMedia );    
  navigator.getMedia (
      {audio: true}, 
      function(stream) {console.log('Stream: ' + e);}, 
      function(error)  {console.log('Error: '  + e);}
  );
  </code></pre>
  
  <p><strong>How to solve this ? <br>
  Or what is its equivalent if this function isn't provided in Safari ?</strong></p>