title: Unable to get property 'enumerateDevices' of undefined or null reference
body: <p>I'm using <code>enumerateDevices</code> (<a href="https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/enumerateDevices" rel="nofollow noreferrer">See reference here</a>) to get the user's camera and microphones list.</p>
  
  <p>This code works great on Chrome:</p>
  
  <pre><code>$(document).ready(function(){
      navigator.mediaDevices.enumerateDevices()
      .then(gotDevices)
  });
  </code></pre>
  
  <p>But since it's unsupported on IE, it throws an error:</p>
  
  <blockquote>
    <p>Unable to get property 'enumerateDevices' of undefined or null reference</p>
  </blockquote>
  
  <p><strong>My question:</strong> Is there any alternative I can use that works across all browsers?</p>