title: How to deal with the media stream I get from "chrome.tabCapture"?
body: <p>I am now testing the new chrome API "chrome.tabCapture". It returns the local media stream, but what can I do with the media stream? Can it be turned into one kind of video type or directly be played.</p>
  
  <pre><code>var obj = {
      audio: false,
      video: true
  
  };
  chrome.tabCapture.capture(obj, function (stream) {
  // what to do with the stream?  
  });
  </code></pre>
  
  <p>I have tried <code>var url = window.URL.createObjectURL(stream); video.src = url;</code> but it doesn't work.</p>