title: Get a stream of bytes from navigator.mediaDevices.getUserMedia()?
body: <p>I am aware of how to retrieve eg. a video stream from a webcam source:</p>
  
  <pre><code>const constraints = { video: true };
  
  navigator.mediaDevices
  
      .getUserMedia(constraints)
  
      .then(mediaStream =&gt; {
  
          // ** But how to get the a stream of bytes from here??? **
  
      });
  </code></pre>
  
  <p>I could not find any proper documentation of how to retrieve a stream of bytes from the mediaStream object.</p>
  
  <p>How to do this?
  Because, lets say I want to stream the bytes to the server.</p>