sets up a stream from the audio context

PHOTO EMBED

Mon May 30 2022 22:36:03 GMT+0000 (Coordinated Universal Time)

Saved by @Polly #webapi

destinationStream = audionContext.createMediaStreamDestination()
recording = new MediaRecorder(destinationStream.stream)
recording.ondataavailable = e => chunks.push(e.data) // apply anylser to data
content_copyCOPY

alternative to capturing stream from getUserMedia( ) can send the stream to Remote for processing