title: How can I play a JavaScript audio only getUserMedia stream to the user agent?
body: <p>I can't figure out how to get an audio only stream (from navigator.mediaDevices.getUserMedia) into a real, working audio playback for my users. I would prefer to do everything in native JavaScript (no HTML) but libraries are fine. So, what would I use? Would I just execute</p>
  
  <pre><code>new Audio(stream);
  </code></pre>
  
  <p>or would that be not what I want? Very confused, seems like I'm making a simple mistake. I know how to do it with video! Again, prefer audio JS or audio elements only, in this use case we can't show a video in a good place. Stream will always come in audio only due to our constraints. Thanks for trying to help!</p>