title: Is it possible to add a stream as source to an html canvas element as to a html video element?
body: <p>According to MDN:</p>
  
  <blockquote>
    <p>The <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement" rel="noreferrer"><code>HTMLMediaElement</code></a> interface adds to <code>HTMLElement</code> the properties
    and methods needed to support basic media-related capabilities that
    are common to audio and video.</p>
  </blockquote>
  
  <p><a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/captureStream" rel="noreferrer"><code>HTMLMediaElement.captureStream()</code></a>. It can be used with both <code>&lt;video&gt;</code> and <code>&lt;canvas&gt;</code> elements to capture their stream.</p>
  
  <p>Conversely, one can add a <strong>video stream</strong> as <code>srcObject</code> to a <code>&lt;video&gt;</code> element, then it shows it. Is it possible for <code>&lt;canvas&gt;</code> element too?</p>
  
  <p>Is it possible to <strong>add a stream</strong> as <strong>source</strong> to an html <code>&lt;canvas&gt;</code> element?</p>