title: navigator.mediaDevices.getUserMedia not working while navigator.getUserMedia() works
body: <p>I know there are several posts on this, but my question is different.</p>
  
  <p>Following the <a href="https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia" rel="nofollow noreferrer">Mozilla developer guide for getUserMedia</a>, I can see that using: <code>navigator.getUserMedia()</code> is deprecated:</p>
  
  <blockquote>
    <p>New code should use Navigator.mediaDevices.getUserMedia() instead.</p>
  </blockquote>
  
  <p>However, using Chrome (current version 57), <code>navigator.getUserMedia()</code> works great, while using <code>navigator.mediaDevices.getUserMedia()</code> throws an error:</p>
  
  <blockquote>
    <p>navigator.mediaDevices.getUserMedia(...) is not a function</p>
  </blockquote>
  
  <p>I am using HTTPS with Chrome.</p>
  
  <p>Is it really deprecated? Am I missing something?</p>