title: Creating MediaStream Object in Chrome?
body: <p>As far as I know the MediaStream object is return from getUserMedia but is there a way to create a MediaStream object from a local .mp4 or .webm file? (or any other hack-ish way)</p>
  
  <p>Looking into this to in an attempt to automate some testing that's pretty specific to need this. </p>
  
  <p>Edit: This is Chrome specific. There's currently a canvas operation in Firefox that does what I would need but it's not on Chrome (yet?)</p>
  
  <p>Edit 2: This is what is used for Firefox 
  <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/captureStream" rel="nofollow">https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/captureStream</a></p>
  
  <p>Is there anything equivalent for Chrome? or is there really no way to re-create a MediaSteam object some other way . . . </p>
  
  <p>Right now the only thing I can think of is to use this on Firefox for a webrtc peerconnection to send it over to a chrome peerconnection and hope that stream received is valid. </p>