const audioCtx = new window.AudioContext();
let options = {
mediaStream: stream,
};
let source = new MediaStreamAudioSourceNode(audioCtx, options);
console.log(source.mediaStream);MediaStreamAudioSourceNode: mediaStream property
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.