title: WebRTC getUserMedia promise api support in Chrome
body: <p>Does chrome support promise based APIs for WebRTC? I am not able to get the getUserMedia() promised based API working in Chrome.</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
      &lt;head&gt;
          &lt;title&gt; Mitel WebRTC client &lt;/title&gt;
          &lt;script src="https://webrtc.github.io/adapter/adapter-latest.js"&gt;&lt;/script&gt;
          &lt;script src='dist/webrtc.min.js'&gt;&lt;/script&gt;
  
          &lt;script type="text/javascript"&gt;
              function startUp() {
  
                  var options = {
                      audio: true,
                      video: true
                  };
                  if (getUserMedia) {
                      getUserMedia(options)
                      .then(function (stream) {
                          console.log("Acquired audio and video!");
                      })
                      .catch(function (err) {
                          console.log(err.name + ": " + err.message);
                      });
                  } else {
                      alert("WebRTC not supported on this browser");
                  }
              }
          &lt;/script&gt;
      &lt;/head&gt;
  
      &lt;body onload="startUp();"&gt;
          &lt;h1&gt;WebRTC Promise API Client Application&lt;/h1&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>On the console, I see the following error</p>
  
  <pre><code>This appears to be Chrome
  adapter-latest.js:32 chrome: {"audio":true,"video":true}
  adapter-latest.js:410 Uncaught TypeError: Failed to execute 'webkitGetUserMedia' on 'Navigator': The callback provided as parameter 2 is not a function.
  </code></pre>
  
  <p>I want to make use of promise based API. Am I missing something?</p>