WebRTC samples getUserMedia, audio only (original) (raw)
Warning: if you're not using headphones, pressing play will cause feedback.
Render the audio stream from an audio-only getUserMedia()
call with an audio element.
The MediaStream
object _stream_
passed to the getUserMedia()
callback is in global scope, so you can inspect it from the console.