Javascript: Does <audio>.captureStream() work without play()?

In the browser, I want to capture the stream of an audio tag that has an .mp3 as source, then send it live via WebRTC to the server. I don’t want to hear it via the speakers.

Is it possible to call audioElement.play() without having speaker output?

200 thoughts on “Javascript: Does <audio>.captureStream() work without play()?”

Leave a Comment